有人深入了解 ASP.NET WebFormsMVP 吗?

发布于 2024-09-25 01:05:45 字数 295 浏览 11 评论 0原文

最近我遇到了这个开源项目 ASP.NET WebformsMVP

它似乎是 asp.net mvc 的替代方案,也是将可测试性引入现有 Webforms 应用程序的快速方法。 (无需经历重写一堆代码以使其适用于 asp.net mvc 的痛苦)

当然,社区支持和开源项目放弃始终是尝试新事物时的一个问题,但要摆脱这些恐惧,有人认真尝试过这个框架吗?如果是这样,您能否分享一些对其优缺点的见解以及是否真的值得尝试?

多谢!

Recently I ran into this open source project ASP.NET WebformsMVP.

It seems like an alternative to asp.net mvc and also a quick way to introduce testability into an existing webforms applications. (without having to go through the pain of rewriting a bunch of code to make it work for asp.net mvc)

Of couse community support and open-source projects abandonment is always a concern when trying new things, but moving on from those fears, has anyone giving it a serious try at this framework? If so, can you share some insight into its pros/cons and if it's really worth trying it?

Thanks a lot!

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

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

发布评论

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

评论(1

骑趴 2024-10-02 01:05:45

WebformsMVP 现在包含在 DotNetNuke 中,因此我们已经开始间接使用它作为 DNN 中自定义模块开发的一部分。

我认为我们没有充分利用该框架的所有功能,但迄今为止还没有遇到任何问题。该实现非常干净且易于实现,并且改造现有的 Webforms 代码也相当简单。对我们来说,学习曲线很小。

我们遇到过很多情况,我们不确定做事的“正确”方式,并且在网上找到的指导非常有限。 (尽我所能避免它,有时我只需要在 ViewState 中插入一些东西。)但是,随着 DNN 团队使用它,我们非常有信心它不会很快消失,而且越来越多的示例应该出现在网上。

当然,我鼓励它的使用,即使只是出于希望看到社区成长的自私原因。

WebformsMVP is included in DotNetNuke now, so we have started using it indirectly as part of custom module development within DNN.

I don't think we're fully utilizing everything the framework is capable of, but have had no problems to date. The implementation is very clean and simple to implement, and retrofitting existing webforms code is fairly straightforward. For us the learning curve has been minimal.

We have run into a number of cases where we aren't certain of the "right" way to do things, and have found pretty limited guidance online. (Try as I might to avoid it, sometimes I just have to poke some stuff into the ViewState.) But, with it being used by the DNN team, we feel pretty confident that it will not fade away soon, and a growing number of examples should appear online.

Of course I encourage its use, even if only for the selfish reason of wanting to see the community grow.

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