NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Multiple Web Apps Per Site

The HumanResources web site contains two applications: Benefits and Payroll. Each application consists of a number of html and aspx pages as well as NGWS runtime assemblies. Some of these assemblies run on the server and some are downloaded and run on the client. Allow they are published under the same site, these two applications are separate entities. There is no communication between them and in fact they must be isolated from each other.

Some of the html pages make reference to shared assemblies that are present on other websites.

The HumanResources site is laid out as follows:

Exposed URL Namespace File System Layout
http://HumanRes

\Payroll

default.htm

empdata.htm

absence.aspx

salary.aspx

\img

logo.gif

absence.gif

\Benefits

default.htm

empdata.htm

benlist.aspx

benadd.aspx

\img

logo.gif

health.gif

(Notes:

  • For security reasons the “code” and "dlls" directory is inaccessible by a browser
  • The shared assemblies used by both apps are not physically stored at this web site.

)

C:\inetpub\wwwroot

\Payroll

default.htm

empdata.htm

absence.aspx

salary.aspx

\img

logo.gif

absence.gif

\code

employee.cab

statistics.dll

\Benefits

default.htm

empdata.htm

benlist.aspx

benadd.aspx

\img

logo.gif

health.gif

\dlls

employee.dll

benutils.dll

As a further example, consider an ISP that hosts a web site that allows individuals to post home pages for free. Each customer is assigned a directory on the web server. The contents of that directory and any subdirectories is completely up to them. However, the ISP needs to enforce that code used by one customer cannot interact with code from another customer.