I have a project with .NET Core 2.1 Razor Pages. It was built using the authentication option in the new project UI. So, when I type the URL and hit e ...
I have a project with .NET Core 2.1 Razor Pages. It was built using the authentication option in the new project UI. So, when I type the URL and hit e ...
I need to do an Azure .NET Profiler Trace on my .NET Core 2.1.1 web app. Azure provides the following instructions on how to do this: Ensure that ...
I have migrated my project ASP.NET Core 2.1 to .NET6, but some of my LINQ Query do not work properly and give the below error: System.InvalidOpera ...
I have migrated my project from asp.net core 2.1 to .NET 6, and now I am facing an error with context.Resource as AuthorizationFilterContext which is ...
I have developed an ASP.NET MVC Core 2.1 Project, and Now I want to Upgrade it to ASP.NET MVC Core 6, So I have posted here my existing Startup Code, ...
I want to upgrate my project from asp.net core 2.1 to asp.net core 3.1, I have changed the SDK to 3.1 like the below code, but I did not know what to ...
I have upgraded my asp.net core 2.1 application to asp.net core 3.1, but when I run the project I got this error OptionsValidationException: Cookie. E ...
I've added identity and authentication to an already existing API that was written in .net core 2.1. There is for sure something funky going on as I ...
I am trying to invoke a stored procedure from my C# asp.net core 2.1 using the following code. But getting the error as shown below. What is wrong wit ...
I don't know how to put var Customer into CustomerList property. I'm already using CustomerList = CustomerData; but I got error 'CustomerList' is ...
In my .Net Core 2.1 application, controllers are defined as I need to deny access for all users to any route that matches the pattern v1/api/op ...
See Routing to controller actions in ASP.NET Core This doc page can be switched to 2.1. It shows attribute routing instructions. But, methods like a ...
I'm facing a strange bug, where .NET Core 2.1 API seems to ignore a JSON body on certain cases. I advised many other questions (e.g this one, whic ...
Using HttpClient to perform a PATCH method request is getting an bad request error Model Getting 400 with bad request Postman also show an 50 ...
In my case the user may be in multiple roles, for example user may be Admin and SysAdmin. In admin role he has a claim ("Employee.Add", "Allow"), and ...
I've created a retry policy on my HttpClient in the Startup.ConfigureServices method. Note also that by default, asp.net core 2.1 logs 4 [Information] ...
I got this trouble when rewrite my service to .net5. I check password hash, and it not equal with hash in DB. For example, I wrote small console progr ...
Does anyone know what is the latest version of Stimulsoft Reports that is compatible with ASP.NET CORE 2.1? Can anyone please provide a download link ...
I have a LINQ query that makes string search within a few tables. The query however is painfully slow on big tables. At my first attempt, I was gettin ...
When sending a request model to Net Core API from Angular app, it changes the floating point variable's value. Here is the request body sent from Ang ...