==========================================================
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.
}
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
C# 带进度条的批量压缩解压文件,zip格式;还可以一键上传到远程服务器的指定目录下 (750个子文件)
Global.asax 93B
Global.asax 93B
ViewSwitcher.ascx 263B
ViewSwitcher.ascx 263B
Default.aspx 2KB
Default.aspx 2KB
Contact.aspx 721B
Contact.aspx 721B
FileSave.aspx 436B
FileSave.aspx 436B
About.aspx 390B
About.aspx 390B
Blue Elastic Add.bmp 2KB
floder14.bmp 2KB
WebUpload.csprojAssemblyReference.cache 147KB
WebUpload.csprojAssemblyReference.cache 122KB
WindowsFormsApplication1.csprojAssemblyReference.cache 92KB
DesignTimeResolveAssemblyReferences.cache 35KB
WebUpload.csproj.AssemblyReference.cache 25KB
DesignTimeResolveAssemblyReferencesInput.cache 16KB
DesignTimeResolveAssemblyReferencesInput.cache 15KB
WindowsFormsApplication1.csprojResolveAssemblyReference.cache 12KB
WindowsFormsApplication1.csproj.AssemblyReference.cache 10KB
DesignTimeResolveAssemblyReferencesInput.cache 8KB
WindowsFormsApplication1.csproj.GenerateResource.cache 1KB
WebUpload.csproj.CoreCompileInputs.cache 42B
WebUpload.csproj.CoreCompileInputs.cache 42B
WindowsFormsApplication1.csproj.CoreCompileInputs.cache 42B
applicationhost.config 84KB
applicationhost.config 84KB
csi.exe.config 9KB
csi.exe.config 9KB
csi.exe.config 9KB
VBCSCompiler.exe.config 8KB
VBCSCompiler.exe.config 8KB
VBCSCompiler.exe.config 8KB
csc.exe.config 8KB
vbc.exe.config 8KB
vbc.exe.config 8KB
csc.exe.config 8KB
vbc.exe.config 8KB
csc.exe.config 8KB
Web.config 2KB
Web.config 2KB
WebUpload.dll.config 2KB
Web.config 2KB
Web.config 2KB
VBCSCompiler.exe.config 2KB
csc.exe.config 2KB
vbc.exe.config 2KB
packages.config 2KB
Web.Release.config 1KB
Web.config 1KB
Web.Debug.config 1KB
Bundle.config 226B
Bundle.config 226B
WindowsFormsApplication1.vshost.exe.config 189B
WindowsFormsApplication1.exe.config 189B
App.config 189B
WebUpload.csproj.CopyComplete 0B
WebUpload.csproj.CopyComplete 0B
WindowsFormsApplication1.csproj.CopyComplete 0B
Form1.cs 17KB
Form1.Designer.cs 14KB
Form2.Designer.cs 9KB
Form2.cs 8KB
Resources.Designer.cs 3KB
ProgressBar.Designer.cs 3KB
BundleConfig.cs 2KB
Site.Mobile.Master.designer.cs 2KB
ViewSwitcher.ascx.cs 2KB
ProgressBar.cs 1KB
AssemblyInfo.cs 1KB
AssemblyInfo.cs 1KB
Default.aspx.cs 1KB
Site.Master.designer.cs 1KB
Settings.Designer.cs 1KB
FileSave.aspx.cs 1KB
FileSave.aspx.designer.cs 795B
Program.cs 582B
Global.asax.cs 557B
RouteConfig.cs 473B
Default.aspx.designer.cs 473B
About.aspx.designer.cs 470B
ViewSwitcher.ascx.designer.cs 454B
Contact.aspx.designer.cs 449B
Site.Mobile.Master.cs 337B
Site.Master.cs 325B
Contact.aspx.cs 316B
About.aspx.cs 314B
.NETFramework,Version=v4.6.1.AssemblyAttributes.cs 214B
.NETFramework,Version=v4.5.2.AssemblyAttributes.cs 214B
TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs 0B
TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs 0B
TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs 0B
TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs 0B
TemporaryGeneratedFile_5937a670-0e60-4077-877b-f7221da3dda1.cs 0B
TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs 0B
TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs 0B
TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs 0B
共 750 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
你四不四傻
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功