==========================================================
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.
}
没有合适的资源?快使用搜索试试~ 我知道了~
.net webform 项目无aspx后缀方法,完整源码
共108个文件
dll:26个
xml:20个
cs:10个
5星 · 超过95%的资源 需积分: 5 1 下载量 99 浏览量
2022-07-03
14:38:27
上传
评论
收藏 12.07MB RAR 举报
温馨提示
C# .net webform 项目,运行后地址 无aspx 后缀。完整源码。
资源详情
资源评论
资源推荐
收起资源包目录
.net webform 项目无aspx后缀方法,完整源码 (108个子文件)
Global.asax 99B
ViewSwitcher.ascx 269B
WebForm1.aspx 469B
DesignTimeResolveAssemblyReferencesInput.cache 9KB
WebApplication3.csproj.CoreCompileInputs.cache 42B
WebApplication3.csproj.AssemblyReference.cache 11B
applicationhost.config 84KB
WebApplication3.dll.config 3KB
Web.config 3KB
Web.Release.config 1KB
Web.Debug.config 1KB
packages.config 686B
WebApplication3.csproj.CopyComplete 0B
Global.asax.cs 2KB
Site.Mobile.Master.designer.cs 2KB
ViewSwitcher.ascx.cs 2KB
AssemblyInfo.cs 1KB
WebForm1.aspx.designer.cs 791B
ViewSwitcher.ascx.designer.cs 460B
RouteConfig.cs 351B
Site.Mobile.Master.cs 343B
WebForm1.aspx.cs 337B
.NETFramework,Version=v4.0.AssemblyAttributes.cs 208B
WebApplication3.csproj 8KB
EntityFramework.dll 4.83MB
EntityFramework.dll 4.62MB
EntityFramework.dll 4.62MB
EntityFramework.SqlServer.dll 567KB
EntityFramework.SqlServer.dll 564KB
EntityFramework.SqlServer.dll 564KB
DotNetOpenAuth.Core.dll 227KB
DotNetOpenAuth.Core.dll 227KB
DotNetOpenAuth.Core.dll 227KB
DotNetOpenAuth.Core.dll 225KB
System.Net.Http.dll 178KB
System.Net.Http.dll 178KB
EntityFramework.PowerShell.dll 49KB
Microsoft.AspNet.Membership.OpenAuth.dll 46KB
Microsoft.AspNet.Membership.OpenAuth.dll 46KB
Microsoft.AspNet.Membership.OpenAuth.dll 46KB
Microsoft.AspNet.FriendlyUrls.dll 45KB
Microsoft.AspNet.FriendlyUrls.dll 45KB
Microsoft.AspNet.FriendlyUrls.dll 45KB
Microsoft.Web.Infrastructure.dll 44KB
Microsoft.Web.Infrastructure.dll 44KB
System.Net.Http.WebRequest.dll 15KB
System.Net.Http.WebRequest.dll 15KB
EntityFramework.PowerShell.Utility.dll 13KB
WebApplication3.dll 9KB
WebApplication3.dll 9KB
migrate.exe 518KB
Site.Mobile.Master 878B
EntityFramework.6.0.0.nupkg 4.81MB
DotNetOpenAuth.Core.4.3.4.13329.nupkg 485KB
Microsoft.Net.Http.2.0.20505.0.nupkg 111KB
Microsoft.AspNet.FriendlyUrls.Core.1.0.2.nupkg 62KB
Microsoft.AspNet.Membership.OpenAuth.2.0.1.nupkg 59KB
Microsoft.Web.Infrastructure.1.0.0.0.nupkg 34KB
Microsoft.AspNet.FriendlyUrls.1.0.2.nupkg 16KB
.signature.p7s 9KB
.signature.p7s 9KB
.signature.p7s 9KB
.signature.p7s 9KB
.signature.p7s 9KB
.signature.p7s 9KB
.signature.p7s 9KB
WebApplication3.pdb 26KB
WebApplication3.pdb 26KB
Site.Mobile.Master.designer.cs.pp 2KB
ViewSwitcher.ascx.cs.pp 2KB
Site.Mobile.Master.pp 881B
RouteConfig.cs.pp 482B
ViewSwitcher.ascx.designer.cs.pp 463B
Site.Mobile.Master.cs.pp 346B
ViewSwitcher.ascx.pp 272B
install.ps1 10KB
init.ps1 10KB
EntityFramework.psd1 24KB
EntityFramework.psm1 38KB
WebApplication3.sln 1KB
.suo 72KB
web.config.transform 2KB
App.config.transform 209B
Web.config.transform 209B
WebApplication3.csproj.FileListAbsolute.txt 2KB
about_EntityFramework.help.txt 2KB
readme.txt 2KB
WebApplication3.csproj.user 1KB
EntityFramework.xml 6.56MB
EntityFramework.xml 6.13MB
EntityFramework.xml 6.13MB
DotNetOpenAuth.Core.xml 593KB
DotNetOpenAuth.Core.xml 593KB
DotNetOpenAuth.Core.xml 593KB
DotNetOpenAuth.Core.xml 592KB
EntityFramework.SqlServer.xml 326KB
EntityFramework.SqlServer.xml 326KB
EntityFramework.SqlServer.xml 326KB
System.Net.Http.xml 152KB
System.Net.Http.xml 152KB
共 108 条
- 1
- 2
jackwangbo
- 粉丝: 0
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论10