==========================================================
ASP.NET Friendly URLs v1.0.0
==========================================================
----------------------------------------------------------
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:
public static void RegisterRoutes(RouteCollection routes)
{
routes.EnableFriendlyUrls();
}
没有合适的资源?快使用搜索试试~ 我知道了~
Asp.net旅游网站.rar
共736个文件
gif:151个
cs:89个
png:75个
需积分: 5 0 下载量 151 浏览量
2023-12-17
19:27:31
上传
评论
收藏 12.67MB RAR 举报
温馨提示
Asp.net旅游网站.rar
资源推荐
资源详情
资源评论
收起资源包目录
Asp.net旅游网站.rar (736个子文件)
Global.asax 92B
ViewSwitcher.ascx 244B
file_manager_json.ashx 6KB
upload_json.ashx 3KB
DeleteTrade.ashx 105B
CancelOrder.ashx 105B
RemoveCart.ashx 103B
SetSession.ashx 103B
PayMoney.ashx 99B
Province.ashx 99B
UserMan.ashx 97B
AddCart.ashx 97B
foucs.ashx 93B
City.ashx 91B
Area.ashx 91B
Buy.ashx 89B
Ems.ashx 89B
Go.ashx 87B
ScenicDetail.aspx 10KB
Default.aspx 6KB
AddScenic.aspx 5KB
Default.aspx 4KB
ForumDetail.aspx 4KB
Trade.aspx 4KB
Forum.aspx 4KB
Package.aspx 4KB
AddHotel.aspx 3KB
Hotel.aspx 3KB
Scenic.aspx 3KB
Scenic.aspx 3KB
User.aspx 3KB
HotelDetail.aspx 3KB
Msg.aspx 3KB
Cost.aspx 2KB
Forum.aspx 2KB
Msg.aspx 2KB
Pwd.aspx 2KB
AddForum.aspx 2KB
SignUp.aspx 2KB
Profile.aspx 2KB
demo.aspx 2KB
Hotel.aspx 2KB
AddCost.aspx 2KB
AddMsg.aspx 2KB
SignIn.aspx 1KB
Default.aspx 469B
LogOut.aspx 403B
EtripApp.csprojResolveAssemblyReference.cache 94KB
DesignTimeResolveAssemblyReferencesInput.cache 35KB
EtripApp.dll.config 4KB
Web.config 4KB
packages.config 2KB
Web.Release.config 1KB
Web.Debug.config 1KB
Redirect.VS11.config 752B
Redirect.config 500B
repositories.config 127B
AddScenic.aspx.cs 6KB
SqlHelper.cs 5KB
UserMan.ashx.cs 4KB
AddHotel.aspx.cs 3KB
Scenic.aspx.cs 3KB
Site.Master.cs 3KB
AddScenic.aspx.designer.cs 3KB
ForumDetail.aspx.cs 2KB
Hotel.aspx.cs 2KB
SignUp.aspx.cs 2KB
Buy.ashx.cs 2KB
Pwd.aspx.cs 2KB
AddHotel.aspx.designer.cs 2KB
Scenic.aspx.cs 2KB
Site.Mobile.Master.designer.cs 2KB
Forum.aspx.cs 2KB
foucs.ashx.cs 2KB
SignIn.aspx.cs 2KB
ViewSwitcher.ascx.cs 2KB
Area.ashx.cs 2KB
AdminMaster.Master.designer.cs 2KB
City.ashx.cs 1KB
Province.ashx.cs 1KB
Profile.aspx.cs 1KB
AssemblyInfo.cs 1KB
Package.aspx.cs 1KB
AddCart.ashx.cs 1KB
Msg.aspx.cs 1KB
Forum.aspx.cs 1KB
Cost.aspx.cs 1KB
Site.Master.designer.cs 1KB
AddForum.aspx.cs 1KB
SetSession.ashx.cs 1KB
AuthConfig.cs 1KB
AddCost.aspx.cs 1KB
ScenicDetail.aspx.cs 1KB
AddMsg.aspx.cs 1KB
Go.ashx.cs 1000B
DeleteTrade.ashx.cs 1000B
CancelOrder.ashx.cs 996B
PayMoney.ashx.cs 988B
MD5Encrypt.cs 917B
AddForum.aspx.designer.cs 813B
共 736 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
资源评论
计算机毕业设计之家
- 粉丝: 4806
- 资源: 158
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功