The term “Add-Migration” is not recognized
I’m using this MSDN Tutorial to run in VS2015 the command PM> Add-Migration MyFirstMigration -context BloggingContext that ran yesterday successfully but today it’s … Read more
I’m using this MSDN Tutorial to run in VS2015 the command PM> Add-Migration MyFirstMigration -context BloggingContext that ran yesterday successfully but today it’s … Read more
What is the kestrel web server and how does it relate to IIS / IIS Express? I come from developing apps on IIS … Read more
In VS 2017, I created a new ASP.NET Core Web Application. On the second page of the wizard, I chose Web Application, and … Read more
I feel like I’m missing something really obvious here. I have classes that require injecting of options using the .NET Core IOptions pattern(?). … Read more
I had an Asp.Net core 2.2 project. Recently, I changed the version from .net core 2.2 to .net core 3.0 Preview 8. After … Read more
I’m building one RESTful API using ASP.NET Core MVC and I want to use querystring parameters to specify filtering and paging on a … Read more
What exactly is the difference between .NET Core and ASP.NET Core? Are they mutually exclusive? I heard ASP.NET Core is built on .NET … Read more
This question already has answers here: Access the current HttpContext in ASP.NET Core (7 answers) Closed 5 years ago. We are currently rewriting/converting … Read more
I am trying to enable cross origin resources sharing on my ASP.NET Core Web API, but I am stuck. The EnableCors attribute accepts … Read more
Back in RC1, I would do this: [HttpPost] public IActionResult Post([FromBody]string something) { try{ // … } catch(Exception e) { return new HttpStatusCodeResult((int)HttpStatusCode.InternalServerError); … Read more