Hello Sal,
ASP.NET defines an application as the sum of all files, pages, handlers,
modules,
and executable code that can be invoked or run in the scope of a given
virtual directory
(and its subdirectories) on a Web application server. For example, an
"order" application
might be published in the "/order" virtual directory on a Web server
computer. For IIS the
virtual directory can be set up in the Internet Services Manager; it
contains all subdirectories,
unless the subdirectories are virtual directories themselves.
Each ASP.NET Framework application on a Web server is executed within a
unique .NET Framework
application domain, which guarantees class isolation (no versioning or
naming conflicts), security
sandboxing (preventing access to certain machine or network resources), and
static variable isolation.
To create an ASP.NET Framework application you can use an existing virtual
directory or create a new one.
For example, if you installed Windows 2000 Server including IIS, you
probably have a directory
C:\InetPub\WWWRoot. You can configure IIS using the Internet Services
Manager, available under
Start -> Programs -> Administrative Tools. Right-click on an existing
directory and choose either New
(to create a new virtual directory) or Properties (to promote an existing
regular directory).
By placing a simple .aspx page like the following in the virtual directory
and accessing it with the browser,
you trigger the creation of the ASP.NET application.
<%@Page Language="C#"%>
<html>
<body>
<h1>hello world, <% Response.Write(DateTime.Now.ToString()); %></h1>
</body>
</html>
<%@Page Language="VB"%>
<html>
<body>
<h1>hello world, <% Response.Write(DateTime.Now.ToString()) %></h1>
</body>
</html>
<%@Page Language="JScript"%>
<html>
<body>
<h1>hello world, <% Response.Write(DateTime.Now.ToString()); %></h1>
</body>
</html>
HTH
Mona
[quoted text, click to view] "Sal" <Sal@discussions.microsoft.com> wrote in message
news:0A3C206C-CA0D-4967-B55E-68EFD78A78CC@microsoft.com...
> how do i set up a virtual directory to create a new asp.net application?
>
> sal