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
66
votes
6 answers

How to diagnose a 500 Internal Server Error on IIS 7.5 when nothing is written to the event log?

I've just deployed an update to an existing ASP.NET MVC3 site (it was already configured) and I'm getting the IIS blue screen of death stating HTTP Error 500.0 - Internal Server Error The page cannot be displayed because an internal server error…
Greg B
  • 1,548
  • 5
  • 17
  • 32
43
votes
7 answers

How can you know what is w3wp.exe doing? (or how to diagnose a performance problem)

I'm having a performance problem in a site we've made, and I'm not exactly sure how to start diagnosing it. The short description is: We have a very small site (http://hearablog.com) with very little traffic, in a crappy dedicated server, CPU is…
Daniel Magliola
  • 1,402
  • 9
  • 20
  • 33
30
votes
2 answers

How can I warm up my asp.net mvc webapp after an app pool recycle?

I am running an ASP.NET MVC webapp in IIS 8.0. My application needs to be warmed up before taking requests. We already have a process to warm up the application automatically when we deploy new code. However, we are seeing periodic App Pool Recycle…
AgileJon
  • 425
  • 1
  • 5
  • 9
26
votes
4 answers

Difference between "Start application pool immediately" and Start Mode AlwaysRunning

In IIS Manager, an application pool has checkbox for "Start application pool immediately" in the basic setting dialog, and an advanced setting called "Start Mode" which can be set to "OnDemand" or "AlwaysRunning". What is the difference between…
Ergwun
  • 361
  • 1
  • 3
  • 6
22
votes
3 answers

IIS is overriding my response content, if I manually set the Response.StatusCode

Problem when I manually set the HTTP Status of my response stream to, say, 404 or 503, IIS renders up the stock IIS content/view, instead of my custom view. When I do this with the web development server (AKA. Cassini), it works correctly (that is,…
Pure.Krome
  • 6,338
  • 17
  • 72
  • 86
19
votes
2 answers

Where is ASP.NET server log file is located?

My ASP.NET MVC application on my development box is running wild; I can't even connected to localhost. In order to know what is the problem, I want to find the log file and examine it. Where is the location of the ASP.NET Server log file? I couldn't…
Graviton
  • 2,775
  • 12
  • 41
  • 62
16
votes
2 answers

IIS 8 asp.net mvc HTTP Error 500.19

Hello i have just moved server, for my asp.net mvc framework. but now i get the following error message, and to be honest i do now know what is wrong? Module IIS Web Core Notification BeginRequest Handler Not yet determined Error Code …
Androme
  • 411
  • 2
  • 5
  • 12
15
votes
3 answers

IIS7 returns blank when static content requested

I am trying to configure a demo machine which is EEEPC with Windows 7 Home Premium edition all the drivers properly loaded (don't ask me why it's Home edition) with IIS7 installed. I've deploy the application to be demo-ed on the machine which is an…
chakrit
  • 417
  • 2
  • 6
  • 15
14
votes
1 answer

Parallel Redo Is Shutdown

When looking in Windows event logs, i'm seeing the following messages on an almost continuous basis - Starting up database 'Database'. Parallel redo is started for database 'Database' with worker pool size [1]. Parallel redo is shutdown for…
Gavin Coates
  • 410
  • 1
  • 6
  • 17
11
votes
1 answer

Why isn't IIS serving my static CSS / JS files?

I added an ASP.NET MVC3 site to ISS (which was working fine in the debugger). When viewing the site in a browser, everything appeared to be working fine except that all of the CSS and JS files were returning a 404. Here is the site in IIS…
Nathan Osman
  • 2,705
  • 7
  • 31
  • 46
8
votes
1 answer

Is there a supported way to run post-deploy scripts on AWS Elastic Beanstalk?

I'm deploying a Windows / .NET MVC app on Elastic Beanstalk, and managed to get through most of the challenges except for one. The webapp in question creates a local cache for binary assets in a subfolder of its current deployment location, and for…
8
votes
4 answers

How do you configure IIS 7 to use a subdirectory as the default document?

So I have a website running on a discount asp.net account, and I put an asp.net mvc app in a subdirectory. If my url is 'www.website.com' and my app is in directory 'sample', then 'www.website.com/sample' will execute the mvc app. My problem is that…
Mark Rogers
  • 279
  • 1
  • 4
  • 14
7
votes
1 answer

Problem running MVC3 app in IIS 7

I am having a problem getting a MVC 3 project running in IIS7 on a computer running Windows 7 Home-64 bit. Here is what I did. Installed IIS 7. Accessed the server and got the IIS welcome page. Created a directory named d:\MySite and copied the…
mjmoore99
  • 173
  • 1
  • 1
  • 3
6
votes
2 answers

Using ASP.NET MVC3, how can I have IIS not redirect 302 on case-sensitive routing?

Using ASP.NET MVC3, how can I have IIS not redirect 302 on case-sensitive routing? For example, I create an application folder under my site called "Admin" in IIS. The javascript (there are hundreds of files, no trivial change, and then when new…
jcolebrand
  • 278
  • 4
  • 27
6
votes
3 answers

Intermittent high CPU (100%) on production webserver

X-Post from StackOverflow: https://stackoverflow.com/questions/9465123/intermittent-high-cpu-100-on-production-webserver We have a web cluster with 3 web-servers, each with 24 cores & 24GB mem. Our application is latest patched ASP.NET 4.0, With…
Dave
  • 161
  • 1
  • 1
  • 4
1
2 3
15 16