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
1
vote
0 answers

Extract Distinct restful MVC routes from IIS logs

This is a cross post from StackOverflow that after some consideration I believe can be asked here (not getting anything on SO). My shop is using MVC3/FUBU on IIS 7. I recently put something into production and I wanted to gather metrics from the IIS…
Grummle
  • 161
  • 3
1
vote
3 answers

Web App Performance Problem

I have a website that is hanging every 5 or 10 requests. When it works, it works fast, but if you leave the browser sit for a couple minutes and then click a link, it just hangs without responding. The user has to push refresh a few times in the…
Scott
1
vote
1 answer

How can i edit my asp.net mvc3 web application that is published on IIS 7.5

I published an ASP.NET MVC3 web application three months ago on ISS 7.5 using the web deployment package from the Visual Studio. While deploying I chose Only files needed to run this application. Now I need to edit the web application to add some…
test test
  • 1
  • 12
1
vote
2 answers

Deploying and publishing my first asp.net mvc 3 web application

I want to deploy and publish my first asp.net mvc 3 web application at my client side (the client is a small office with 2-4 employees that need to access the application) , currently i finished developing my web application using the free…
1
vote
1 answer

System.Data.SqlClient.SqlException: Failed to generate a user instance of SQL Server due to a failure in impersonating the client

i have published my asp.net MVC 3 web application locally using IIS 7 express and visual developer express 2010, but when i tired to login to the application and after i insert the user name and password on the login view the following error was…
test test
  • 1
  • 12
1
vote
3 answers

How to connect two computers together to be able to share an asp.net mvc web application

I have built an asp.net mvc3 web application on my machine that uses windows 7. Now I need to host this web application locally on my machine to be accessed by two employees in our office which uses Windows XP. So I need to know the following: How…
test test
  • 1
  • 12
1
vote
3 answers

Deploying ASP.Net MVC 4 application to IIS 6 - Bundles are not working

We have a ASP.Net MVC 4 application we are trying to deploy to a Windows 2003 machine running IIS 6. We have it running on a separate app pool and it is setup to use asp.net 4.0. We have a Wildcard application mapping to aspnet_isapi.dll which was…
ShaneC
  • 221
  • 4
  • 9
1
vote
2 answers

using win7 pc instead of windows 2003 server

Simple question, in terms of hosting an Asp.net-mvc/SQL Server 2008 R2 Express based app, will a powerful Windows 7 PC do? I just wonder if there is anything I'm missing here, being an App Dev and not a sysadmin. The application serves about 300…
1
vote
1 answer

Umbraco CMS 5.0 CTP 1 installation skip some steps and does not populate DB

I wish to try Umbraco CMS 5.0 CTP 1 since it has a good reputation. Since im into ASP MVC 3, I thought I would try to install the preview of V5. I know this might be buggy, but I did expect that I could install it properly, but that was not…
Martin at Mennt
  • 177
  • 1
  • 2
  • 11
1
vote
1 answer

Why am I getting this error from IIS?

I have created a very simple ASP.NET MVC3 application that runs just fine in the Visual Studio debugger. However, I have tried to add this application to my local IIS installation. I added the project by right-clicking Sites and clicking "Add Web…
Nathan Osman
  • 2,725
  • 7
  • 32
  • 46
1
vote
2 answers

Getting 404 error on MVC web-site

I have an IIS7.5 web-site, on Windows Server 2008, with an ASP.NET MVC2 web-site deployed to it. The website was built in Visual Studio 2008, targeting .NET 3.5, and IIS 5.1 has been successfully configured to run it as well, for local…
RB.
  • 392
  • 2
  • 8
  • 20
1
vote
1 answer

Intermittent IIS Event 1062

IIS 6 with about 25 sites, one of which is .net framework 2.0 with a .net framework 4.0 app below it running mvc 3 in its own app pool. It runs fine for some time, then we see event 1062 and the .net 4 app won't respond until the app pool is…
forrest
  • 11
  • 1
1
vote
2 answers

Cannot access static content of an ASP.NET MVC app on IIS7

I have an ASP.NET MVC 2 app that I have just deployed to IIS7. The app works fine except all static content (js, css, images) are returning blank. I have the static content handler configured above the MVC handler. I have looked in the IIS logs and…
Jon
  • 11
  • 1
  • 2
1
vote
1 answer

IIS6 - Switching from .Net 2 to .Net 4 produces error “Declined to show web page”

I have a simple website (http://localhost:8889) on Windows Server 2003 and IIS6. There is nothing in this website except a page called default.htm containing a simple text string. The page is served up properly if I specify .Net 2.0 on the ASP.Net…
tzerb
  • 181
  • 1
  • 6
1
vote
0 answers

asp.net mvc - membership provider

For my ASP.NET MVC app, I just find dealing with unique-identifiers harder, so I have added my own field to ASPNET_USERS table - UserIdInt (which is actually a bigint!) So most of user operations use userIdInt as reference. Anyway, I am debating…
TPR
  • 285
  • 1
  • 5