Monday, January 16, 2012

Hosting Silverlight application without IIS web-server


This post shows an example of a small application that hosts WCF services and html-pages with a Silverlight application. This application is the simple web-server, in fact, so we do not need IIS at all. 
The presented source code can be used as a template for similar projects. Just compile the solution in Visual Studio (VS)  and start it as Administrator, then type http://[computername]:8080 in your browser. You can also access to this application from remote computers (please do not forget about the firewall).

Thursday, January 5, 2012

How to work with SSL certificate configuration records via HTTP Server API

Here is the code sample to work with SSL certificate configuration records via HTTP Server API. The HttpApiSslCert class contains methods to add, remove or retrieve bindings between the https port and the SSL certificate.

How to check if a TCP port is available for listening

This sample code shows how to check if a TCP port is available for listening on the local computer.