Tuesday, March 9, 2010

How to host a silverlight website

Hai,
To host a silverlight website or a website which includes the silverlight application. Note that the hosting is in your server and trying to configure in 'Windows server2003'.
1>
Right click website on your iis- properties- Home directory - Configure
O\on 'Mappings' tab - ''ADD"
Two new extensions- '.aspx' and '.wgx' extensions and its executables.
The executable are same for both .aspx and wgx that is "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll"
Check 'Script engine' and uncheck 'verify that file exists'.

2>
Right click server name - Properties - 'MIMEtypes' - 'New'
and add three new extensions and MIME type.
extension MIMEType
.xap application/x-silverlight-2
.xaml application/xaml+xml
.xbap application/x-ms-xbap

These are the special settings to host silverlight website, all othrs are same to host
a normal website hosyting.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home