is it possible to develop REST api by winform application C#

Martin Wang 106 Reputation points
2024-11-04T06:02:05.5966667+00:00

is it possible to develop REST api by winform application C#? Or I am forced to use asp.net or web to develop?

Thank you

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,001 questions
{count} votes

Accepted answer
  1. Olaf Helper 45,016 Reputation points
    2024-11-04T07:32:30.02+00:00

    REST API is a backend service hosted in/as a web server, while WinForms is a frontend / GUI for user interaction.

    You could mix it, but don't make sense.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.