2012-07-02 4 views

ответ

2

быстрый поиск придвинул правило, которое вы можете запустить

<rule name=""> 
     <!--Removes the .aspx extension for all pages.--> 
     <match url="(.*)" /> 
     <conditions logicalGrouping="MatchAll"> 
     <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> 
     <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" /> 
     </conditions> 
     <action type="Rewrite" url="{R:1}.aspx" /> 
    </rule> 
+0

где можно добавить этот код сэр? – Sagotharan

+0

http://weblogs.asp.net/scottgu/archive/2007/02/26/tip-trick-url-rewriting-with-asp-net.aspx –

Смежные вопросы