Skip to main content

Questions tagged [asp.net-core-3.1]

Use this tag for questions specifically related to ASP.NET Core 3.1, in addition to using the 'ASP.NET Core' tag.

asp.net-core-3.1
0 votes
0 answers
38 views

Why does a Http Post Request get Queued in IIS Occasionally

I have an ASP.NET Core web application hosted in IIS. This is meant to service clients with certain inventory and online booking. The requests come from a connector application (also designed in .NET ...
Venugopal M's user avatar
  • 2,354
-1 votes
1 answer
70 views

ASP.NET Core app running on IIS gives Http Error 401.2-Unauthorize

I have an ASP.NET Core MVC application where I implemented Azure AD authentication. I'm using .NET Core 3.1. I'm pretty sure the Azure AD part is properly implemented as it runs well in Visual Studio. ...
Aashita's user avatar
0 votes
0 answers
57 views

.NET8 vs .NET Core 3.1 compatibility

Is it ok to create a test project in .NET 8 for an application that targets .NET Core 3.1? If no, should both be 3.1? I have an existing application that targets .NET Core 3.1 and now want to add ...
Davia's user avatar
  • 109
-1 votes
1 answer
38 views

How can I watch a package called ITFoxTec and figure out how it's being called?

I am using a wonderfully clean and simple .Net SAML package called ITFoxTec. It works great, but my problem is, I have no idea how it's working. When I added the library to my project, I added the ...
SkyeBoniwell's user avatar
  • 6,935
0 votes
0 answers
19 views

Visual Studio cannot find angular modules anymore After upgrading to a latest version. How to resolve this issue?

I recently upgraded my Visual Studio Community v17.6 to v17.9 and the visual studio is giving me error messages like this Cannot find module '@angular/core'. Did you mean to set the 'moduleResolution' ...
Ashane Alvis's user avatar
0 votes
1 answer
63 views

Azure Active Directory multi scheme authentication ASP.NET Core 3.1

I am using net core and I have my login system with Microsoft.AspNetCore.Identity and I need to add Azure Active Directory, but I can't connect it correctly. I have this code in my ConfigureServices():...
Lucas's user avatar
  • 3
0 votes
0 answers
64 views

SyncFuntion EJ2 PDF Viewer for loading and rendering ASP.NET Core 3.1 MVC

I need assistance with fixing an issue in my ASP.NET Core 3.1 MVC web application. I'm attempting to render a PDF from the server-side using PdfViewer. However, when I run the project, the PDF viewer ...
Tuan Anh Nguyen's user avatar
1 vote
0 answers
70 views

How to mock a WebSocket connection using WireMock.Net in .NET Core (c#)

We are using WireMock.net to configure a http server against which we are running integration tests. Our app supports websocket connection and we need to write tests to cover this functionality. Do ...
TejSoft's user avatar
  • 3,305
0 votes
0 answers
51 views

How to inject the DBContext of Entity Framework Core to AutoFac

We have a requirement to use the Db2 database using .NET Core, for which how to inject the Db2 DBContext of Entity Framework Core to AutoFac? Is the repository pattern good? Or do I need to develop a ...
KingRaja's user avatar
  • 184
0 votes
2 answers
90 views

How to serialize all exceptions to JSON in ASP.NET Core 3.1

This is how I did in ASP.NET Core 2.1 var jsonExceptionMiddleware = new JsonExceptionMiddleware( app.ApplicationServices.GetRequiredService<IHostingEnvironment>()); Any assistance will be ...
Korir Cornelius's user avatar
0 votes
0 answers
53 views

System.Net.Sockets.SocketException exceptions with "Operation canceled" message in trace files when running an ASP.NET Core 3.1 web application

We have an ASP.NET Core 3.1 web application that is running inside a linux machine and the application is load balanced via GCP Load balancer. Occasionally the dotnet process reaches to 100% CPU and ...
NeverEndingLearner's user avatar
0 votes
1 answer
45 views

While resolving: [email protected] npm ERR! Found: [email protected] npm ERR! node_modules/react npm ERR! peer react@"^16.8.0

Im getting below error while installing npm packages for react. My package json file i tried running below command to overcome the issue but still got npm packages error.
Sivasai S's user avatar
0 votes
0 answers
46 views

Hangfire cron job does not execute at a specific time

I have a cron job using Hangfire in an ASP.NET Core Web API. From my dashboard, I can see that the next job execution time is correct, but in real life, it runs after that time. Here is my code snap ...
Mahedi Hasan Niloy's user avatar
0 votes
1 answer
34 views

Why would a Post from Postman to MVC6 webapp running under localhost work, but not to the same app deployed on IIS10 server

I have a controller method, which I can Post to (from Postman) when I run as localhost, but when deployed onto an IIS10 server, the Post fails. i.e. The model sent is correct as is the url public ...
Neal Rogers's user avatar
1 vote
1 answer
2k views

DefaultAzureCredential failed to retrieve a token from the included credentials while trying to get access token using Managed Identity

I have a user assigned managed identity provisioned at Azure AD level. There is Azure AD protected REST API with AppRole: CustomRole. Managed identity has been assigned with the permission: ...
santosh kumar patro's user avatar

15 30 50 per page
1
2 3 4 5
186