ASP.NET MVC 4 替代 ProfileCommon?

发布于 2025-01-03 05:32:49 字数 149 浏览 1 评论 0 原文

我正在将 WebForms 应用程序迁移到 MVC。我的应用程序的核心组件之一是大量使用 ProfileCommon 类。我的问题是,如何将现有的配置文件数据从数据库获取到 ASP.NET MVC 控制器中?似乎不支持 ProfileCommon。与此同时,并没有真正明确的迁移路径。

I am migrating a WebForms application to MVC. One of the core components of my application though is heavy use of the ProfileCommon class. My question is, how the hell do I get my existing Profile data from my database into my ASP.NET MVC controller? It looks like ProfileCommon isn't supported. At the same time, there isn't really a clear migration path.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文