you can create C# console app which will be installed on server and provide back end functionality.
But you can also do this with web app.
Third there is “WPF” concept which changes the web layout to desktop/console application.
1
solved Console app or web app