开发者

VB.NET to ASP.NET

Is there a way to convert a VB.NET 开发者_运维技巧application to ASP.NET without changing the code?


ASP.NET isn't a language. It's a web framework, generally using C# or VB as a language. VB.NET code can be used directly in ASP.NET, no conversion necessary.

Now, converting something like a WinForms UI to a web UI, that's another story. And, no, there's no direct way to convert them. They're vastly different technologies and architectures. Even if you do find something that claims to do the job, it's going to emit a terrible web UI.

But all you should need to change is the UI layer. The same business logic classes, object models, data access, etc. can all work the same. (Assuming it's not tightly coupled with the UI, of course... in which case you don't have a language/framework problem so much as an application design problem.)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜