locked
Web Application Deployment with Multiple Web Applications. RRS feed

  • Question

  • User1037856228 posted

    I have a website that I would like to deploy.

    In that website, there are a few class libraries, main web application, and other child web applications.

    so it's like this.

    lib1

    lib2

    main app

    sub app

    sub app

    ...

     

    Each sub app's are separate project and each are virtual directory applications under the main application.

    I followed these two links below to teach myself and kind of got a idea that I have to create each Web Deployment Project for each web applications. MSDN site briefly talks about how I should use msbuild <ItemGroup> tag to merge the multiple applications together, but doesn't give me enough clue on which deployment project I should write this (prob. main?) or how I can translate the nested IIS structure, etc.  I read about msbuild but I still have no clue.  Each deployment projects deploy successfully without the nesting relationship though.  e.g. I can deploy mailApp.vbproj_deploy and subApp.vbproj_deploy separately and appears under IIS fine. But that's not what I really would like to do..

    Could someone tell me how I could possibly achieve this?  Any help would be appreciated.   

    http://weblogs.asp.net/scottgu/archive/2005/11/06/429723.aspx

    http://msdn.microsoft.com/en-us/library/aa479568.aspx

     

    Friday, December 18, 2009 12:31 PM

All replies

  • User641418711 posted

    Halo wakishi,

    For class libraries, to use it, you have to reference it in your application.

    for sub application, you can just simply put the publish folder as a sub directory (or a virtual directory) in IIS.


    Happy coding.


    Thursday, January 14, 2010 4:50 AM
  • User-979828334 posted

    To Build single setup file for the Multiple Projects exists in SIngle Solution file follow the following threads.


    http://social.msdn.microsoft.com/Forums/en-US/csharpide/thread/90fa0511-34d4-4713-b763-6a2fc423b06a

    http://social.msdn.microsoft.com/Forums/en/winformssetup/thread/a9ef6c43-3d7b-40ba-8af8-7b163a031d0b

    http://www.c-sharpcorner.com/UploadFile/vishnuprasad2005/SetupProjects12022005022406AM/SetupProjects.aspx

    http://www.eggheadcafe.com/tutorials/aspnet/dcc5ab62-b875-4852-9e34-8bc2794e4fb8/c--create-setup-project.aspx



    Thursday, September 16, 2010 2:46 AM