There is no editor available for "
.xaml". Make sure the application for file type(.xaml) is installed.
Tried reinstalling service packs and all, but no luch. Until I ran into this thread. The answer given there worked for me too. And it's to close down Visual Studio and then run the following command:
Voilá, there was the designer in working order! :)
over at Microsoft. But to keep it simple, this is what a relative Uri should be written like:
Uri myRelativeUri = new Uri("pack://siteoforigin:,,,/myfolder/myfile.txt");
C# Image Library 1.2.1 - source code
C# Image Library 1.2.1 - DLL binary
EPiServer.UrlBuilder url = new EPiServer.UrlBuilder(page.LinkURL);You then use url.ToString() to get a proper Url.
EPiServer.Global.UrlRewriteProvider.ConvertToExternal(url, page.PageLink, System.Text.UTF8Encoding.UTF8);
In the end it turned out to be the wildcard mapping in the IIS that was the problem. It was set to validate the existence of the physical files before processing them, thus rendering the friendly url rewriter useless.
Here's the blog post that helped us solve it: