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

How to publish an ASP.NET MVC application to a free host

I'm using a free web host (0000free) which supports ASP.NET MVC, but it uses Mono. This is the first time I deploy an MVC application, so I'm a little confused as to where I need to deploy it. I have Visual Studio 2010 and I used its Publish Feature…
Kiril
  • 189
  • 1
  • 4
  • 10
0
votes
1 answer

Changing setting in applicationHost.config to Allow has no effect on 500.19 error

I have a web site using .NET 4 and ASP.NET MVC3 running in IIS 7.5. I get the following error: This configuration section cannot be used at this path. This happens when the section is locked at a parent level. Locking is either by default…
Mathachew
  • 141
  • 1
  • 6
0
votes
1 answer

IIS 6 with ASP.NET 4 - what are the disadvantages?

I'm looking at a hosting company that I plan on going with, but they use IIS 6 with ASP.NET 4. I plan on running a ASP.NET 4 MVC web application that uses SQL Server (which the hosting company has). Can I run MVC applications on IIS 6? Are there…
contactmatt
  • 229
  • 3
  • 10
0
votes
3 answers

ASP.NET MVC 3.0 on linux

I'll admit it... I'm a n00b in the linux world, but I'm curious to find out if it's possible to run my ASP.NET MVC 3.0 web applications on linux. Can anybody direct me to or write a guide for n00bs like me that explains thoroughly the entire process…
0
votes
1 answer

Error when deploying an mvc2 application in an IIS

We are deploying an MVC2 based app on IIS at production environment floating in Internet. An error occurs and this is the process to raise it: The user clicks on a link to display a web form The user inserts data. The user submits the form. The…
JPCF
  • 154
  • 2
  • 9
0
votes
1 answer

IIS 7.5/ASP.NET MVC App - error serving JS

Greetings, I'm new to working w/ IIS in general, so I hope I'm asking the right question in the right place with the right amount of information. Here goes: On a Windows 7 64-bit (IIS 7.5) box, I have a ASP.NET MVC application. It works fine on…
DevSolo
  • 101
0
votes
1 answer

Setting up Windows Server 2008 R2 and SQL Server 2008 on a VPS

I wish to deploy trusted apps in a secure way. I got one empty VPS (with no operating system). But I don't know how to install Windows Server 2008 R2 (Enterprise/Datacenter) and SQL server 2008 (Enterprise) on it. The main purpose is to deploy…
0
votes
1 answer

ASP.NET MVC app on IIS7 with WebForms content is throwing NTLM authenticate box

I have an ASP.NET MVC app that also contains some WebForms content (for SSRS ReportViewer). This is deployed to IIS7 and the MVC pages of the app work fine, but when I try to browse to the aspx page I am prompted with the NTLM auth box. I do not…
Jon
  • 11
  • 1
  • 2
0
votes
1 answer

MS10-070 causing problems with Asp.NET MVC AntiForgery tokens?

KB2418241, KB2416473, and KB2416451 all reference http://www.microsoft.com/technet/security/bulletin/MS10-070.mspx After installing this patches on our Windows Server 2003 machines last Friday, we have been getting a significantly increased rate of…
Nathan
  • 306
  • 1
  • 5
  • 13
0
votes
1 answer

Moving web application to default port on IIS

I'm a newbie to servers and deployment so I was wondering if someone could help me. I have a web application running on a server running windows 2008 and IIS 7. At the moment the app is running on port 85 of the web server. I want to change this to…
109221793
  • 315
  • 1
  • 3
  • 13
0
votes
1 answer

ASP and MVC returning ASCII looking characters

Hard to describe, but this is what is being served by IIS with an ASP.NET 4.0 MVC 2.0 setup. Does anybody have any idea as to why this is happening? It is happening locally for me as well as our staging environment on another server (making me…
jamie-wilson
  • 111
  • 4
0
votes
1 answer

IIS6 MVC2 Server starts sending out 404 after a while

I have a W2k3 server running IIS6 and MVC2 (.net 4). Right after the iis starts, everything works ok, the site runs fine. Extensionless urls work ok. After a certain period of time (maybe of inactivity) the server stops working and starts to send…
DanC
  • 153
  • 2
  • 5
0
votes
1 answer

What kind of DNS and IIS configuration is needed to allow multiple domains to point to a multi-tenant web application?

I'm developping a multi-tenant web application in ASP.NET MVC and it will provide my users the ability to have a custom subdomain pointing to their account page (like user.myapp.com). I already have it working by using a wildcard DNS entry and a…
holiveira
  • 889
  • 3
  • 13
  • 14
0
votes
2 answers

IIS 7.0 Website Fails Regularly After About 30 Minutes

I have a website running under IIS 7.0 on Windows Server 2008. It's just being used by 2-3 people at any point in time under very light load. It runs fine for about 30 minutes, but then fails with the error: Server Error in '/' Application.…
Eric J.
  • 772
  • 2
  • 14
  • 28
0
votes
1 answer

Permissions issue with SQL Server 2008 Express

I think this falls into the category of 'never ask a developer to do a server administrator's job'. I'm a developer writing a couple of ASP.NET MVC 2 sites. I've attempted to use the ASP.NET Configuration Tool to create some user roles, but it…