This blog is subject the DISCLAIMER below.

Saturday, February 17, 2007

Types of web site in ASP.NET 2.0

In the name of Allah ,
1- File system Web sites .
2- Local IIS Web sites .
3- FTP Web sites .
4- Remote Web sites .

This are types of web site that you can develop it by ASP .NET 2.0 as illustrate in picture .This article will be useful isA , if you interest to know the different between them , want to know why this types or want increase your knowledge .

1-Local IIS Web sites :
First of all to create a local Web site:
  • *you need to have administrative rights (Windows administrator) .
  • *you must have IIS installed on your computer.
Local IIS Web sites store the pages and folders in the IIS default directory structure (that is, \Inetpub\wwwroot). By default, Visual Studio creates a virtual directory under IIS. However, you may create a virtual directory ahead of time and store the code for your Web site in any folder. The virtual directory just needs to point to that location. One important reason to create a local Web site is to test your application against a local version of IIS, for example, if you need to test such features as application pooling, ISAPI filters, or HTTP-based authentication. Even though a site is accessible from other computers, it's often much easier to test these aspects of your application when you can see it interact with IIS on your computer.

2-File System Web Sites :
  • *File system Web sites live in any folder you specify .The folder may be on your local computer or on another computer sharing that folder.
  • *File system Web sites do not require IIS running on your computer. But , you run pages by using the Visual Studio Web server( Visual Studio 2005 includes its own built-in Web server. This lets you develop Web applications effectively even if you don't have IIS installed on your development machine).
Form File System Web Sites advantage is you may develop your Web site on your computer even when logged on as a user without administrative rights. This scenario is only useful for developing and testing those features of your site that you develop. Because IIS is out here, you won't be able to work with (or have to deal with) such IIS features as ISAPI filters, application pooling, or authentication.

3-FTP Web Sites :
Via Visual Studio you can create HTTP-based sites or manage Web sites available through an FTP server. For example, if you use a remote hosting company to host your Web site, an FTP offers a way to move files back and forth between your development location and the hosting location. You then use Visual Studio to manage the content on the remote FTP server.
  • *You might use this option to test the Web site on the live server where it will actually be deployed.
  • *By default, Visual Studio logs you in to the FTP server as an anonymous user. However, some FTP servers require you to provide a username and password. In that case, you can deselect the Anonymous Login option and then enter your username and password. The username and password are saved until you end the Visual Studio session.
4-Remote Web Sites
  • *Remote Web sites use IIS on another computer that is accessible over a local area network.
  • *To create this type of web site, FrontPage Server Extensions must be installed on the remote computer.
  • *By default, a web application that you create on a remote server doesn’t have the permissions needed to change files in the web site at runtime. If an application needs to change a file, then, you’ll need to contact the system administrator about giving it the appropriate permissions.
This option is useful if you decide you want to test the Web site on its actual deployment server. In addition, the entire development team can work on the site simultaneously.
My source :

No comments: