Comments on: Configuring IIS for Silverlight Applications https://www.thomasmaurer.ch/2010/01/configuring-iis-for-silverlight-applications/ Cloud and Datacenter Blog focusing on Microsoft Azure Fri, 05 Jul 2019 12:33:34 +0000 hourly 1 https://wordpress.org/?v=6.4.1 By: .Net guy but IIS guy today https://www.thomasmaurer.ch/2010/01/configuring-iis-for-silverlight-applications/#comment-808 Thu, 26 Aug 2010 23:30:11 +0000 http://www.thomasmaurer.ch/?p=391#comment-808 This is how you setup IIS 6 to run .Net 4.0 as the default framework and support Silverlight 4.0.
Run:
C:\Windows\Microsoft.NET\Framework\1033\aspnet_regiis.exe -u
C:\Windows\Microsoft.NET\Framework\v1.0.3705\aspnet_regiis.exe -u
C:\Windows\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -u
C:\Windows\Microsoft.NET\Framework\v2.0.50215\aspnet_regiis.exe -u
C:\Windows\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -u
C:\Windows\Microsoft.NET\Framework\v3.0\aspnet_regiis.exe -u
C:\Windows\Microsoft.NET\Framework\v3.5\aspnet_regiis.exe -u
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i
A few of the CMD’s may return an error file not found.
You also have to add the MIME types for Silverlight:
.xaml – application/xaml+xml
.xap – application/x-silverlight-app
.xbap – application/x-ms-xbap
A new site will be created as .Net 4.0 default and update all current websites to .Net 4.0 as the default framework. IIS 6 configuration mappings will show 4.0.
Please share with your readers. This is a 100% will work solution.

]]>
By: .Net guy but IIS guy today https://www.thomasmaurer.ch/2010/01/configuring-iis-for-silverlight-applications/#comment-1682 Thu, 26 Aug 2010 23:30:00 +0000 http://www.thomasmaurer.ch/?p=391#comment-1682 This is how you setup IIS 6 to run .Net 4.0 as the default framework and support Silverlight 4.0.
Run:
C:WindowsMicrosoft.NETFramework1033aspnet_regiis.exe -u
C:WindowsMicrosoft.NETFrameworkv1.0.3705aspnet_regiis.exe -u
C:WindowsMicrosoft.NETFrameworkv1.1.4322aspnet_regiis.exe -u
C:WindowsMicrosoft.NETFrameworkv2.0.50215aspnet_regiis.exe -u
C:WindowsMicrosoft.NETFrameworkv2.0.50727aspnet_regiis.exe -u
C:WindowsMicrosoft.NETFrameworkv3.0aspnet_regiis.exe -u
C:WindowsMicrosoft.NETFrameworkv3.5aspnet_regiis.exe -u
C:WindowsMicrosoft.NETFrameworkv4.0.30319aspnet_regiis.exe -i
A few of the CMD’s may return an error file not found.
You also have to add the MIME types for Silverlight:
.xaml – application/xaml+xml
.xap – application/x-silverlight-app
.xbap – application/x-ms-xbap
A new site will be created as .Net 4.0 default and update all current websites to .Net 4.0 as the default framework. IIS 6 configuration mappings will show 4.0.
Please share with your readers. This is a 100% will work solution.

]]>
By: Joseph https://www.thomasmaurer.ch/2010/01/configuring-iis-for-silverlight-applications/#comment-465 Thu, 04 Mar 2010 20:46:53 +0000 http://www.thomasmaurer.ch/?p=391#comment-465 I got an “Invalid Sytax” from GetObject(“IIS://LocalHost/MimeMap”) when running on 2008 server

]]>
By: Joseph https://www.thomasmaurer.ch/2010/01/configuring-iis-for-silverlight-applications/#comment-1681 Thu, 04 Mar 2010 20:46:00 +0000 http://www.thomasmaurer.ch/?p=391#comment-1681 I got an “Invalid Sytax” from GetObject(“IIS://LocalHost/MimeMap”) when running on 2008 server

]]>