Nov 12, 2019 10:48 AM|Khuram.Shahzad|LINK
Website to web application is one major effort and Conversion to C# is another.
To simplify you can separate you business and domain/infrastructure logic from website App_Code and put them in separate class libraries, You C# class libraray can be used in ASP.Net (VB.Net ) website so you should try to move code to outside class libraries
as much as possible, you business entities and classes should go to Domain project, infrastructure related stuff goes in Infra class libraries and so on. Try to reference your packages through Nuget not like classic way. Move you helper method and other stuff
to relevant class libraries as well.
When all done then you need to create a project of C# web application (Web Forms) and move all your old stuff except App_Code in to new project and try to resolve the issues if there are some, Then go to Project menu and click on Convert To Web Application
project , this will add designer files of your web pages.
You can use the extension to convert the classes to C# and you can also have option of conversion to C# at project level (Web application). There is some manual effort on .aspx and other pages where you need to user AutoEventWireUp=true in C# and also take
care of some minor changes.