Top "Asp.net-mvc" questions

The ASP.

How to convert View Model into JSON object in ASP.NET MVC?

I am a Java developer, new to .NET. I am working on a .NET MVC2 project where I want to …

.net javascript asp.net-mvc json
How to configure the web.config to allow requests of any length

I am building a site in which i would like to create a file client side from the value of …

c# javascript asp.net-mvc web-config query-string
ASP.NET MVC - Set custom IIdentity or IPrincipal

I need to do something fairly simple: in my ASP.NET MVC application, I want to set a custom IIdentity / …

asp.net asp.net-mvc forms-authentication iprincipal iidentity
EditorFor() and html properties

Asp.Net MVC 2.0 preview builds provide helpers like Html.EditorFor(c => c.propertyname) If the property name is string, …

c# asp.net-mvc asp.net-mvc-2
Calling @Html.Partial to display a partial view belonging to a different controller

I am developing an ASP.NET MVC 3 application, whose content pages have a common pattern of layout elements. However, because …

c# asp.net asp.net-mvc razor
How to render a DateTime in a specific format in ASP.NET MVC 3?

If I have in my model class a property of type DateTime how can I render it in a specific …

asp.net asp.net-mvc asp.net-mvc-3
How to get current user, and how to use User class in MVC5?

How can I get the id of the currently logged in user in MVC 5? I tried the StackOverflow suggestions, but …

c# asp.net asp.net-mvc asp.net-mvc-5 asp.net-identity
How to cache data in a MVC application

I have read lots of information about page caching and partial page caching in a MVC application. However, I would …

asp.net-mvc database caching
System.web.mvc missing

We have an old ASP.NET MVC 3 Web Application, building in VS2010, that fails to compile, since last week's security …

c# asp.net .net asp.net-mvc