将应用程序转换为Web [英] convert application to web

查看:146
本文介绍了将应用程序转换为Web的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
我在vb.net 2005.net中有一个Windows应用程序项目,我想将其转换为asp.net中的Web项目.怎么办?

hello
i have a windows application project in vb.net 2005.i want to convert it into web project in asp.net. how can do it?
can any help me?

推荐答案

由于两者在设计方面完全不同,例如Windows控件来自System.Forms命名空间,而Web控件来自System.Web命名空间.是的,您可以在Windows和Web之间共享逻辑,但是没有可用于转换的工具.

因此,您需要首先学习asp.net并从头开始编写代码,以将winform应用程序转换为Web应用程序.

希望对您有所帮助:)
As both are totally different in terms of design for example windows controls come out of the System.Forms namespace and web controls come out of the System.Web namespace. Yes, you can share logic between windows and web but no tool is available for conversion.

Hence you need to first learn the asp.net and write the code from scratch to convert the winform application to web application.

hope it helps :)


可能非常困难.

问题在于,这不仅仅是用户界面上的简单更改,而是从以用户为中心的本地应用程序到客户端服务器环境的整体转变,在该环境中,用户和应用程序及其数据位于完全不同的计算机上. />
如果幸运的话,并且该应用程序是用牢固的三层方法编写的,并且具有明确定义的业务层和分离良好的表示层,那么您也许可以做到.但是即使那样,您仍然可能必须学习一些JavaScript以及HTML的复杂性以及如何在各种不同的浏览器上执行它.

我们不能只是说做到这一点"并且做到了-这通常是完全重写,几乎是从头开始的,除非您确实非常非常幸运.抱歉!
Probably with extreme difficulty.

The problem is that it not just a simple change in user interface - it''s a whole shift from a user centric local application to a client server environment, where the user and the application, and its data are on completely different machines.

If you are lucky, and the application was written in a solid, three tier approach with a cleanly defined Business Layer and a well separated Presentation Layer you might be able to do it. But even then, you are probably going to have to learn some javascript as well as the intricacies of HTML and how it is executed on the various different browsers.

We can''t just say "do this" and it''s done - this is generally a complete re-write, pretty much from scratch, unless you are very, very lucky indeed. Sorry!


这篇关于将应用程序转换为Web的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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