VS Web Projects

esse quam videri
Jump to: navigation, search


Create a new local web project

Select new website

VSNewWebsite.png

Choose ASP.Net website and Files System for the location. remember where the website is as you may need to copy/move files later. Yo can also connect to an ftp site or remote file share

VSNewWebsiteDialog.png

Now your website is ready. It automatically create a default page for you and a web.config. We'll talk about web.config later.

VSNewWebsiteCreated.png

You can run the web project the same way you run any other VS project press F5. When you start a web project for the first time it will prompt you to enable debugging. You can debug on your local machine so answer Modify web.config to enable debugging.

VSNewWebsiteDebug1.png

When the project starts VS actaully starts a small webserver on you local machine to server the project. Notice the new system try icon for the ASP.NET Development server and the port number in the URL. The port number is random every time the Dev server starts.

VSNewWebsiteEmbededWebserver.png

Create a project in your OOP wesite

you can also open an existing website with VS

VSOpenWebsite.png

This will open the opp class website

VSOpenWebsiteFileSystem.png

To open your website browser to your z drive a select your pub\oop folder. Or type the path as below

VSOpenWebsiteFileSystemOOP1.png

You can now work directly on your website in VS