如何将Vb.Net桌面应用程序转换为基于Web的应用程序 [英] How Do I Convert Vb.Net Desktop Application Into A Web Based Applocatio

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

问题描述

我在VB.Net(桌面)中开发了一个应用程序,但我的主管要我将其转换为基于Web的应用程序

I developed an application in VB.Net (desktop) but my supervisors want me to convert it into a web based application

推荐答案

他们不能真正想要 转换(即使他们说这样的话),因为这个动词转换在这种情况下毫无意义。 Web应用程序的功能根本不同,因此除了一些非常简单的案例外,没有功能等效的解决方案。您需要坐下来,创建新的需求,然后设计和实施新的解决方案。也许您现有的解决方案可能对某些算法的参考和实现源有用,这些算法完全是从UI中抽象出来的。将来,尽量抽象出UI。



-SA
They cannot really "want" to "convert" (even if they say such words), because this verb, "convert", makes no sense in this context. The features of a Web applications are fundamentally different, so there is no such thing as "functionally equivalent" solution, except some very trivial cases. You need to sit down, create new requirements, and then design and implement new solution. Perhaps your existing solution could be useful for a reference and a source of the implementation of some algorithms, those which are fully abstract from the UI. In future, try to abstract out UI as much as possible.

—SA


I建议你改写它。可能有一些工具,但它们不会做得很好。
I suggest you rewrite it. There may be some tools but they won't do a good job.


这将是多么容易取决于你写得多好以及你抽取了多少代码和分成几层。如果你做了一个好的工作,你应该只需要重新编写界面层,并且可能会在这里和那里进行修补。如果你在事件处理程序中构建了一个包含大量代码的单一应用程序,那么将它作为Web应用程序运行将需要做更多的工作。
How easy this will be depends on how well you've written it and how much of the code you have abstracted and separated into layers. If you've done a "good" job you should only really have to re-write the interface layer and maybe tinker here and there. If you've built a monolithic app with lots of code in your event handlers then it's going to take far more work to get it working as a web application.


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

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