No owin.Environment item was found in the context

前端 未结 12 1832
心在旅途
心在旅途 2020-12-10 00:44

Microsoft recently introduced new ASP.NET Identity - replacement for old (Simple)Membership. Unfortunately, I can\'t use this new membership system in my old project because

12条回答
  •  春和景丽
    2020-12-10 01:10

    I created two new projects called TesteMvc5.2 and TesteMvc5.0 and both of them didn't work at start

    this is because the default namespace is different from the assembly name. but after I put the line

    
    

    on the web.config it worked fine.

提交回复
热议问题