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?
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
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?
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.
prodigy
Member
40 Points
26 Posts
Publishing my web site and administrating it.
May 03, 2007 05:01 PM|LINK
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.
Bruce L
All-Star
18102 Points
2841 Posts
Re: Publishing my web site and administrating it.
May 03, 2007 07:29 PM|LINK
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
http://www.discountASP.NET
prodigy
Member
40 Points
26 Posts
Re: Publishing my web site and administrating it.
May 04, 2007 01:58 PM|LINK
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...
Bruce L
All-Star
18102 Points
2841 Posts
Re: Publishing my web site and administrating it.
May 04, 2007 10:41 PM|LINK
http://www.discountASP.NET
Rex Lin - MSFT
All-Star
17422 Points
2116 Posts
Re: Publishing my web site and administrating it.
May 07, 2007 05:43 AM|LINK
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
__________________________________________________
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