Skip to content

Remove external dependencies? #10

Description

@igorgatis

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.

Activity

  1. shanielh commented on Aug 27, 2014

    @shanielh

    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.

  2. igorgatis commented on Aug 27, 2014

    @igorgatis
    Author

    Looks good.

  3. shanielh commented on Aug 27, 2014

    @shanielh

    Would you use uHttpSharp core without the bundled handlers, controllers, etc'..?

  4. igorgatis commented on Aug 27, 2014

    @igorgatis
    Author

    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.

  5. shanielh commented on Mar 20, 2015

    @shanielh

    @igorgatis Log4net is not a dependency anymore, thanks to #13

  6. Psilax commented on Apr 25, 2019

    @Psilax

    Can we update the other dependencies in a new release?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions