Remove external dependencies?
As an embeddable module, it would be nice if this project had no external dependencies. Looking at the code, it seems like log4net could be easily replaced by a delegate (passed as optional parameter to HttpServer constructor). I wonder whether JSON could also be handled by delegates. Alternatively, all controllers could live in separate DLL and that DLL would require Newtonsoft.Json.
I might seperate the controllers and all other handlers to seperate package "uHttpSharp-extras" like some other open source projects do.
In that case, uHttpSharp will stay slim with only "core" classes, while uHttpSharp-extras will have the bundled handlers, controllers, modelBinders, etc'.
What do you think?
Shani.
Looks good.
Would you use uHttpSharp core without the bundled handlers, controllers, etc'..?
I'm interested on mapping string (or regex) to a function. I don't mind the extra stuff. The external dependency is the biggest drawback.
@igorgatis Log4net is not a dependency anymore, thanks to #13
Can we update the other dependencies in a new release?