Skip to content

Ever want to just route HTTP requests to some arbitrary code in .NET Core without all of the complexity of .NET MVC?

License

Notifications You must be signed in to change notification settings

craigjbass/FrankServer

Repository files navigation

FrankServer NuGet Build Status

FrankServer is a library that lets you route incoming HTTP requests to specific code that deals with that request.

Why?

Testing. Particularly, speed-of-tests.

FrankServer is designed to facilitate fast, high-level integration tests.

How fast?

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.

Installing

Add FrankServer as a NuGet dependency to your project.

Usage

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.

FAQs

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?

About

Ever want to just route HTTP requests to some arbitrary code in .NET Core without all of the complexity of .NET MVC?

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages