Publishing my web site and administrating it.

Last post 05-07-2007 1:43 AM by Rex Lin - MSFT. 4 replies.

Sort Posts:

  • Publishing my web site and administrating it.

    05-03-2007, 1:01 PM
    • Member
      40 point Member
    • prodigy
    • Member since 12-07-2006, 3:44 PM
    • Posts 26

    I finally have finished my web site and since its only being used here im my office all i want to do is publish it (if publish is the correct word to use when i want other people to access it through a web browser from a remote machine) so that i can run the code on a machine here and have a few users access it via a web browser.

    A few points to note here is that i am using Visual Studio 2005 and by default when creating a web site Visual Studio creates the project in My documents under Visual Studio 2005\Websites\ and when i read the Visual Studio Documentation it keeps talking about the C:\Inetpub\wwwroot folder.

    Please can someone tell me if this is a problem and what is the difference between creating a website in the wwroot folder and the Visual Studio folder? 

    Back onto the topic can anyone suggest...

    1. A simple way to "publish" (if correct word) my web site so that users within my firm can access it via a web browser?

    2. How do i stop and start my code? The reason i ask this is generally people will be accessing the code via their browsers during the day so at night i could stop it, where does the administration process of the web server come in and how does it work?

     
    Any suggestions would be highly appreciated.
     

  • Re: Publishing my web site and administrating it.

    05-03-2007, 3:29 PM
    • Star
      11,026 point Star
    • Bruce L
    • Member since 02-08-2007, 1:53 PM
    • Posts 1,859

    Let me make sure I understand your question, you want to allow other user to access your web application on your computer.  Is that correct?

    Do you intend to host your application on your workstation or do you have a server in-house?

    Are you intended users local user or will they be accessing the web app from the Internet?

    >2. How do i stop and start my code? The reason i ask this is generally people will be accessing the code via their browsers during the day so at night i could stop it, where does the administration process of the web server come in and how does it work?

    For ASP.NET application, you can put a file named app_offline.htm in your application root.  IIS or ASP.NET development server will detect this file and display an unavailable message.   See http://weblogs.asp.net/scottgu/archive/2005/10/06/426755.aspx

    Bruce
    DiscountASP.NET - ASP.NET Hosting Experts
    Voted 2009 "Best ASP.NET Hosting" by asp.netPRO Magazine
    Win2008/IIS7.0, ASP.NET 2.0/3.5 SP1, MVC, AJAX, Silverlight, SQL 2008/2005
  • Re: Publishing my web site and administrating it.

    05-04-2007, 9:58 AM
    • Member
      40 point Member
    • prodigy
    • Member since 12-07-2006, 3:44 PM
    • Posts 26

    Thanks for your help.

     

    Yes i want other users to access my application (web site). We have a server here at work and various people from this building or other branches want to access it via there web browser. So basically i want to know how i can set this up?

     Would you be able to tell me why when i create a new web site in Visual Studio 2005 it puts all my source code in the VisualStudio2005/Websites directory as opposed to wwwroot folder? What is the difference?

     
    Thanks in advance...
     

  • Re: Publishing my web site and administrating it.

    05-04-2007, 6:41 PM
    • Star
      11,026 point Star
    • Bruce L
    • Member since 02-08-2007, 1:53 PM
    • Posts 1,859
    Well.. that's how VS.NET works.  In development mode, you'll be using VS.NET development web server which access your files in the file system.  This is not meant for production use.  What you need to do is to get IIS setup on your server and create the website configuration on IIS.  You will then copy your asp.net project over to the server using either simple file copy or publish feature with VS.NET.
    Bruce
    DiscountASP.NET - ASP.NET Hosting Experts
    Voted 2009 "Best ASP.NET Hosting" by asp.netPRO Magazine
    Win2008/IIS7.0, ASP.NET 2.0/3.5 SP1, MVC, AJAX, Silverlight, SQL 2008/2005
  • Re: Publishing my web site and administrating it.

    05-07-2007, 1:43 AM
    Answer

    Hi, prodigy:

    Here are some principles of deploying website of ASP.NET 2.0. Hope it will help you. 

    http://west-wind.com/weblog/posts/2454.aspx

    http://www.beansoftware.com/ASP.NET-Tutorials/Deploy-ASP.NET.aspx

    http://www.15seconds.com/issue/030806.htm

    I hope the above information will be helpful. If you have any issues or concerns, please let me know. It's my pleasure to be of assistance

    Best Regards,
    __________________________________________________
    Sincerely,
    Rex Lin
    Microsoft Online Community Support

    If there is any question or the issue is not resolved, please feel free to mark the thread as not resolved
Page 1 of 1 (5 items)