1

Is there a way to convert a VB.NET application to ASP.NET without changing the code?

1 Answer 1

9

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.)

Sign up to request clarification or add additional context in comments.

2 Comments

may be, he means converting from VB.net to C#.
@just_name: There's nothing in the question, title or tags to suggest that.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.