您可以关闭 ASPNET 提供程序执行的架构检查吗
我们创建了一个自定义成员资格提供程序,但我们继承了角色和配置文件提供程序。 我们遇到的问题是提供程序似乎对 aspnet_CheckSchemaVersion 进行了调用 - 我认为它是角色或配置文件提供程序,因为我们的成员资格提供程序不是继承的,并且我们不调用 db。
除了编写我们自己的角色和配置文件提供程序之外,是否有其他方法可以关闭此提供程序架构检查。
我希望您可以添加/指定一个属性来执行此操作。
We have created a custom membership provider, but we have inherited the Role and Profile providers. The problem we are having is there appears to be calls being made to aspnet_CheckSchemaVersion by the providers - I assume its the Role or Profile provider as our membership provider isn't inherited and we don't call the db.
Is there a way to turn off this provider schema check other than write our own Role and Profile Providers.
I was hoping there was an attribute you can add/specify that does this.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我们创建了自己的角色和配置文件提供商,但欢迎替代解决方案。
We created our own Role and Profile providers but would welcome an alternative solution.