Questions tagged [asp.net-mvc]

The ASP.NET MVC Framework is a Microsoft web application framework that implements the model-view-controller (MVC) pattern.

The ASP.NET MVC Framework is a Microsoft web application framework that implements the model-view-controller (MVC) pattern. Based on ASP.NET, it allows software developers to build a Web application as a composition of three roles: Model, View and Controller.

A model represents the state of a particular aspect of the application. Frequently, a model maps to a database table with the entries in the table representing the state of the application. A controller handles interactions and updates the model to reflect a change in state of the application, and then passes information to the view. A view accepts necessary information from the controller and renders a user interface to display that.

The latest stable version - MVC 3 - is available from the Microsoft Download Center website.

Latest announcements from Microsoft usually come from Scott Guthrie's blog. Other notable blogs relating to MVC include Phil Haack and Scott Hanselman.

226 questions
0
votes
1 answer

ASP.NET Web API returns 404 for PUT only on some servers

Ok, I have been racking my brain and the internet for a solution to this. I just can't figure it out. I have written a site that uses ASP.NET MVC Web API and all working nicely until I put it on staging server. The site works fine on my local…
Greg Bacchus
  • 103
  • 3
0
votes
2 answers

Create an asp.net MVC multitenancy enviroment with IIS7.5

I asked this question (Mapping mvc application to subdomains using IIS 7.5) over on stackoverflow and Amritpal mentioned I should be looking at multi tenancy. How do I set my 2 applications up to run this? I have 2 mvc4 applications on the same…
Diver Dan
  • 101
0
votes
1 answer

How do I make sure that, when publishing to iis 7.5, all old data and files for the site are removed?

I've set up a Visual Studio publish button for my application, including the "remove all files before publishing" setting. It looks like it's not succeeding in removing the files, though (possibly they're still locked, maybe IIS is still serving…
blueberryfields
  • 757
  • 1
  • 7
  • 17
0
votes
1 answer

IIS6 Application Pool: App breaks until recycled

I've been experiences some problem with website that use ASP.net MVC or Webform. Problem: Sometime the website isn't showing. If I go to the website, I'll get the Directory Browsing is not permitted or something as such. Quick fix: Log into the…
Jack
  • 143
  • 4
  • 13
0
votes
1 answer

How to avoid IIS from overwriting some HTTP Headers?

I have enabled in my Web.config the GZIP compression, and I'm glad that it automatically adds the HTTP header "Vary: Accept-Encoding". The problem is that IIS is overwriting the "Vary:*" that ASP.NET returns by default. The issue is that in POST…
NullOrEmpty
  • 389
  • 2
  • 5
  • 16
0
votes
3 answers

Recommended Amazon AWS Setup for MVCv1 application?

What is the best performance setup for hosting an ASP.NET MVCv1 application? I currently have 2 micro instances running, one to serve the database and another to serve the MVC application itself. App server is Windows Server 2k8 32-bit, IIS…
0
votes
1 answer

ASP.NET MVC multi-instance session management on amazon ec2

I have a web application written in asp.net mvc2. Currently hosted on amazon cloud ec2. Because of growing traffic we want move multi instance enviorenment. I have a custom session class which currently initiate at session start (global asax) and i…
0
votes
1 answer

How do I set Application Configuration Mappings in IIS6 from the command line?

I am rolling out .NET 4 to around 60 servers, and I need register the .mvc extension to run with ASP.NET on each server after the install. Does anyone know a way to do this from the command line? Is it possible? I looked at the aspnet_regiis tool,…
IronicMuffin
  • 155
  • 1
  • 1
  • 8
0
votes
1 answer

Cannot find several types of authentication on IIS7 in Windows Server 2008

I have a deployed and correctly working ASP.NET MVC3 application on IIS7 in Windows Server 2008. Now I want to implement some authentication policy and my choice is Windows authentication (the website works in a Intranet). Unfortunately when I go to…
0
votes
1 answer

Site hanging under IIS when calling through interop

I have a website written using MVC3 where the backend is a 3rd party system written in Cobol. The webserver should starts the Cobol runtime through an interop dll and thereafter performs a call to the relevant program. When I run this setup from…
user80431
  • 101
  • 1
0
votes
2 answers

MVC2 Application Performance on Windows Server 2008 R2 with IIS7.5

I originally posted this on StackOverflow but I feel as though the problem lies with the hardware / OS configuration. I'm hoping that someone here has had a similar experience and can offer some advice. I have deployed a MVC2 application to IIS7.5…
0
votes
1 answer

ASP.NET MVC installation on Windows Server 2008 R2

When I install ASP.NET MVC 3 RTM on Windows Server 2008 R2 (Web server edition) will I also be able to run MVC 2 and MVC 1 web applications without installing them or do I need to install all of them separately?
yojimbo87
  • 672
  • 5
  • 12
  • 22
0
votes
1 answer

Microsoft Web Farm 2.0: how to get it to work with ASP MVC 3 which also has a redirector?

The error I get is: The virtual path 'null' maps to another application, which is not allowed. I created an MVC 3 project and posted it as-is. Turn off the "URL Rewrite" and everything works fine. Turn it back on and you get the error. Any ideas?
Zachary Scott
  • 227
  • 2
  • 14
0
votes
1 answer

How to configure IIS7 to view an MVC3 site without interfering with Webforms Production Site?

I have a client who is running his ASP.nET 3.5 webforms site on IIS7 under Default Web Site. I've started development on his MVC3 and have the site files ready for him to review. How do I setup IIS to serve his MVC3 site as a subdomain(?) so that…
SidC
  • 369
  • 3
  • 9
  • 23
0
votes
1 answer

Why is my ASP.net MVC Site Not Serving Pages on Windows Server 2008?

Why is my ASP.net MVC site not serving pages on Windows Server 2008? The website is running under an application pool that has the .net framework 4.0 in integrated mode. It serves .htm files with no problem. When I try to view any of the MVC pages I…
Tarzan
  • 141
  • 2
  • 11