Custom Route to remove controller name from Areas

后端 未结 0 1139
轮回少年
轮回少年 2020-11-30 00:04

I want to remove the controller name from the URL in Areas

http://example.com/AreasName/my-page

I try this

 context.MapRoute("AreasName_def         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题