
|

|

|
 |
Creating WebDAV HttpHandler
If you need to create WebDAV Server based on .Net Framework 1.x you will have to host you server in IIS. The following steps describe how to create HttpHandler-based WebDAV server:
- Implement IFolder, IResource, IResponse interfaces and create 2 classes derived from Request and Engine classes as described in Creating Class 1 WebDAV Server. Optionally you can implement ILockNull, ILock and IFolderLock for Class 2 support.
- Create your class derived from IHttpHandler:
public class MyHttpHandler : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
MyEngine engine = new MyEngine();
MyRequest request = new MyRequest();
MyRespose response = new MyRespose();
engine.Run(request, response);
}
}
- Create web application in IIS that will be the root of your WebDav server storage. Configure your web application to catch all WebDAV related verbs as described in Creating WebDAV Server Web Application in IIS.
- Place your dll file created in steep 1 and 2 and ITHit.WebDav.dll to the \bin folder of your web application.
- Place License.lic at the root of your WebDAV server. If you would like to store license in any other place read more at Reading the License.
- Place web.config file at the root of your application. In the web.config file set your HTTP handler class created in step 2 as the only HTTP handler of your application. Clear all other handlers:
<httpHandlers>
<clear />
<add verb="*" path="*" type="MyNamespace.MyHttpHandler, MyDll" />
</httpHandlers>
See Also:
|
 |

|
|
Selected Customers:
| Country: Norway |
 |
| DnB NOR Group |
| Country: Finland |
 |
| Bank of Finland |
| Country: United Kingdom |
 |
| Bechtle Direct |
| Country: Sweden |
 |
| BT Industries |
| Country: USA |
 |
| California Chamber of Commerce |
| Country: Denmark |
 |
| Danfoss Group |
| Country: Denmark |
 |
| DFDS |
| Country: USA |
 |
| Fluke Networks |
| Country: USA |
 |
| HNI Corporation |
| Country: USA |
 |
| IHS Inc |
| Country: USA |
 |
| LandAmerica Financial Group |
| Country: Canada |
 |
| Laurentian University |
| Country: USA |
 |
| Microsoft |
| Country: Israel |
 |
| RADVISION |
| Country: Ukraine |
 |
| Raiffeisen Bank |
| Country: Netherlands |
 |
| Sanoma Uitgevers |
| Country: USA |
 |
| Siemens |
| Country: Australia |
 |
| WorkCover NSW |
| Country: Ukraine |
 |
| OTP Bank |
| Country: USA |
 |
| Intel Corporation |
| Country: Austria |
 |
| Austrian Federal Railways |
|
|
 |
|