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

Multiple websites with SSL one application

I have written an ASP.NET MVC application that allows the user to specify their own custom domain. I have IIS configured to send all requests to the default website so I do not need to use host headers. Everything works perfectly. The only problem…
2
votes
1 answer

On app pool recycle user sessions are lost if application pool identity is set to 'custom account' but not when it is set to ApplicationPoolIdentity

On IIS 8.5 we have an web application running with application pool's identity set to ApplicationPoolIdentity. When we switch to Custom account instead of the ApplicationPoolIdentity then web application's user session is lost at random and also on…
Rahatur
  • 155
  • 1
  • 9
2
votes
3 answers

ASP.NET MVC Resource not found

I am working on an MVC project in Visual Studio 2010 with .NET Framework 4.0 + MVC2 and everything works if I set the target framework to .NET 4.0. However, my host does not offer .NET 4.0 in order to deploy the site I need to get it working on .NET…
user29711
2
votes
2 answers

DELETE method not allow in IIS (7)?

some how im developing ASp.net mvc application, the DELETE method work fine in VS server, but however, when i test it in an IIS. it's not working and absolutly return a 405 Error.. and currently, I dont know where and how i can get IIS allow my…
DucDigital
  • 1,491
  • 3
  • 18
  • 26
2
votes
2 answers

Shibboleth 404 when upgrading to ASP.net CORE

I managed to get Shibboleth with SecureAuth working on an IIS server hosting a simple index.html and later a simple ASP.net MVC 4 app, both of which work great. Today, though, I tried simply making my app point to a new ASP.net CORE app. All I did…
TheSmartWon
  • 121
  • 4
2
votes
0 answers

IIS returning 401.0 when accessing MVC app

I have an MVC5 site that has been running in an IIS8 server for a couple months now. Suddenly, the server is returning 401.0 errors for some people. Not everyone, just some. And there's no real pattern that I can determine (however, I'm not very…
2
votes
1 answer

ASP.NET MVC Getting Error 504 after 10 minutes of File Upload

I have an ASP.NET MVC2 Web application, working with SQL Server 2008 R2, running with IIS 6.2. I have a functionality where one particular admin needs to upload about 5000 documents, which then get to be processed and stored in the server, while…
SantLev
  • 23
  • 1
  • 5
2
votes
2 answers

Classic asp site, randomly slow DB connection

We are running a site with classic asp and ASP.NET MVC 4 (C#) side by side. During high traffic, database queries are running really slow in the asp pages. At the same time, in the same site, C# pages are always connecting normally to the same…
Dough
  • 21
  • 4
2
votes
1 answer

.net web application in IIS Swapping Folder without appdomain reload

I've a asp mvc application running on IIS and windows. Now I want to configure some kind of staging functionality without requiring an additional server. My simplified plan is to have 2 folders. One with the production release and one which gets…
Boas Enkler
  • 237
  • 2
  • 10
2
votes
1 answer

IIS 7.5 returning a 404 for one MVC route, but only when deployed

I have a site that is working fine on my local dev machine. When I run everything in IIS Express, the site is working fine. However, when i deploy my app to production, everything but one route is working. That one MVC route is returning a 404…
SpaceCowboy74
  • 131
  • 1
  • 7
2
votes
0 answers

IIS 301 permanent redirect goes into infinite loop

I would like to replace my old domain (oldsite.com) with (newsite.com) and permanently redirect my users. I have the following in my application web.config file:
GETah
  • 121
  • 4
2
votes
1 answer

azure website restart and take old dll version

One of my site is hosted on windows azure and when azure restart site from manage windows azure panel. then it take old version dll and site is down until we restart the site by deploying global.asax or change in web.config to restart the…
2
votes
1 answer

How does azure memory usage work?

I have a windows azure website. In the dashboard it shows me that I have used 1.51 GB of the 2GB available per hour. I keep increasing the number of instances available in the shared node so the site doesn't shut down. After each hour finishes, the…
Jed Grant
  • 121
  • 3
2
votes
1 answer

IIS 7 - Single Page Application URL issues when aliased

A client of ours has the following setup under IIS Sites - applications (binds to http://applications.domain.com) - app1 - app2 app1 and app2 are both .NET Single Page Applications (combination of .NET MVC and .NET Web API). The applications…
2
votes
1 answer

File access randomly breaks returning 500.19 erros on IIS

We have two web servers running IIS 8.5 on Windows Server 2012 R2. The two servers are located behind a load balancer. The web servers are running a ASP.NET MVC application which, among other features, allows users to access PDF files. Those PDF…