Well after publishing the program on IIS, we have this error HTTP Error 500.30 - ASP.NET Core app failed to start Common solutions to this issue: The app failed
I am trying to use [FromQuery] in my web api and I am not sure how to use it. Here's the GetAllBooks() method in the controller: [HttpGet] [Route("api/v1/Sh
Our development team is scratching our heads wondering why Google App Engine latency tends to go through the roof from time to time with very little predictabil
I have an ASP.NET Core 2.0 website using the vanilla implementation for authentication/authorization using Identity and cookies (not using OpenID Connect). I ha
Currently I'm doing the following when inserting/updating and entity: public async Task<IdentityResult> UpdateAsync(Model model, CancellationToken ct = de
I'm new in backend development and Gettig 415 Unsupported Media Type in multipart API written in .net core. I have attached the postman image for your reference
I get this error while migrating from .netcore2.2 to 3.0 .I have replaced request.EnableRewind() with request.EnableBuffering and the code does not use Http.Int
I am receiving the following exception in the logs and event viewer when calling an endpoint in a .Net core application (3.1): 'MS-ASPNETCORE-TOKEN' does not m
Custom middleware breaks Developer Exeption Page. Instead of page with exception details there is HTTP 500 response. Debugging line by line runs only until awai
I have changed my Register Action Method to accept user Name instead of Email. if (ModelState.IsValid) { var user = new ApplicationUser { User
So. I created a fresh new project with Visual Studio Pro 2019 (v16.11.9) using the model ASP.NET Core with Angular. I set the authentication option to Individua
I have created a .Net Core API and I referenced a .Net framework application to it. The referenced Application connects to a data base and its connection string
.Net Core 3.0. I have a repo where IMemoryCache gets injected. Repo is registered as Transient. I would like for the cache to be cleared/reset PER request, howe
I am migrating an app done in net core from Azure to AWS. Backend is an Asp.NetCore WebApi which uses Serilog for logging. I simply put it behind a subclass of
When I attempt to run my .Net Web Application as a Windows Service, it does not start. It works if I just run the executable but mysteriously fails when attempt
I have this method to generate token: [HttpPost("login")] public async Task<IActionResult> login(UserForLoginDto userForLoginDto) {
The past few days, I have gotten a 404 error on /signin-oidc after successfully authenticated with Azure AD against my ASP.NET Core web app using the Microsoft
I have been trying to set up an ASP.NET Core + React (TypeScript) web app project in Visual Studio 2022, but couldn't succeed in doing so. There are no proper s
On an ASP.NET Core 2.0 application I need to render a partial view and pass a few parameters: @Html.Partial("Form", new { File = "file.pdf" }) On the partial
@section scripts{ <script src="https://cdnjs.cloudflare.com/ajax/libs/microsoft-signalr/6.0.1/signalr.js"></script> } I added signalR CDN