简体   繁体   English

App_Start位于哪里?

[英]Where is App_Start located?

I tried looking under: IIS Manager, but I only see: 我尝试查看以下内容:IIS管理器,但仅看到:

StartPage
name
Applicationpools
Sites
  WebsiteName 

I tried searching my physical C:\\ drive for App_Start and found nothing 我尝试在物理C:\\驱动器中搜索App_Start ,但一无所获

I tried searching my physical C:\\ drive for RouteConfig.cs and found nothing 我尝试在我的物理C:\\驱动器中搜索RouteConfig.cs ,却一无所获

I'm just trying to find the Routes (ie end-points) so I can edit them. 我只是想找到路线(即端点),以便我可以对其进行编辑。

Once you expand Global.asax file, you will find .cs file which contains it. 展开Global.asax文件后,您将找到包含它的.cs文件。 在此处输入图片说明

If it's "published" (and) compiled , you won't find either/any (source code) cs files. 如果它是“已发布”(和)已编译的 ,则不会找到任何一个(任何)(源代码) cs文件。

You'll need to get to the source project/solution. 您需要转到项目/解决方案。

Hth. 心连心。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM