==========================================================
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.
}
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
项目内包含Nginx文件,Nginx官方中文文档,以及用于测试的C#项目, 使用方法: 1、将C#项目解决方案中的两个项目启动起来。 2、安装nginx,并把项目中的nginx文件启动起来,想起的启动方法请参考:https://blog.csdn.net/qq_42455262/article/details/122487787。 2.2、若nginx启动出现异常可使用:tasklist | findstr nginx 命令近行检测。 3、nginx中文文档是向官方申请下载的,里面包含了nginx详细的配置说明,每个配置对应的作用和方法,nginx的工作原理,以及调优方法等。
资源推荐
资源详情
资源评论
收起资源包目录
Nginx负载均衡项目 (601个子文件)
Global.asax 99B
Global.asax 99B
ViewSwitcher.ascx 269B
ViewSwitcher.ascx 269B
Default.aspx 1KB
Default.aspx 1KB
Contact.aspx 727B
Contact.aspx 727B
About.aspx 396B
About.aspx 396B
WebApplication2.csproj.AssemblyReference.cache 26KB
WebApplication1.csproj.AssemblyReference.cache 25KB
DesignTimeResolveAssemblyReferencesInput.cache 16KB
DesignTimeResolveAssemblyReferencesInput.cache 16KB
DesignTimeResolveAssemblyReferences.cache 134B
WebApplication1.csproj.CoreCompileInputs.cache 42B
WebApplication2.csproj.CoreCompileInputs.cache 42B
CHANGES 316KB
nginx.conf 3KB
fastcgi.conf 1KB
applicationhost.config 85KB
csi.exe.config 8KB
csi.exe.config 8KB
csi.exe.config 8KB
VBCSCompiler.exe.config 8KB
VBCSCompiler.exe.config 8KB
VBCSCompiler.exe.config 8KB
vbc.exe.config 8KB
csc.exe.config 8KB
vbc.exe.config 8KB
csc.exe.config 8KB
vbc.exe.config 8KB
csc.exe.config 8KB
WebApplication1.dll.config 2KB
Web.config 2KB
WebApplication2.dll.config 2KB
Web.config 2KB
VBCSCompiler.exe.config 2KB
vbc.exe.config 2KB
csc.exe.config 2KB
packages.config 2KB
packages.config 2KB
Web.Release.config 1KB
Web.Release.config 1KB
Web.Debug.config 1KB
Web.Debug.config 1KB
Bundle.config 226B
Bundle.config 226B
WebApplication1.csproj.CopyComplete 0B
WebApplication2.csproj.CopyComplete 0B
Default.aspx.designer.cs 6KB
Default.aspx.designer.cs 6KB
Default.aspx.cs 2KB
Default.aspx.cs 2KB
BundleConfig.cs 2KB
BundleConfig.cs 2KB
Site.Mobile.Master.designer.cs 2KB
Site.Mobile.Master.designer.cs 2KB
ViewSwitcher.ascx.cs 2KB
ViewSwitcher.ascx.cs 2KB
AssemblyInfo.cs 1KB
AssemblyInfo.cs 1KB
Site.Master.designer.cs 1KB
Site.Master.designer.cs 1KB
Global.asax.cs 563B
Global.asax.cs 563B
RouteConfig.cs 479B
RouteConfig.cs 479B
About.aspx.designer.cs 474B
About.aspx.designer.cs 474B
ViewSwitcher.ascx.designer.cs 460B
ViewSwitcher.ascx.designer.cs 460B
Contact.aspx.designer.cs 453B
Contact.aspx.designer.cs 453B
Site.Mobile.Master.cs 343B
Site.Mobile.Master.cs 343B
Site.Master.cs 331B
Site.Master.cs 331B
Contact.aspx.cs 322B
Contact.aspx.cs 322B
About.aspx.cs 320B
About.aspx.cs 320B
.NETFramework,Version=v4.6.1.AssemblyAttributes.cs 214B
.NETFramework,Version=v4.6.1.AssemblyAttributes.cs 214B
WebApplication1.csproj 14KB
WebApplication2.csproj 14KB
bootstrap.css 143KB
bootstrap.css 143KB
bootstrap.css 143KB
bootstrap.css 143KB
bootstrap.min.css 119KB
bootstrap.min.css 119KB
bootstrap.min.css 119KB
bootstrap.min.css 119KB
bootstrap-theme.css 25KB
bootstrap-theme.css 25KB
bootstrap-theme.css 25KB
bootstrap-theme.css 25KB
bootstrap-theme.min.css 23KB
bootstrap-theme.min.css 23KB
共 601 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
或与且与或非
- 粉丝: 1w+
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 2023-04-06-项目笔记 - 第一百十九阶段 - 4.4.2.117全局变量的作用域-117 -2024.04.30
- Highlight Plus v20.0.1
- 基于MIC+NE555光敏电阻的声光控电路Multisim仿真原理图
- python tkinter-08-盒子模型.ev4.rar
- Doozy UI Manager 2023
- 基于matlab实现夜间车牌识别程序(1).rar
- 基于matlab实现无线传感器网络无需测距定位算法matlab源代码 包括apit,dv-hop,amorphous在内的共7个
- 基于python的yolov5实现的旋转目标检测
- 基于matlab实现无线传感器网络 CAB定位仿真程序 这是无线传感器节点定位CAB算法的仿真程序,由matlab完成.rar
- 基于matlab实现图像处理,本程序使用背景差分法对来往车辆进行检测和跟踪.rar
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功