Top "Asp.net-mvc-4" questions

ASP.

The view or its master was not found or no view engine supports the searched locations

Error like:The view 'LoginRegister' or its master was not found or no view engine supports the searched locations. The …

asp.net-mvc-4
Could not load file or assembly 'System.Net.Http, Version=2.0.0.0 in MVC4 Web API

I have a bit of a weird problem. I developed an app with MVC 4 and the new Web API and …

asp.net asp.net-mvc-4 asp.net-web-api
How can I change IIS Express port for a site

I want to change the port number on which my website runs while debugging from Visual Studio. I am using …

c# asp.net-mvc asp.net-mvc-4 visual-studio-2012 iis-express
How to set Default Controller in asp.net MVC 4 & MVC 5

How do I set Default Controller for my ASP.NET MVC 4 project without making it HomeController? How should I setup …

c# asp.net asp.net-mvc asp.net-mvc-4 asp.net-mvc-5
Could not load file or assembly System.Net.Http, Version=4.0.0.0 with ASP.NET (MVC 4) Web API OData Prerelease

Problem After installing the Microsoft ASP.NET Web API OData package 5.0.0-rc1 prerelease I end up with the following exception: …

asp.net-mvc-4 asp.net-web-api odata assembly-resolution
Pass data to layout that are common to all pages

I have a website which have a layout page. However this layout page have data which all pages model must …

asp.net-mvc-4
How to add a second css class with a conditional value in razor MVC 4

While Microsoft has created some automagic rendering of html attributes in razor MVC4, it took me quite some time to …

razor asp.net-mvc-4 html
The controller for path was not found or does not implement IController

I have an MVC4 project with language selection: en nl fr de 1 main part with: About Common (for the menu) …

c# asp.net-mvc-4 asp.net-mvc-areas
ASP.NET MVC 4 Custom Authorize Attribute with Permission Codes (without roles)

I need to control the access to views based on users privilege levels (there are no roles, only privilege levels …

asp.net-mvc-4 authorization custom-attributes
ASP.NET Bundles how to disable minification

I have debug="true" in both my web.config(s), and I just don't want my bundles minified, but nothing …

asp.net asp.net-mvc asp.net-mvc-4 bundle asp.net-optimization