Application . NET C# Nodejs express style

Asked

Viewed 204 times

0

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

The point is, I don’t want to have to deal with IIS and wanted something simpler, like a . exe that can be run and if "guest self".

Something very similar to things like Flask for Python, or Express for Nodejs, where you determine the routes, the type of method, run it and you’re done.

Someone here knows if there is a framework for something similar in . NET?

  • There is OWIN: http://owin.org/

  • Hi Gabriel. I will look at the documentation calmly. I appreciate the answer.

1 answer

1


Brow, take a look at these two guys:

The Asp.net core, It has its own application server which the "auto-hosts", Kestrel. For its simplicity, just make your resources available through a simple API.

Another option is to Nancy, I don’t know much, but he inherits the ideas of Flask, Sinatra and so on, I’m not sure, but in the end I believe he ended up depending on someone to support him as Kestrel or other application server.

  • This Nancy seems to be exactly what I need.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.