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!

Implementing the Scenarios

This section maps the implementation described in the previous section to the scenarios from the beginning of the document.

Simple Web Site – Wing Tip Toys

Wing Tip Toys does nothing to change the default behavior of the NGWS runtime with respect to creating AppDomains and locating assemblies. In fact, it does not even have a configuration file. Their default web page looks something like:

<html>

<head>
   <title>Wing Tip Toys</title>
</head>

<body>
<!-- lots of stuff here />
<object    id="customerCtrl" 
      classid=".\bin\customer.dll#custClass" 
   </object>

<object    id="calendarCtrl"       classid="http://www.contoso.com/public/calendar.dll#calendarClass" 
   </object>
</body>

</html>

Notes:

HumanResources

The HumanResources site contains two applications: Benefits and Payroll. The get the desired isolation behavior, the developers of the applications will include a LINK tag in each html page that points to the cfg file for that app. For example:

<html>

<head>
   <link rel="Configuration" href="http://humanres/payroll/app.cfg">
   <title>AcmeCorp Payroll</title>
</head>

<body>
<!-- lots of stuff here />
<object    id="employeeCtrl" 
      classid=".\code\employee.cab#empClass" 
   </object>

<object    id="calendarCtrl"       classid="http://www.contoso.com/public/calendar.dll#calendarClass" 
   </object>
</body>

</html>