如何将 Subsonic MVC 1.0 转换为 MVC 2.0 Final?
这是亚音速的asp.net mvc应用程序
http://subsonicproject.com/docs/MVC_Starter_Template
但适用于 MVC 1.0。如何将其转换为 MVC 2.0?
Here is the subsonic asp.net mvc application
http://subsonicproject.com/docs/MVC_Starter_Template
but its for MVC 1.0. How can i convert it to MVC 2.0?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我最近不得不这样做。我发现最简单的方法是在不同的目录中创建一个新的 MVC 2 项目。然后我使用 BeyondCompare 对两个项目文件进行了比较。这告诉我库引用、目录和文件方面的差异在哪里。项目文件中还需要设置一些值,例如 ProjectType。然后我对配置文件进行了相同的比较。没花多久,它就增加了我对 MVC 2 项目构成的理解。
I recently had to do this. The easiest way I found was to create a new MVC 2 project in a different directory. Then I did a diff on the two project files, using BeyondCompare. This told me where the differences were in terms of Library references, directories and files. There were also a few values to set within the project file such as ProjectType. Then I did the same comparison on the config files. It didn't take long and it increased my understanding of what makes up a MVC 2 project.
我最近使用了这个小工具,它工作得很好:
http://weblogs.asp.net/leftslipper/archive/2009/10/19/migration-asp-net-mvc-1-0 -applications-to-asp-net-mvc-2.aspx
I used this little tool recently and it worked perfectly:
http://weblogs.asp.net/leftslipper/archive/2009/10/19/migrating-asp-net-mvc-1-0-applications-to-asp-net-mvc-2.aspx