==========================================================
ASP.NET Friendly URLs v1.0.1
==========================================================
----------------------------------------------------------
Overview
----------------------------------------------------------
ASP.NET Friendly URLs provides a simple way to remove the
need for file extensions on URLs for registered file
handler types, e.g. .aspx.
For more information see http://go.microsoft.com/fwlink/?LinkID=264514&clcid=0x409
----------------------------------------------------------
Setup
----------------------------------------------------------
If your app didn't have a RouteConfig class before
installing ASP.NET Friendly URLs package:
----------------------------------------------------------
The package includes a RouteConfig class that contains
the call required to enable Friendly URLs. This call must
be made from the Application_Start handler in your app's
Global.asax file.
Add the following to your Global.asax.cs file:
using System.Web.Routing;
...
protected void Application_Start(object sender, EventArgs e)
{
RouteConfig.RegisterRoutes(RouteTable.Routes);
}
If your app had a RouteConfig class before installing
ASP.NET Friendly URLs package:
----------------------------------------------------------
You'll need to update your RouteConfig class to enable
Friendly URLs.
Call EnableFriendlyUrls() in your RegisterRoutes method
*before* any existing route registrations:
public static void RegisterRoutes(RouteCollection routes)
{
routes.EnableFriendlyUrls();
// Put any additional route registrations here.
}
没有合适的资源?快使用搜索试试~ 我知道了~
资源详情
资源评论
资源推荐
收起资源包目录
ASP.NET Core SignalR .NET WPF (611个子文件)
MainWindow.baml 3KB
SignalRChatClient.csprojAssemblyReference.cache 400KB
SignalRChat.csprojAssemblyReference.cache 222KB
SignalRServer.csprojAssemblyReference.cache 207KB
SignalRChat.TagHelpers.output.cache 159KB
SignalRChat.assets.cache 142KB
DesignTimeResolveAssemblyReferencesInput.cache 73KB
project.nuget.cache 39KB
SignalRServer.assets.cache 35KB
project.nuget.cache 13KB
project.nuget.cache 4KB
SignalRChatClient.csproj.GenerateResource.cache 954B
SignalRChatClient_MarkupCompile.cache 268B
SignalRChatClient_MarkupCompile.i.cache 267B
SignalRChat.RazorTargetAssemblyInfo.cache 42B
SignalRChat.AssemblyInfoInputs.cache 42B
SignalRChat.RazorAssemblyInfo.cache 42B
SignalRChat.RazorCoreGenerate.cache 42B
SignalRChat.csproj.CoreCompileInputs.cache 42B
SignalRChat.genruntimeconfig.cache 42B
SignalRServer.csproj.CoreCompileInputs.cache 42B
SignalRServer.RazorTargetAssemblyInfo.cache 42B
SignalRServer.genruntimeconfig.cache 42B
SignalRServer.AssemblyInfoInputs.cache 42B
SignalRChatClient.csproj.CoreCompileInputs.cache 42B
SignalRChat.TagHelpers.input.cache 0B
SignalRServer.StaticWebAssets.Manifest.cache 0B
SignalRServer.MvcApplicationPartsAssemblyInfo.cache 0B
applicationhost.config 80KB
SignalRChatClient.exe.Config 19KB
SignalRChatClient.exe.config 19KB
csi.exe.config 8KB
VBCSCompiler.exe.config 8KB
vbc.exe.config 8KB
csc.exe.config 8KB
VBCSCompiler.exe.config 2KB
vbc.exe.config 2KB
csc.exe.config 2KB
App.config 2KB
SignalRChat.csproj.CopyComplete 0B
SignalRServer.csproj.CopyComplete 0B
SignalRChatClient.csproj.CopyComplete 0B
_Layout.cshtml.g.cs 50KB
_ValidationScriptsPartial.cshtml.g.cs 18KB
_CookieConsentPartial.cshtml.g.cs 9KB
Index.cshtml.g.cs 8KB
MainWindow.xaml.cs 7KB
MainWindow.g.cs 7KB
MainWindow.g.i.cs 7KB
Startup.cs 5KB
Startup.cs 5KB
Error.cshtml.g.cs 4KB
Contact.cshtml.g.cs 4KB
About.cshtml.g.cs 4KB
Privacy.cshtml.g.cs 3KB
ChatHub.cs 3KB
Resources.Designer.cs 3KB
_ViewStart.cshtml.g.cs 3KB
AccountController.cs 3KB
_ViewImports.cshtml.g.cs 2KB
App.g.i.cs 2KB
App.g.cs 2KB
AssemblyInfo.cs 2KB
ChatHub.cs 2KB
TokenService.cs 2KB
ConnectionMapping.cs 2KB
IdentityService.cs 1KB
IdentityService.cs 1KB
SignalRChat.RazorTargetAssemblyInfo.cs 1KB
Settings.Designer.cs 1KB
SignalRServer.AssemblyInfo.cs 1022B
SignalRChat.AssemblyInfo.cs 1016B
AuthMiddleware.cs 1005B
JwtSetting.cs 986B
JwtSetting.cs 984B
SignalRChat.RazorAssemblyInfo.cs 935B
AccountController.cs 760B
Program.cs 721B
User.cs 717B
SignalRServer.MvcApplicationPartsAssemblyInfo.cs 635B
Error.cshtml.cs 620B
Program.cs 417B
About.cshtml.cs 381B
Contact.cshtml.cs 367B
User.cs 352B
Privacy.cshtml.cs 309B
.NETFramework,Version=v4.6.1.AssemblyAttributes.cs 214B
RedisService.cs 193B
.NETCoreApp,Version=v2.1.AssemblyAttributes.cs 190B
.NETCoreApp,Version=v5.0.AssemblyAttributes.cs 190B
App.xaml.cs 189B
_Layout.cshtml 3KB
_CookieConsentPartial.cshtml 2KB
_ValidationScriptsPartial.cshtml 1KB
Index.cshtml 902B
Error.cshtml 849B
Contact.cshtml 471B
About.cshtml 174B
Privacy.cshtml 163B
_ViewImports.cshtml 101B
共 611 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
jkxywyd
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0