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

How SSD hard drive affected speed of your website (asp.net/linq/ms sql database)

I have a small database (<1G) But we have a lot of complex logiс in website and client complains on render time, which is 3-5 seconds. We are not google, and thousands of users a day is our dream, so size is not a problem, but speed is…
st78
  • 277
  • 2
  • 12
3
votes
2 answers

Force IIS to prompt for credentials

We have a website that should only be accessed by authenticated active directory users. The first thing that should happen when entering the site is a prompt to enter windows credentials. To accomplish this, we've only enabled windows…
KyleMit
  • 488
  • 4
  • 9
  • 22
3
votes
3 answers

Is it ok to just copy necessary dll files to a server instead of installing dependencies?

I deployed ASP NET MVC 3 application on server (win2008/iis7.5). Somehow i desided not to install MVC 3 package and devexpress( necessary for app). Instead I have just copied dlls of mvc and devexpress from my developer machine to the bin folder of…
Den
  • 143
  • 1
  • 5
3
votes
2 answers

Nginx on Windows with ASP.NET and the Microsoft .NET framework?

Question: Is it possible to use nginx on Windows to serve ASP.NET / ASP.NET MVC pages using the Microsoft .NET framework ? I know one can do it with mono-fastcgi, but I was wondering if it is possible with the Microsoft Framework alone, that is to…
Quandary
  • 1,024
  • 4
  • 19
  • 36
3
votes
0 answers

ASP.Net/ASP.Net MVC Sites Hanging Indefinitely on IIS 8 on Windows 8

Environment I have recently been experiencing weird behaviour in my development environment when running ASP.Net websites locally on my Windows 8 development computer via IIS8. I have observed the behaviour on two separate websites (one is an old,…
Zac
  • 163
  • 1
  • 9
3
votes
3 answers

Windows 2012/IIS 8 + ASP.NET MVC Applicaiton 403.14 (Forbidden) - The Web server is configured to not list the contents

I have a very simple MVC 4 application I'm trying to deploy to a Windows 2012 server. Inconsistently, when navigating to the root of the web application (http://localhost/app), it returns a 403.14-Forbidden: Detailed Error Information: Module: …
WiredPrairie
  • 81
  • 1
  • 1
  • 6
3
votes
1 answer

Upgrading MySQL Connector/Net

I am trying to publish a website with our hosting provider. I am getting error due to the fact that they only allow a medium trust and the MySQL Connector/Net that I am using requires reflection to work. Unfortunately, reflection is not allowed in…
Linger
  • 251
  • 3
  • 9
  • 25
3
votes
1 answer

ASP.NET MVC incorrect connection string when connecting to mssql server

I built my website on ASP.NET MVC4 using mssql database, I deployed it on my local IIS 7 server and it works fine, but when I do to the exactly the same thing on virtual server hostgator.com it throws me this erro. And tried 1000 connections strings…
skmasq
  • 173
  • 1
  • 8
3
votes
1 answer

IIS 6 Denies access to the default document

I've got Windows Server 2k3 with IIS6 hosting a couple ASP.NET MVC 2 applications (.NET 4), all in the Default Web Site. Most of them simply use Integrated authentication, but a couple use forms as well. All the applications work properly and are…
yoozer8
  • 322
  • 2
  • 12
3
votes
1 answer

Mismatched address error on self-signed ssl certtificate

I have a self-signed ssl certificate that I am trying to use on my Windows 7 development IIS7 machine. The certificate is working; however I am still getting a mismatched address error in IE9. This is purely for development and testing…
rboarman
  • 237
  • 1
  • 5
  • 15
3
votes
0 answers

ASP.MVC website production server configuration best practice

When creating a new website on a production windows 2008 r2 server which requires connection to SQL Express should I create a custom identity for the application to run under or leave it as NetworkService? I see that that the IIS application pool…
MPD
3
votes
2 answers

What would you expect the typical App Pool size to be for a basic ASP MVC3 site?

I recently rented some shared space on WinHost.com (Basic package). I deployed a single ASP MVC3 application that uses NHibernate. It is a very lean app and I have profiled it for memory leaks and on my local IIS 6.1 I never have a problem with it.…
Rob Kent
  • 133
  • 6
3
votes
2 answers

How to configure IIS 7.5 without restart + call a batch file on every ASP.NET restart

Query 1 - Is it possible to change "IP Address and Domain Restrictions" on IIS 7.5 without restarting IIS? Query 2 - How to invoke some batch file (or executable) every time an ASP.NET worker process is restarted? We have an ASP.NET MVC site, that…
Dhwanil Shah
  • 131
  • 1
  • 3
3
votes
1 answer

How to configure IIS to ask for SSL client certificate for an ASP.NET MVC application

In IIS, for ASP.NET apps it's possible to request client certificiates for folders inside app? Is the same possible for controllers in MVC application?
Marko
  • 341
  • 1
  • 3
  • 9
3
votes
3 answers

Only 1 CPU Core is used in IIS 7.5

I have the following configuration. Quad Core Windows Server 2008 IIS 7.5 4GB RAM 32 bit I have hosted MVC 1 application in this server. But when running this application yields that only 1 CPU Core is used. Is there is any setting in IIS 7.5 or…
abcplex
1 2
3
15 16