Questions tagged .net-core

Explore the latest questions and answers asked by our top developers.

Deploying Web API and Angular

I have two azure deployed urls for web api and angular. Can i have one single URL that deploys both URLs in one. Thanks in advance Source: Angular Questions

By dotnetdjango
Published
Categorized as .net-core, angular, azure Tagged , ,

Angular app Http Parsing Error on Production

I have angular and dotnet core template app in same directory. I have to upload build on azure server but I’m getting this error. Please guide me how I can fix this problem. ERROR Error: Uncaught (in promise): TR: {"headers":{"normalizedNames":{},"lazyUpdate":null},"status":200,"statusText":"OK","url":"https://admin-dev.xperters.com/api/jobs/getJobs","ok":false,"name":"HttpErrorResponse","message":"Http failure during parsing for https://admin-dev.xperters.com/api/jobs/getJobs","error":{"error":{},"text":"<!DOCTYPE html><html lang="en"><head>n <meta charset="utf-8">n <title>Xperters</title>n <base href="/">n <meta name="viewport" content="width=device-width, […]

Update from .NET 3.1 to .NET 5,app not working as before

I recently migrated an Angular 12 +.NET Core 3.1 app to Net 5, I’ve changed target framework from 3.1 to 5, updated all packages to v5, no changes in code (front or back). On Vps I’ve uninstalled net core hosting bundle 3.1 and installed v5+restart. Since the upgrade some users complain that they can’t use […]

By mrapi
Published
Categorized as .net-5, .net-core, angular, angular12 Tagged , , ,

Azure AD Msal Interceptor

I’m using azure MSAL to authenticate my API but problem is that I’m using DevExtreme custom store for server side pagination. Msal Interceptor works and genrate token auto for HttpClient but in this case I’m not sending request via http. If I’m using access token that I get after login then error occur Invalid signature […]

Azure AD Msal Interceptor Access Token

I’m using azure MSAL to authenticate my API but problem is that I’m using DevExtreme custom store for server side pagination. Msal Interceptor works and genrate token auto for HttpClient but in this case I’m not sending request via http. If I’m using access token that I get after login then error occur Invalid signature […]

Azure Active Directory Login with dotnet template with angular

I’m new here and I’m stuck in problem while implementing angular-auth-oidc-client for azure active directory login in app. I get my token but when I authorize this token on swagger this not authenticating and getting error Here are some images of my result and swagger. Please get back to me what’s wrong with my API. […]

Angular 12 – Decimal.Parse does not return a decimal with a point/dot/period

So I have been working with C# in an Angular 12 application and I want decimals to have a point/period/dot instead of a comma. I have tried doing this with Decimal.Parse("100.5", CultureInfo.InvariantCulture);, Decimal.Parse with other cultures, Decimal.Parse("100.5", NumberStyles.AllowDecimalPoint); and Decimal.Parse("100.5", new NumberFormatInfo { NumberDecimalSeparator = "." }); but the parse method still returns the decimal […]

By FourZeroFour
Published
Categorized as .net-core, angular, c# Tagged , ,

Angular using local AD (Active Directory) so we get the user in the C# Web API Side

I want to get our internal AD username with the .net core web API, so we can use this for change tracking. This actually works when I make a swagger request, but when I make the same request via the Angular 12 app I get a 401 (Unauthorized) I used the following approach I found […]

By Andrew
Published
Categorized as .net-core, active-directory, angular, c# Tagged , , ,

angular how to upload image and retrieve image as string in edit mode?

I am learning building application using angular and asp.net core using these videos on this link on VSCode. Everything works fine except the edit of a a component with image. The tutorial creates two interfaces(two models) – one for retrieving image as string, other for creating an image by uploading it. When I run the […]

Post Error From Angular to Net Core HTTP 404

I hope you are all good. I’m creating a fullstack web software and i’m using Angular,Net Core and Mssql…My web api is ready and if i use Postman,there is not any problem. I can list all products at my Bootstrap table on WebPage. But if send informations from Angular(angular form), it gives an error. "The […]

1 2 3 23

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq