ASP.NET MVC - Is it even possible to have multiple MVC projects on the same server?

I have so many problems that more than one MVC project is running on the same server ... I am using Windows XP, which uses IIS by default (I believe that 5.1).

At this point, I even create WebSetup projects for every project I create to make sure everything is going well, while these projects can be easily deployed using XCopy.

On the bottom line, I can get the MVC project (for example, the ContactManager example) working at: http: // servername , OR http: // servername / ContactManager . But as soon as I have a project in both places, the horror begins

"title is not a member of ViewPage" -> yeah, right ...
Section or group name 'system.web.extensions' is already defined. -> sure
let me <clear /> or <remove /> that one, oh that not valid ... 

Is it possible to have more than one ASP.NET MVC project (application) on a single Windows XP machine?

http: // server / Root project (MVC)
http: // server / app1 Application 1 (MVC)
http: // server / app2 Application 2 (MVC)
http: // server / appX Application X (MVC)

Can someone name some points of attention or something else?

+5
source share
7 answers

Is it possible to have more than one ASP.NET MVC project (application) running on the same Windows XP?

, ASP.NET MVC Windows XP. ASP.NET MVC , Windows XP SP3, .

:

:

  • IIS
  • . * C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll.

3

:

. * C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll : ASP.NET, MVC, .

+4

, . 3 MVC, MVC.

- Main site
           - Administration
           - Sub App 2
           - ...

.

  • , MVC aspnet_isapi.dll.

  • - web.configs MVC... < system.web >

<location path="." inheritInChildApplications="false">
   <system.web>...
</location>
+3

IIS5.1, XP, - ( ). , , .

IIS6.x , - ( ), MVC .

EDIT VMware Server XP /.

+1

IIS 2 ?

0

XP Apache Mono 2.4. ASP.NET MVC SQL Server (< = 2005). , , Xamp EasyPHP:) , , .

0

, IIS -.

0

I came across this post which should give you a simple and clean way to do this (with subdomains): http://blogs.securancy.com/post/ASPNET-MVC-Subdomain-Routing.aspx

0
source

All Articles