Software legado

Matheus Henrique 1 Reputation point
2022-07-21T14:39:21.27+00:00

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.

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,904 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,042 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Karen Payne MVP 35,441 Reputation points
    2022-07-21T17:48:11.057+00:00

    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.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.