ASP.NET MVC 和 Spring.NET

发布于 2024-07-05 08:09:42 字数 403 浏览 10 评论 0原文

开始一个新项目并想使用 MVC 框架之一。 ASP.NET MVC 仍处于预览阶段,但 Spring.net 正在生产中,并且与 Java 有着悠久的历史。 我想知道两者之间的一般内幕。

当前问题..
主要功能差异是什么?
部署/托管问题怎么样?
未来的支持? 您认为一旦 ASP.NET MVC 投入生产,Spring.net 就会消失吗?
目前的支持? 我看到杰夫在推特上谈论了下一个预览中的重大变化。

谢谢!

Starting a new project and would like to use one of the MVC framworks. ASP.NET MVC is still in preview but Spring.net is in production and has a history with Java. I'd like to know the general lowdown between the two.

Current questions..
What are the major feature differences?
What about deployment/hosting issues?
Future support? Do you think Spring.net will fade once ASP.NET MVC is in production.
Current Support? I saw the Jeff twitting about a breaking change in the next preview.

Thanks!

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

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

发布评论

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

评论(3

花海 2024-07-12 08:09:42

我对这个问题有点困惑。 Spring.Net 是一个可以在 ASP.NET MVC 中使用的依赖注入框架。 我的回答有点基于你实际问的问题。 ASP.NET MVC 与在 ASP.NET 中运行的另一个 MVC 框架之间的区别。

如果您担心在生产中使用 ASP.NET MVC,因为它还不是测试版,那么您可能需要查看 MonoRail 作为替代方案。 功能上存在一些差异,但两者在术语和 MVC 实现方式上非常接近。 要了解差异,这里有一个已发布的问题,您可能想要监控该问题。 我认为一旦 ASP.NET 发布,大多数 Microsoft 商店都会转向它。 由于 ASP.NET MVC 仍在开发中,您将遇到重大更改,当您升级到下一个版本时,您必须更改这些更改。 这与生活在边缘的领域是一致的。 您只需要在跳转到最新版本之前阅读发行说明即可。

I am a little confused by the question. Spring.Net is a dependency injection framework that you can use in ASP.NET MVC. I kind of based my answer off what you are actually asking though. The difference between ASP.NET MVC and another MVC framework that runs in ASP.NET.

If you are worried about using ASP.NET MVC in production since it is not even in beta yet, then you may want to check out MonoRail as an alternate. There are some differences in features, but the two are pretty close in terminology and how MVC is implemented. To learn differences, here is a question that was posted, that you might want to monitor. I think once ASP.NET hits release, that most Microsoft shops will switch to it. With ASP.NET MVC still being developed, you will run into breaking changes that you will have to change when you upgrade to the next release. That goes with the territory of living on the edge. You just need to read the release notes before jumping to the latest release.

你怎么敢 2024-07-12 08:09:42

是的,Spring.net 将企业解决方案添加到 Microsoft 的代码库中,Spring 将填补关键的缺失空白。

我可以尝试回答您有关 Spring.net 和 Spring.net 未来支持的问题。 ASP.net MVC。 显然,当 Microsoft 进入 RTM/Final 版本时,Spring 将发布新的 Milestone 版本:

http ://forum.springframework.net/showthread.php?p=14031#post14031(Mark 是 Spring.net 的负责人和 Microsoft MVP)

我听说他们在那之前不想放弃任何东西,因为他们已经受够了微软在没有得到认可的情况下采纳 Spring 的想法。

当前对 Spring.net 和 Spring.net 的支持 控制器依赖注入可以在 MVCContrib 中找到

Yes Spring.net adds enterprise solutions to Microsoft's codebase, Spring will fill the crucial missing gaps.

I can attempt to answer your question on future support of Spring.net & ASP.net MVC. Apparently Spring will be releasing a new Milestone build when Microsoft go RTM/Final build:

http://forum.springframework.net/showthread.php?p=14031#post14031 (Mark is the Spring.net lead and a Microsoft MVP)

I've heard they don't want to give anything away until then, as they've had enough of Microsoft taking Springs ideas with no recognition.

Current Support for Spring.net & Controller Dependency Injection can be found in MVCContrib

很酷又爱笑 2024-07-12 08:09:42

我的印象是 Spring.NET 从未真正起飞,或者至少没有 Castle Project Monorail。

据我了解,Spring.NET也脱离了Java Spring的实现,因此如果您来自Java,那么学习曲线将比预期的陡峭。 来自 Spring.NET 概述

Spring.NET的设计基于
Java 版本的 Spring
框架,展示了现实世界
好处并被用于数千个
全球企业应用程序。
Spring .NET 不是一个快速移植的版本
Java 版本,而是一个
“精神港”基于以下
经过验证的架构和设计
中的模式不依赖于
特定平台。

至于你的其他问题,话​​题的广度让它们有点难以一次性回答,但我希望 Phil Haack 能看到这个问题并做出回应。 :)

I have an impression that Spring.NET never really took off, or at least not as much as Castle Project Monorail.

From what I understand, Spring.NET has also departed from Java Spring's implementation, so there will a steeper than expected learning curve if you are coming from Java. From Spring.NET's overview:

The design of Spring.NET is based on
the Java version of the Spring
Framework, which has shown real-world
benefits and is used in thousands of
enterprise applications world wide.
Spring .NET is not a quick port from
the Java version, but rather a
'spiritual port' based on following
proven architectural and design
patterns in that are not tied to a
particular platform.

As for your other questions, the breadth of the topics make them a bit difficult to answer in one go, but I am hoping Phil Haack will see this question and respond. :)

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