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.

138<br />

CHAPTER 6 ■ DEPLOYING YOUR WEB SITE<br />

Figure 6-11. Managing your application extensions<br />

You can browse through the settings in this dialog box to see the h<strong>and</strong>lers for each<br />

file type. For example, the <strong>ASP</strong>X file type is h<strong>and</strong>led by aspnet_isapi.dll.<br />

Side-by-Side Execution<br />

There are several versions of the .<strong>NET</strong> Framework available: 1.0, 1.1, 2.0, 3.0, <strong>and</strong> 3.5.<br />

These are installed in separate directories in your primary Windows folder (the location<br />

of which varies by operating system). You may have noticed that the Application Configuration<br />

dialog box is a property of the virtual directory <strong>and</strong> not of the machine itself. Thus,<br />

you can specify different versions of aspnet_isapi.dll to h<strong>and</strong>le each site. Therefore, you<br />

can configure a site in one virtual directory to use <strong>ASP</strong>.<strong>NET</strong> 2.0 <strong>and</strong> another site in a different<br />

virtual directory to use <strong>ASP</strong>.<strong>NET</strong> 3.0.<br />

Thus, a single web server isn’t bound to a specific version of <strong>ASP</strong>.<strong>NET</strong>.<br />

Manually Deploying Your <strong>ASP</strong>.<strong>NET</strong> Applications<br />

Because <strong>ASP</strong>.<strong>NET</strong> 2.0 has a runtime compilation model, deployment is a lot easier than in<br />

previous versions of <strong>ASP</strong>.<strong>NET</strong>—for simple applications, you just deploy your <strong>ASP</strong>X <strong>and</strong><br />

code-behind files, <strong>and</strong> the web server h<strong>and</strong>les the rest.

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

Saved successfully!

Ooh no, something went wrong!