It is usually better to start fresh rather than reuse code from a legacy desktop application. If you have not written a web application yet, consider creating a razor page application, learn about controllers, decency injection, views and work access (which most applications do). Once comfortable with this, ask yourself does it make sense to use legacy code or take advantage to what is new with modern web design and all that is available that is not in desktop development. They are two different worlds and in many cases unless you have a solid/flexible core code drop the desktop code.
Software legado
Matheus Henrique
1
Reputation point
Tenho software legado windows form, quero migrar para Web, queria saber se consigo reaproveitar o meu código para Web? sistema todo em c#. E como conversar com os dois.
----------
Translated by Bing Translator:
I have legacy windows form software, I want to migrate to Web, I was wondering if I can reuse my web code? system all in c#. And how to talk to both of them.