开发者

VB.NET to ASP.NET

开发者 https://www.devze.com 2023-02-28 11:48 出处:网络
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 c

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

精彩评论

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

关注公众号