将Windows应用程序转换为Web应用程序 [英] converting windows aplication into web application

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

问题描述

我已经在d2k oracle中创建了一个桌面应用程序.
现在我想使用asp.net在Web浏览器上调用该应用程序
我不想在asp.net中创建新表单,但是我想创建一个可以将d2k Windows应用程序转换为asp.net Web应用程序的工具.


需要建议.
在此先感谢,

I have created one desktop application in d2k oracle.
Now i want to call that application on web browser using asp.net
I dont want to create new forms in asp.net but I want to create one tool which can convert d2k windows application into asp.net web application.


Suggestions needed.
Thanks in advance,

推荐答案

SA是正确的:涉及大量资金.

两种架构几乎没有共同点.甚至很多通用控件都不可用或有很大不同.

即使您可以部分复制一部分,对于用户而言,它也会非常缓慢.

甚至不要尝试,而是查看应用程序的整体操作,如果一开始就正确设计DAL和BL,则可以保持DAL和BL几乎完整无缺,但是UI将会完全不同.从头开始-使用您在构建WinApp的过程中所学到的知识并使其与体系结构一起使用.
SA is correct: loads of money will be involved.

The two architectures have almost nothing in common. Even a large number of the common controls are unavailable or wildly different.

Even if you could copy it over, part for part, it would be hideously slow for the user.

Don''t even try, instead look at the overall operation of the application, and you can probably keep the DAL and BL nearly intact if you designed it right in the first place, but the UI is going to be totally different. Start again from scratch - using what you learnt over the time you spent building the WinApp — and make it work with the architecture.


SA和OriginalGriff都是正确的.但是请不要失望,可能会对您有所帮助.

我不知道您是如何构建Windows应用程序的.虽然您将无法重用任何UI,但是所有这些都需要以asp.net形式重做,但是您可以使用许多业务逻辑和数据库访问代码.假设它们可以与现有应用程序完全分开.
Both SA and OriginalGriff are correct. But don''t despair there may be some help for you.

I don''t know how you built your windows application. While you will not be able to reuse any of your UI, all of that need to be redone in asp.net forms, but you can levarage many of the business logics and database access code. This is assuming is that they can cleanly separated from the existing application.


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

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