No owin.Environment item was found in the context

前端 未结 12 1831
心在旅途
心在旅途 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:18

    Most likely it cannot find the OWIN Startup class. The default convention for the Startup class is [AssemblyName].Startup. If you're no longer following that convention you'll need to specify the full name of your Startup class in the Web.Config.

    The next release of Microsoft.Owin.Host.SystemWeb package now throws detailed exception messages when the Startup class cannot be found.

提交回复
热议问题