Top "Asp.net-mvc-5" questions

ASP.

How to get JSON object from Razor Model object in javascript

In viewmodel object, below is the property: public IList<CollegeInformationDTO> CollegeInformationlist { get; set; } In VIEW, javascript is as …

javascript asp.net json asp.net-mvc asp.net-mvc-5
Visual Studio 2013 IntelliSense stops working for ASP.NET MVC5 Controllers

I am facing a weird problem in my Visual Studio 2013 ASP.NET MVC 5 project. All of a sudden, the IntelliSense …

visual-studio-2013 intellisense asp.net-mvc-5
Updating user data - ASP.NET Identity

I've added custom fields to the ApplicationUser class I've also created a form through which the user can enter/edit …

asp.net-mvc asp.net-mvc-5 asp.net-identity
How to add Web API to an existing ASP.NET MVC (5) Web Application project?

Assuming you forgot to tick the Web API checkbox (add it to the project) when making a new MVC (5) project, …

c# asp.net asp.net-mvc asp.net-web-api asp.net-mvc-5
mvc 5 session timeout after default period (20 mins)

My MVC 5 site has web.config like this: <authentication mode="Forms"> <forms name=".ADAuthCookie" loginUrl="~/Account/Login" …

asp.net-mvc session-variables asp.net-mvc-5
Access Claim values in controller in MVC 5

I have used OWIN authentication in my application. Login Action var claims = new List<Claim>(); claims.Add(new …

c# asp.net asp.net-mvc asp.net-mvc-5 claims
Unauthorised webapi call returning login page rather than 401

How do I configure my mvc/webapi project so that a webapi method called from a razor view doesn't return …

c# asp.net-web-api asp.net-mvc-5 asp.net-identity owin
"There was an error running the selected code generator" in VS 2013 scaffolding

I'm creating a new view off of a model. The error message I am getting is Error There was an …

c# visual-studio-2013 asp.net-mvc-5 asp.net-mvc-scaffolding
How does @Html.BeginForm() work? and search result in Microsoft ASP.Net MVC 5 tutorial?

I am working on MVC 5 Asp.Net and following this tutorial. I am wondering how the heck does this fetch …

asp.net asp.net-mvc asp.net-mvc-5
ASP.NET Identity change password

I need ability to change password for user by admin. So, admin should not enter a current password of user, …

c# asp.net-mvc-5 asp.net-identity-2 reset-password