Is there any equivalent of Python's Flask web programming framework that exists for C# or .Net? Right now I'm wanting to learn more about C# because I found that I enjoyed working on it with a separate project, and now I want to try writing a web application in it.
Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions.
Flask (source code) is a Python web framework built with a small core and easy-to-extend philosophy.
Twitter, Intuit, and OpenTable are some of the popular companies that use ExpressJS, whereas Flask is used by Netflix, reddit, and Lyft. ExpressJS has a broader approval, being mentioned in 854 company stacks & 788 developers stacks; compared to Flask, which is listed in 511 company stacks and 531 developer stacks.
When you're building APIs, FastAPI will be a better choice than Flask, especially when microservices are taken into consideration. The only argument for choosing Flask in this case would be if your organization already has a lot of tooling built around that framework.
ASP.NET MVC will be the closest thing to Flask since it's an MVC but it's loaded with a bunch of stuff where Flask is a micro framework.
Edit: On @emodendroket's suggestion Nancy seems to be a great fit for a light weight web framework.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With