Top "Asp.net-mvc-5" questions

ASP.

MVC ViewModel example

I've been doing tutorials and trying to learn best practice when it comes to MVC development. The design I'm using …

c# asp.net-mvc-5 controllers asp.net-mvc-viewmodel
'Ajax' does not exist in the namespace 'System.Web.Mvc'

I'm new to ASP.NET MVC 5 and I wanted to build a small project to figure some things out. When …

ajax asp.net-mvc asp.net-mvc-5
EPPlus: how can I assign border around each cell after I apply LoadFromCollection?

In my export ActionResult I was able to load the model into my ExcelPackage. Where I am having trouble is …

c# asp.net-mvc-5 epplus
Scaffolding controller doesn't work with visual studio 2013 update 2

PROBLEM: I have updated to Visual Studio 2013 update 2 and now I cannot scaffold controllers. The problem is not project specific: …

visual-studio-2013 asp.net-mvc-5 asp.net-mvc-scaffolding
What / why is Roslyn "needed" in /bin folder of Asp.Net

There are a bunch of related questions on this, though most of the answers define Roslyn and/or provide a "…

asp.net-web-api asp.net-mvc-5 roslyn
MVC5, Web API 2 and Ninject

I have created a new MVC5 project with Web API 2, I then added the Ninject.MVC3 package from NuGet. Constructor …

asp.net-web-api ninject asp.net-mvc-5
MVC5 Claims version of the Authorize attribute

I'm trying out some of the new stuff in VS2013 RC with MVC5 and the new OWIN authentication middleware. So, …

asp.net-mvc asp.net-mvc-5 claims
How to create a user and get the newly created ID with ASP.NET Identity

I am new to the ASP.NET Identity framework and am trying to do some things that I used to …

c# asp.net asp.net-mvc-5 asp.net-identity
What is the advantage of using async with MVC5?

What is the difference between: public ActionResult Login(LoginViewModel model, string returnUrl) { if (ModelState.IsValid) { IdentityResult result = IdentityManager.Authentication.CheckPasswordAndSignIn(…

asp.net-mvc task-parallel-library async-await asp.net-mvc-5 asp.net-identity
Getting controller name from razor

I seem to be having a difficult getting something that should be easy. From within my view, using Razor, I'd …

c# asp.net-mvc razor asp.net-mvc-5