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
1 answer

IIS Redirecting by domain in ASP.NET MVC 4

I've created an app that is like a mini-shop, but now I have two problems with my clients: Some of them want it to be their domain, instead of mine, say: http://myshop.com/?shop=a197dc43fd89e should be: http://store.theirdomain.com I can check…
1
vote
3 answers

Domain and subdomain - using same ip and ssl certificate with san for both domans?

I have a site with a SSL certificate. Now I need to add another site, also using HTTPS. It seems it is possible to do by creating the binding for the new site using another port for the HTTP and HTTPS traffic. This I'd like to avoid, as adding…
Moulde
  • 123
  • 2
  • 7
1
vote
2 answers

Redirecting https://www

I have a domain that I run with SSL. I purchased a certificate for thedomain.com. Note that it does not apply to www.thedomain.com at all and I think that might be where my issue lies. My goal is that my visitors arrive at https://thedomain.com,…
JPRO
  • 123
  • 2
1
vote
1 answer

New Users not showing up for File Permissions on Windows Server 2012

I am in the process of setting up Web Deploy for a MVC4 (ASP.NET) application. Whilst setting up my users on the Windows Server 2012 interface, my users are not showing up in the list for access permissions. Has anyone had the same problem? What…
imdeany
  • 13
  • 2
1
vote
1 answer

IIS 7.5 selectively overwrites my error response page

Using Windows 2008r2, IIS 7.5, I have an application using Windows Integrated Authentication (WWW-Authenticate: NTLM, Negotiate). In my ASP.NET MVC code, I am overwriting the IIS error page output... protected void…
1
vote
1 answer

Configuring ISS and SQLSERVER for ASP.NET MVC application and windows authentication

I have freshly installed ISS with SQL server and asp.net mvc application. I want my app to use windows authentication. On my application side, i know that i have good connection string, because i was running it on my local machine and it was working…
ojek
  • 127
  • 1
  • 1
  • 8
1
vote
1 answer

Trouble Publishing an MVC4 site on HostGator

I have been working on a C# MVC4 website and trying to publish it to a Host Gator shared Windows hosting account. They are running both MSSQL 2008 and mySql. We have run into some trouble when trying to get the site to work. First of all we are…
sec_goat
  • 169
  • 1
  • 1
  • 13
1
vote
1 answer

Do I need the Default Document IIS7 role installed for ASP.NET MVC?

Do i need this role installed if I wish to have a website that is running ASP.NET MVC? cheers!
Pure.Krome
  • 6,508
  • 18
  • 73
  • 87
1
vote
1 answer

Changing the user IIS runs over

I am trying to change the user IIS runs over. I read that IIS might run using IUSR_computer_name user but I am not sure if this rule applies to IIS 7.0 The question is, trying to map the whole filesystem tree I get access denied for some folders. I…
Guilherme Longo
1
vote
0 answers

ASP.NET + MVC 4 + IIS 7 + MSSQL slow response

I have recently deployed an ASP.NET MVC4 application to a IIS 7 server, but something is not quite right. I have a log-in action that access the user credentials stored in a MSSQL 2008 R2 server, and when this access takes place, the access time…
Tri Q Tran
  • 111
  • 2
1
vote
1 answer

How to configure ASP.NET MVC 3 on IIS 6 (Windows 2003 R2)

Possible Duplicate: Deploying ASP.NET MVC to Windows Server 2003 I am getting 403 Directory Listing Denied for the root and 404 for an action that I know should exist. Background: I have build and deployed an ASP.NET MVC 2 applcation a long time…
Nedcode
  • 111
  • 1
  • 4
1
vote
2 answers

Bad IIS 7.5 performance on webserver

I have a webpage (ASP.NET 4.0 / MVC 4). On my development machine (i5-2500 3.3 8GB Win7 VS2010 SP1 Fujitsu Esprimo P700) the page performs with 160 requests/sec on devenv webserver on my machine. The page performs with 250 requests/sec on my local…
Robert P.
  • 119
  • 5
1
vote
1 answer

Dependency issue when upgrading my computer to mvc4, and trying to deploy mvc3 applications

I am having a very similar problem to this: https://stackoverflow.com/questions/11023923/how-to-fix-this-mvc-website-error-could-not-load-file-or-assembly-system-web-h same exact error message: Could not load file or assembly 'System.Web.Helpers' or…
anthonypliu
1
vote
1 answer

Generic 500 error by MVC3 app on IIS 7.5

I'm trying to deploy an MVC3 app on IIS7.5. But loading the page gives a "Server Error in '/' Application." message, with no more specific information about what went wrong. Now my first idea was to try to get IIS to tell me the error message. To…
larspars
  • 121
  • 1
  • 4
1
vote
1 answer

IIS 7.5 and ASP.NET MVC Routing

I'm running an ASP.NET MVC 3 application on an IIS 7.5 server (my development server). When I set up my production server something goes wrong. Serving the same application binaries, using the same web.config file and connecting to the same database…
m__
  • 553
  • 2
  • 6
  • 11