Ignore folder in ASP .NET MVC

后端 未结 2 380
无人共我
无人共我 2021-01-12 07:09

I have an existing ASP .NET MVC application and I would like to ignore a specific folder within it (where I intend to put PHP scripts).

I have tried adding an ignore

2条回答
  •  暖寄归人
    2021-01-12 08:06

    The IgnoreRoute you have provided looks fine. I tested it with Phil Haack's Route Debugger found here It's probably a typo, but did you add this to global.aspx.cs or global.asax.cs

提交回复
热议问题