Hosting WPF/E code on an ISP - adding content types
Due to the limitations of hosting my blog on the mammoth blogs.msdn.com and wanting to write WPF/E demos that I could show other people, I got myself some hosting space with www.discountasp.net
It does everything that you would expect an ASP.NET hoster to do like ASPX, Ajax and SQL. All I had to do get WPF/E working was to add a custom MIME type in the web based IIS manager for the XAML files (type text/xml). This had everything working hunky dory. If, for some reason you can't add XAML as a custom type, a workaround would be to rename your .XAML files as .XML and refer to them that way in agHost.
This is also the same process you need to go through to get full WPF applications delivered as an XBAP or ClickOnce working on your hosting space. Rob Relyea has a list of the custom types you will need to add here - WPF and hosters
Comments
- Anonymous
April 15, 2007
At NAB this week in Las Vegas, we have announced the product name for "WPF/E" and that is Silverlight