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
2
votes
3 answers

Http 500 internal server error on MVC3 deployment

I'm trying to deploy an MVC3 application to IIS 7.5 On every route I'm getting an http 500 - internal server error : Error Summary HTTP Error 500.0 - Internal Server Error The page cannot be displayed because an internal server error has occurred.…
redrobot
  • 133
  • 1
  • 2
  • 8
2
votes
1 answer

ASP.Net MVC 1.0 on IIS 7.5

G'day, I am trying to move an application from windows server 2003 R2 to Server 2008 R2. It uses MVC 1.0 and to make it work I added a wildcard handler and then unchecked the "check file exists" to make the app work. In Server 2008 I've tried…
Spence
  • 680
  • 3
  • 10
  • 19
2
votes
1 answer

How can I install ASP.NET MVC 1 on a new Windows Server 2008 R2 server?

I have a new Windows Server 2008 R2 box that is successfully running several applications built for ASP.NET MVC 2. I now am trying to run an older application that was build for ASP.NET MVC 1. The Microsoft Web Platform Installer has no entry for…
2
votes
2 answers

Is customer data in SQL Azure safe?

We're looking into the idea of moving an ASP.NET MVC app into Windows Azure, but I'm interested to hear if SQL Azure is safe enough for me to store customer data, such as their home addresses, etc. We're not storing bank details or anything like…
Brett Rigby
  • 289
  • 3
  • 12
2
votes
1 answer

asp.net mvc 2 web application inside a Web site?

I have a Asp.Net Web Site deployed as a WebSite inside IIS 7.5. http://localhost/WebSite Then I have a second Asp.Net MVC 2 web application which is deployed as Sub Application inside the above WebSite. So the mvc aplication should work on the…
Amitabh
  • 131
  • 4
2
votes
2 answers

Use PC as Web Server

How can I use my own PC (Windows 7 Home Premium, SQL Server 2008 Express,IIS 7.5) as web server for my ASP.NET MVC Website? [Update] : I know how to run IIS in Win 7 and locally I can host my web. I wanted to know if it is possible to use a PC as…
jjj
  • 125
  • 3
2
votes
1 answer

Running a ASP.Net MVC Application on Windows Server 2008

I have just installed a ASP.Net Mvc application on a windows server 2008. When I try to use the application I see that IIS 7 tries to use the static file handler, I therefore get a 403 or 404 error. I have tried adding the URL routing module and…
Shiraz Bhaiji
  • 2,229
  • 9
  • 34
  • 47
2
votes
2 answers

Extension-less URLs on IIS6 with ASP.NET MVC

I remember attempting to use an extension-less URL format in a CMS I wrote way back when .NET 2.0 first came out. The problem was deploying to an IIS6 server. It made it practically impossible. I had to programmatically create folders for the…
Josh Stodola
  • 289
  • 1
  • 4
  • 14
1
vote
0 answers

asp.net core deployment to IIS, navigation omits application alias from URL

When I've set up IIS Applications in the past, I've set them up looking like this: When navigating it might look like this (in the browser): http://MY-SERVER/VistaThemeTest/main.aspx And If I click on a link, to another page, it might look like…
JustLooking
  • 141
  • 5
1
vote
1 answer

Application pool recycling takes high time

We have problem with Application pool recycling process. We have our production site with hosted in IIS version 10. We have used separate application pool for our production site. This application pool getting recycling every 1740 mins by default.…
Karthik
  • 217
  • 1
  • 3
  • 6
1
vote
0 answers

IIS impersonate 401 Unauthorized (2x asp.net MVC)

I have IIS website with windows auth (only) enabled (lets say site.domain.com). My site calls HTTP rest API on it's subsite (lets say site.domain.com/api). It is different application. It works OK, when I call this api as application pool identity.…
1
vote
0 answers

IIS 8.5 becomes unresponsive until iisreset, no indication of issue

I have a web app which is load balanced across two Windows 2012 R2 servers with IIS 8.5. Sometimes, it seems the IIS process gets "stuck" on one web server but there is no indication of an issue anywhere - not in our app logs or the Windows event…
blizz
  • 1,134
  • 1
  • 26
  • 47
1
vote
0 answers

IIS with ARR as reverse proxy for ASP.NET WebAPI randomly escape newlines differently

We're running an asp.net Web API appliction in production, using IIS and ARR for SSL-offloading and reverse proxy. We're seeing some weird issues requesting xml from a webapi endpoint. Randomly every now and then, it could be 2 seconds between…
1
vote
0 answers

Page cannot be displayed - .net core on IIS8

Im trying to deploy a simple hello world .net core app on iis8. It runs fine in local dev env. When deployed to iis I get "This page cannot be displayed". After deploy, I run dotnet .\TestApp.dll from console and then browse…
Martin Smith
  • 21
  • 1
  • 3
1
vote
0 answers

ASP.NET MVC App Redirects Break in Azure

Info I'm developing a web application in ASP.NET MVC. It works great running locally (or even on a test server on my network). The moment I push it up to Azure, a couple of the redirects break giving a generic 500 error. I can't imagine what the…
trademark
  • 188
  • 1
  • 1
  • 7