.NET application C # express style NodeJS

0

But for a few features I'd like my project to respond to some simple HTTP Rest requests. As the project will handle COM + and other things, I will do it in C #.

The issue is, I do not want to have to deal with IIS and wanted something simpler, like an .exe that can run and self-host.

Something very much like things like Flask for Python, or Express for Nodejs, where you determine the routes, the type of method, execute it and that's it.

Is there any framework for something similar in .NET?

    
asked by anonymous 12.12.2017 / 20:52

1 answer

1

Brow, take a look at these two faces:

The Asp.net core , it has an application server itself that the "auto- hosts ", the kestrel. For its simplicity, it is enough only to make its resources available through a simple API.

Another option is the Nancy , I do not know much, but inherits the ideas of Flask, Sinatra and etc, I'm not sure, but in the end I think it ended up depending on someone who supports it as the kestrel or other application server.

    
13.12.2017 / 01:01