FrankServer is a library that lets you route incoming HTTP requests to specific code that deals with that request.
Testing. Particularly, speed-of-tests.
FrankServer is designed to facilitate fast, high-level integration tests.
Well - the current Frank EndToEndTests suite finishes in less than 200ms.
Each single test spins up and tears down the entire TCP server, with a performance of between 10-100ms.
Add FrankServer
as a NuGet dependency to your project.
Have a look at the SampleProject for an example of how to use FrankServer
Alternatively, look at The Tests, for a more in-depth look at what is working.
Why not just use ASP.NET Core MVC?
Maybe you should. However, your tests will probably be orders of magnitude slower than FrankServer.
Does this support EntityFramework?
Maybe you should use ASP.NET Core MVC. This is for people who want fast tests.
Do you recommend I use this on X project?
I dunno? If you are asking that, maybe you should use ASP.NET Core MVC.
This looks incomplete.
Yes, yes it is. it's v0.1. What do you want from me?
Why "Frank"?
You ever heard of Sinatra?