What are the requirements to host an ASP.Net MVC2 application? - asp.net-mvc-2

Are there any special requirements needed to host an ASP.Net MVC2 application?
I'm making an application that will be hosted locally in the server area of my University. I can use either ASP.Net or MVC2, but I'd much rather use MVC2.

No, you just need .NET Framework 3.5 SP1 and an IIS version that runs on it.

Related

Deploy MVC 4 application 4.5 Framework 1and1 hosting

I'm trying to deploy an mvc 4 project in vs2012 via FTP on 1and1.com
This is what I'm getting.
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory.
Are there settings on 1and1 I need to set somewhere because it's an MVC proj or changes in webconfig?
#dright, Are you still encountering the problem? It appears 1and1.com has updated their hosting package to support 4/4.5 Framework with their Basic Windows hosting plans (https://www.1and1.com/windows-hosting?linkId=hd.subnav.windowshosting). I purchased a plan as a sandbox for deploying little apps that I develop.
I have successfully deployed a Asp.Net application using the WebMatrix IDE. But I have struggled using VS2013 template/default applications' Web.Config. I was curious if you have had any luck.
Thanks!
1and1 windows package doesn't support MVC. You would need to update to their server package. ~59/month

ADO.NET in Windows 8

Is there ADO.NET in Windows 8 and Windows Phone 8? I need SqlConnection class. Maybe there is additional libraries?
There is no ADO.NET in WP8. If you are referring to modern, Windows 8 Store Applications, ADO.NET is not allowed either. ADO.NET would only be available in desktop applications.
The answer above is correct. Here is some follow up content, if needed.
Windows 8 applications are expected to run directly from the Windows Store, without the limitations imposed by connecting to local servers via a connection string.
The recommended approach is to expose your database via a web service.
Two Microsoft technologies that do this are:
(1) Windows Communication Foundation
(2) ASP.NET Web API (the more modern approach)
For Windows Communication Foundation, here is a tutorial:
http://www.intstrings.com/ramivemula/articles/create-a-simple-wcf-service-against-pubs-database-using-ef-linq-part-i/
For ASP.NET Web API, here is a tutorial:
http://code.msdn.microsoft.com/ASP-NET-Web-API-Tutorial-c4761894/view/SourceCode

Deploying Hybrid ASP.NET webform and MVC project on iis7 - MVC Routing does not work

Hi Stackoverflow,
Im trying to deploy a hybrid ASP.Net Webform/mvc-project onto iis7 but the mvc routing does not work.
This is what i have done so far:
Added all required mvc-related dlls.(i have double checked bin-catalog to make sure that everythings there on the deployed installation)
Added MVC wildcard by adding the IsapiModule handler to iis handler mappings.
The Server has .Net-Framework 3.5 SP1 installed.
The web site Managed pipeline mode set to classic
Our project requires the app pool to be running in none-integrated pipeline, but im not sure what MVC requires of the app pool, may i run ASP.NET MVC(2) in a none-integrated managed pipeline?
The web application loads and i want to use the MVC-routing to load javascript but the mvc routing does not responde to the request and instead Webforms gives us a 404-response,
this only happens when the project has been deployed onto the server.
Does anyone has a idea of why the ASP.Net MVC routing does not fire?
Thanks and Best regards,
Mikael
I found the error, the installer did not update production web.config,
so there was some missing mvc-required references,
i used this article to find out what was missing, it describes how to setup a hybrid WebForm/Mvc project in a simple way.
And now im able to run a hybrid webform/mvc-project on iis7 classic without any problem.

Possible to use ASPNET MVC2 without IIS?

I know of the ServiceHost class, that lets me write a custom host for a WCF service. This means there's no requirement for IIS. (I also know all the advantages of using IIS - no need to rehash those for me.).
Is there something similar to allow me to host ASPNET MVC2, without IIS? Conversely, Is IIS a hard requirement for ASPNET MVC2?
Has anyone used UltlDev Cassini, and if so, what are your experiences?
Will it run ASPNET MVC2?
(I am using .NET 3.5)
You can run it on Cassini, Mono, IIS or host the whole asp.net runtime in your own application. (Actually pretty easy)

Where can i download asp.net mvc 2 (two)?

My system administrator and i would like to run asp.net mvc2 and asp.net mvc3 side-by-side. When prompted, my sys admin upgraded IIS7.5 to asp.net mvc3, but that seems to have removed asp.net mvc2.
We've been googling for a little while now, and we can't find a download link for asp.net mvc2. It's all version 3.
Do you guys know where we could find an mvc2 download? My sys admin has also tried the Web Platform Installer, but he says that it's broken and won't run.
Any ideas?
You can download it from here.
try Microsoft Download Center