How to get absolute path in ASP.Net Core alternative way for Server.MapPath
How to get absolute path in ASP net core alternative way for Server.MapPath
How to get absolute path in ASP net core alternative way for Server.MapPath
With asp.net core 1.0 There are lots of functionality added. But there is not way to get Bin Folder path.
In the previous ASP.NET MVC, there was an option to redirect to the login action, if the user was not authenticated.
Sorry for a noob question, but it seems I can’t get Server.MapPath from Controller. I need to output json file list from images folder at wwwroot. They are is at wwwroot/images. How can I get a reliable wwwroot path?
I have an ASP.NET MVC 5 project which works well and it also references a .NET Framework 4.7.2 Class library which produces some CrystalReports. CrystalReports does not support .NET Core, so the class library will stay with full .NET Framework.
I tried to publish my ASP.NET Core application on Windows Server 2008 R2 but I get this error:
“An error occurred while starting the application.”
I have many controllers with many actions. Each action has it’s own Role ( Role name = ControllerName.actionName ).
I am using ASP.NET 5, MVC 6 in VS 2015. I am making a web application. On my form I have:
I am attempting to redirect to a different login url in ASP.NET MVC6