08.01.2015 Views

Beginning Web Development, Silverlight, and ASP.NET AJAX

Beginning Web Development, Silverlight, and ASP.NET AJAX

Beginning Web Development, Silverlight, and ASP.NET AJAX

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 6<br />

Deploying Your <strong>Web</strong> Site<br />

In this chapter, you will look at an important step in your application life cycle—<br />

deploying it to a web server <strong>and</strong> ensuring that it works post-deployment. You will look at<br />

Microsoft Windows Server 2003 <strong>and</strong> how to use it to run IIS to serve your application.<br />

Deployment involves a lot more than just copying your application to the target server.<br />

You’ll need to configure the server, configure security scenarios, add dependencies, configure<br />

data connections, fine-tune your server performance, <strong>and</strong> a whole lot more<br />

besides!<br />

In IIS, you use the concept of a virtual directory to run your application. A virtual<br />

directory maps a URL (Universal Resource Locator, or in other words, the Internet<br />

address for the page you’re about to display) to a physical directory h<strong>and</strong>led by IIS. For<br />

example, if you have a directory C:\MyApp on your server, you can configure IIS to treat<br />

this as a web application by configuring it as a virtual directory. The virtual directory will<br />

then be accessed from the browser through http://url/

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!