我想在asp.net mvc中转换一个C#网站 [英] i want to convert a C# website in asp.net mvc

查看:72
本文介绍了我想在asp.net mvc中转换一个C#网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用c#为我的项目创建了一个网站我想将其转换为ASP.net MVC 这可能会做什么????我该怎么办?帮我

解决方案

除了用C#编写之外,你没有说出你的原始网站。你使用了哪个框架? ASP.NET?



无论如何,没有转换实用程序可以从一个框架转到另一个框架,比如ASP.NET到MVC。你必须从头开始重写网站。



现在,如果您的原始网站写得正确,关注点分离,那么您可以重复使用一些代码已经写好了。如果写得不好,你将重写整个网站。


hii i have created a website for my project using c# now i want to convert it into ASP.net MVC is this possible to do????what shall i do???help me

解决方案

You don't say anything about your original site, other than it's written in C#. Which framework did you use? ASP.NET?

In any case, there is no conversion utility to go from one framework to another, like ASP.NET to MVC. You have to rewrite the site from scratch.

Now, if your original site was written correctly, with separation of concerns, then you can reuse some of the code you've already written. If written poorly, you'll be rewriting the entire site.


这篇关于我想在asp.net mvc中转换一个C#网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆