Does not exist the MS_HttpContext, why are the examples of others in MS_HttpContext, please answer the great god
CodePudding user response:
HttpContext. Current. The RequestCodePudding user response:
And you should not take the properties into httpcontextbase,They will not have relations of objects,
CodePudding user response:
Well, since you stick figure that actually you can debug programDid you see the owin? We also see from the figure the Form1 that you did use owin self host, so, you should see owin self host things
I do know that Microsoft during that time some hesitation, design, and some mess, because I also find out how owin self take httpcontext under the condition of the host data, but time is long, I'm too lazy to write this kind of thing, you can only himself in the check information with "owin self host", still have to see you use version (at the time Microsoft too chaos, you use the version is different, things are not the same as)
CodePudding user response:
Var id=(the req. Prop [0] as OwinContext). Request. Query. Get (" signin ");