Top "Asp.net-core-mvc" questions

ASP.

Read environment variables in ASP.NET Core

Running my ASP.NET Core application using DNX, I was able to set environment variables from the command line and …

asp.net asp.net-core asp.net-core-mvc kestrel-http-server
How to upload files in asp.net core?

How to upload files or images using Asp.net MVC 6 with some model data? Example, I have a form like …

c# file-upload asp.net-core-mvc image-manipulation
500 Error when setting up Swagger in asp .net CORE / MVC 6 app

I'm trying to setup a basic swagger API doc in a new asp .net CORE / MVC 6 project and receiving a 500 …

asp.net-core-mvc swashbuckle
URL Encode and Decode in ASP.NET Core

HttpContext.Current.Server.UrlEncode It's only work in .NET Framework. How can I encode or decode uri arguments in ASP.…

c# asp.net-core asp.net-core-mvc
IIS fails to run ASP.NET Core site - HTTP Error 502.5

We have a Windows 2012 R2 machine. I had an existing ASP.NET Core site on it that had a working …

asp.net-core asp.net-core-mvc
How can I get the baseurl of my site in ASP.NET Core?

Say my website is hosted in the mywebsite folder of www.example.com and I visit https://www.example.com/…

asp.net asp.net-core asp.net-core-mvc
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 I have tried to use IHostingEnvironment …

c# asp.net asp.net-core .net-core asp.net-core-mvc
How to add link parameter to asp tag helpers in ASP.NET Core MVC

I have a lot of experience with ASP.NET MVC 1-5. Now I learn ASP.NET Core MVC and have …

c# asp.net-core asp.net-core-mvc url-parameters tag-helpers
How to get user Browser name ( user-agent ) in Asp.net Core?

Can you please let me know how to get the browser's name that the client is using in MVC 6, ASP.…

c# asp.net-core asp.net-core-mvc
Returning a 404 from an explicitly typed ASP.NET Core API controller (not IActionResult)

ASP.NET Core API controllers typically return explicit types (and do so by default if you create a new project), …

c# asp.net-core asp.net-core-mvc http-status-code-404 asp.net-core-webapi