您可以关闭 ASPNET 提供程序执行的架构检查吗

发布于 2024-07-26 19:33:03 字数 232 浏览 3 评论 0原文

我们创建了一个自定义成员资格提供程序,但我们继承了角色和配置文件提供程序。 我们遇到的问题是提供程序似乎对 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

安人多梦 2024-08-02 19:33:03

我们创建了自己的角色和配置文件提供商,但欢迎替代解决方案。

We created our own Role and Profile providers but would welcome an alternative solution.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文