Top "Asp.net-core-mvc" questions

ASP.

Replacement for System.Web.HttpUtility.UrlEncode/UrlDecode ASP.NET 5

I would like to know if there is a replacement for System.Web.HttpUtility.UrlEncode and UrlDecode. As I found …

c# asp.net asp.net-mvc asp.net-core asp.net-core-mvc
How does javascript version (asp-append-version) work in ASP.NET Core MVC?

It seems that there is no dynamic bundling supported in the new MVC (link), and it should be done using …

c# asp.net-core asp.net-core-mvc
When to use @await Html.PartialAsync in a View in MVC 6

I noticed on one of Scott Hanselman's blogs he uses the following code in his Views when using .Net 5 (MVC 6): @…

razor asp.net-core asp.net-core-mvc
ASP.NET 5 Authorize against two or more policies

Is it possible to apply authorization against two or more policies? I am using ASP.NET 5, rc1. [Authorize(Policy = "Limited,…

c# asp.net-core authorization asp.net-core-mvc
What is the ASP.NET Core MVC equivalent to Request.RequestURI?

I found a blog post that shows how to "shim" familiar things like HttpResponseMessage back into ASP.NET Core MVC, …

c# asp.net asp.net-core-mvc
Handling exception in asp.net core?

I have asp.net core application. The implementation of configure method redirects the user to "Error" page when there is …

c# asp.net-core asp.net-core-mvc coreclr
How override ASP.NET Core Identity's password policy

By default, ASP.NET Core Identity's password policy require at least one special character, one uppercase letter, one number, ... How …

c# asp.net-core-mvc asp.net-identity asp.net-core-identity
System.Net.Http vs Microsoft.Net.Http

I am using ASP.NET Core. I want to use HttpClient but I noticed that there are two NuGet packages …

c# asp.net-core nuget asp.net-core-mvc httpclient
'HttpPostedFileBase' in Asp.Net Core 2.0

I'm recently working on a ReactJS app that's calling an API (developed with .NET Core 2.0). My question is how to …

c# asp.net-core asp.net-core-mvc asp.net-core-2.0
How to compile .less files on save in Visual Studio 2015 (preview)

Ok, so I've created a new ASP.Net 5/MVC 6 project in Visual Studio 2015 Preview. In keeping with our current method …

gruntjs less visual-studio-2015 asp.net-core asp.net-core-mvc