简体   繁体   中英

IIS Express and VS 2015 bypassing my index

I do not understand why this is but when I try to debug with VS2015 sometimes it will go to my index action (where it is determined if the user is authorized or not) and then supposed to go to a Request action. Most often it tries to go directly to the Request action without ever hitting the Index. Why does it do this? It is frustrating!

Check your project settings. If Current Page is set it might execute the Action that your in.

VS项目设置

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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