Use this tag for questions specifically related to ASP.
json serializer settings for legacy asp.net core applications were set by adding AddMvc().AddJsonOptions(), but I don't use AddMvc() …
c# json asp.net-core .net-core asp.net-core-3.0I want to test the new Blazor server-side framework (aka Razor Components). I installed Visual Studio 2019 RC, and then the .…
asp.net-core .net-core visual-studio-2019 .net-core-3.0 asp.net-core-3.0I've just upgraded my ASP web API project from .Net core 2.0 to 3.0. I was using services.AddMvc() .AddJsonOptions(options =>…
c# asp.net asp.net-core json.net asp.net-core-3.0I updated my ASP.NET Core project to .NET Core v3.0.0-preview3, and I now get: Startup.cs(75,50,75,69): warning CS0618: …
asp.net-core .net-core asp.net-core-3.0I have migrated our application from .NET Core 2.2 to version 3.0. Actually I created the new application in 3.0 from scratch and …
asp.net-core-3.0Using [FromBody] string content on an ApiController in ASP.NET Core 3.0 returns a validation error: {"type": "https://tools.ietf.org/…
c# json asp.net-core asp.net-core-mvc asp.net-core-3.0According to the documentation, Razor views should, by default, recompile on change on local environments for ASP.NET Core 3.0. However, …
c# asp.net-core razor-pages asp.net-core-3.0I'm using netstandard2.1 library in my netcoreapp3.0 web application. When adding my service in Startup, I'm getting the below error: …
c# json.net asp.net-core-mvc asp.net-core-3.0 .net-standard-2.1I upgraded an existing 2.2 project to 3.0. I copied the new code for Program/Startup from a new 3.0 project to my …
asp.net-core asp.net-core-3.0I upgraded an existing ASP.NET Core 2.2 project to 3.0. I have a method that returns JSON which worked in 2.2, but …
asp.net-core asp.net-core-3.0