Our CMS 7 site uses friendly url:s, but when I run the site by pressing "play" in Visual Studio 2012 the url:s are for example site/templates/default.aspx?id=12.
Is it some settings that are missing or what can it be? It doesn´t matter if I run Cassini, IIS-express or IIS 7.5.
I tested the Alloy tech site and that uses friendly url:s when running in Visual Studio.
For WebForms you need to have a httpModule registered as
<system.webServer> <modules runAllManagedModulesForAllRequests="true"> <add name="UrlRewriteModule" type="EPiServer.Web.RoutingUrlRewriteModule, EPiServer" preCondition="managedHandler" />..other modules
Cassini uses the "old" IIS configruation element (like httpModules instead of modules and so on).
Thank you, but unfortunately it didn´t help. The url:s still look like this: http://localhost:50523/Templates/EntrancePage.aspx?id=505&epslanguage=sv It´s the same if i run in IIS or IIS-express. Not just in Cassini.
Now it´s working in IIS and IIS-express. I was wrong in my last answer. Thanks for your help!
I have had the similar problem. But only in editmode. when editing an url in edit mode I get an non friendly url and also get a link with a guid and the page id at the end. Am i doing something wrong cause render in templete is working great though?