How to change the output folder for migrations with asp.net Core?
Does anyone know how to change the output directory of the following command?
Does anyone know how to change the output directory of the following command?
How to get absolute path in ASP net core alternative way for Server.MapPath
I had the following error in package manager console when Add-Migration
I’m trying to make a simple API call from a .NET Core MVC application:
I’m trying to figure out what an “ASP.NET 5 Class Library” (vNext) C# project has to do with ASP.NET. Why create a project with this template rather than just a regular C# “Class Library” project?
First of all, I’m trying to seed my database with sample data. I have read that this is the way to do it (in Startup.Configure) (please, see ASP.NET Core RC2 Seed Database)
Here is my custom request culture provider which returns “en” as a default culture if no culture specified in url (for example http://sypalo.com/ru or http://sypalo.com/en).
My idea to show website on that language which is default in user’s browser, so I’m looking a way how to determine it and return it instead of: return Task.FromResult(new ProviderCultureResult(“en”, “en”));
I’ve just published my site in my server, but when I type in the browser www.mysite.com I get this error : HTTP Error 403.14 – Forbidden The Web server is configured to not list the contents of this directory.However if I type www.mysite.com/Home.aspx it loads correctly. So, how can I set the default page?? I … Read more
I have an Asp.Net Core app with Entity Framework Core that I initialize as follows:
By default when you enable swagger in ASP.NET Core project it’s available on url: