This tag is for questions on multiple areas that are not listed. Questions asking us to recommend or find an editor are completely off topic.
I need to access current HttpContext in a static method or a utility service. With classic ASP.NET MVC and Sy
I want the example controller below to return a status code 418 with no contents. Setting the status code is e
In order to debug a .NET Core app which is failing on startup, I would like to write logs from within the star
I want to send dynamic object like new { x = 1, y = 2 }; as body of HTTP POST message. So I try to write v
I have gone through configuration documentation on ASP.NET core. Documentation says you can access configurati
Problem I want to return a file in my ASP.Net Web API Controller, but all my approaches return the HttpRespon
I'm building a .NET Core MVC on the latest version 2.2. I have a problem when I make changes to the CSHTM
I'm working with ASP.NET Core application. I'm trying to implement Token Based Authentication but ca
I've just upgraded my ASP web API project from .Net core 2.0 to 3.0. I was using services.AddMvc(
I want to get the current user, so I can access fields like their email address. But I can't do that in a
I cloned the ASP.NET Core SignalR Repo locally, and try opening the solution from within the following environ
This is my controller: public class BlogController : Controller { private IDAO<Blog> _blogDAO;
Reading these two questions/answers I was able to run an Asp.net 5 app on IIS 8.5 server. Asp.net vNext early
I'm using this MSDN Tutorial to run in VS2015 the command PM> Add-Migration MyFirstMigration -context
How can I set the base path in ConfigurationBuilder in Core 2.0. I have googled and found this question, thi
I started to convert my asp.net core RC1 project to RC2 and faced with problem that now IHttpContextAccessordo
I'm looking for the correct way to return JSON with a HTTP status code in my .NET Core Web API controller
I feel like I'm missing something really obvious here. I have classes that require injecting of options u
I had an Asp.Net core 2.2 project. Recently, I changed the version from .net core 2.2 to .net core 3.0 Previ
What is the kestrel web server and how does it relate to IIS / IIS Express? I come from developing apps on II