11.07.2015 Views

y - Net Developer

y - Net Developer

y - Net Developer

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

APPENDIX C ■ WCF AND .NET FRAMEWORK INSTALLATION STEPS 445ramrameshreddy.blog.comAt this point, clicking Install starts the installation process. Depending upon yourmachine’s resources (CPU, disk speed, and so on), installation can take some time. At completion,the Success screen appears; clicking Finish returns you to the Visual Studio Setup dialogbox where you can choose to install the MSDN documentation.The next section shows how to validate the ASP.NET part of the installation.■Note If you choose to not install the product documentation during the platform SDK installation, you areprompted during the .NET Framework 3.0 Development Tools for Visual Studio 2005 installation that you aremissing documentation. It is also recommended that you check for service releases to gain access to the latestpatches for Visual Studio 2005.Registering ASP.NETIf you installed IIS before installing either Visual Studio 2005 or the .NET 2.0 SDK (or .NET 2.0runtime), then you have an environment that is ready to support ASP.NET 2.0 applicationshosted within IIS.To verify that ASP.NET 2.0 is registered correctly on the development or runtime machine,you can perform a couple of steps. The verification steps are identical for both Windows XPand Windows 2003.First, from Administrative Tools (Start ➤ Control Panel ➤ Administrative Tools), doubleclickInternet Information Services. This opens the Internet Information ServicesManagement Console. Expand the local computer until you can see Default Web Site and allthe folders below it. Click it once to select. Choose File ➤ Properties from the main menu;alternatively, right-click, and choose Properties.At this point, the Default Web Site Properties dialog box appears. The appearance of anASP.NET tab in this dialog box indicates a successful .NET 2.0 runtime installation. That tab, ifyou select it, allows you to configure features related to .NET 2.0. Additionally, it allows you toswitch the version of ASP.NET on each virtual path. Figure C-1 shows the dialog box for theroot website that has its ASP.NET version set to the RTM version of .NET 2.0.■Note The ASP.NET Version drop-down box lists all the versions of .NET that are installed; however, theonly version of ASP.NET 2.0 and .NET 2.0 that .NET 3.0 (and consequently WCF) supports is .NET 2.0.ramrameshreddyramrameshreddyWhile you’re developing WCF applications hosted in IIS, you’ll get used to seeing this dialogbox. You’ll need to set this every time if you have mixed installs of .NET such as an earlierversion of the .NET Framework (we have both 1.1 and 2.0 installed, with 1.1 as the root version).If you don’t see the ASP.NET tab, there’s an issue with the ASP.NET 2.0 registration. At thispoint, please review the sidebar “ASP.NET Registration Issues.”

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

Saved successfully!

Ooh no, something went wrong!