You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'.
Activity
shanielh commentedon Aug 27, 2014
I might seperate the controllers and all other handlers to seperate package "uHttpSharp-extras" like some other open source projects do.
In that case,
uHttpSharpwill stay slim with only "core" classes, whileuHttpSharp-extraswill have the bundledhandlers,controllers,modelBinders, etc'.What do you think?
Shani.
igorgatis commentedon Aug 27, 2014
Looks good.
shanielh commentedon Aug 27, 2014
Would you use uHttpSharp core without the bundled handlers, controllers, etc'..?
igorgatis commentedon Aug 27, 2014
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.
shanielh commentedon Mar 20, 2015
@igorgatis Log4net is not a dependency anymore, thanks to #13
Psilax commentedon Apr 25, 2019
Can we update the other dependencies in a new release?