Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

ASP.net convert C# web application to VB.net

Hi

I am fairly new to ASP.net, where I use a VB.net coding environment.
I have been given a C# project.
Is it easy to convert this to VB.net? How would I achieve this?
Avatar of Dirk Haest
Dirk Haest
Flag of Belgium image

If you are really in a project I would say move the C# to class library and let VB.Net to call the library.


You can use some free convertors on the web:
http://converter.telerik.com/
http://www.developerfusion.com/tools/convert/csharp-to-vb/
refer this thread for more details

http://forums.asp.net/t/1100603.aspx/1
Avatar of Murray Brown

ASKER

Hi. I need to know how to convert a whole site. Thanks
After compilation the C# and VB.net (after conversion) would result in the same intermediate code - so why bother?  This is one reason Microsoft 'push' the .net code - many different source languages result in identical code after compilation = compatibility even if different coders work in different languages.
Hi. Thank you but I am still at a loss. I have to do this because a designer gave me a template in C#.
The image shows the files in the folder. Do I take each file with the extension .cs and put the code through one of the code converters?
 User generated image User generated image
ASKER CERTIFIED SOLUTION
Avatar of Nasir Razzaq
Nasir Razzaq
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks very much