Code Monkey home page Code Monkey logo

Comments (5)

richardtallent avatar richardtallent commented on June 17, 2024

Thanks! Yeah, it needed a little love on updating the dependencies, I've bumped it to 3.4.0 and published it, it is now built for .NET Standard 2.0, with the test and demo apps bumped to .NET Core 3.1.

I think a DI-specific version would be great, and I would appreciate the help!

I'm using it in an ASP.NET Core app now, but since I had a few "utility" singletons like this that are used in so many places and are extremely unlikely to be swapped out on the fly, I ended up creating a single "Site" singleton that carries them around as a group to reduce the number of arguments on my Controllers. Not exactly a "pure" approach to DI, but did the job.

from rt.comb.

joaopgrassi avatar joaopgrassi commented on June 17, 2024

Cool! So how would we go about doing the extension? I could do it under my name, but at least to me it always feels "sketchy" when the package on NuGet.org comes from someone else than the original author. So maybe you could create another Repo and then I could do the work :).

from rt.comb.

richardtallent avatar richardtallent commented on June 17, 2024

Hmm... this one repo already has the main package, demo app, and tests in the same repository, so the best option may just be to add another folder for the DI wrapper? Then I can just publish them separately to NuGet.

from rt.comb.

joaopgrassi avatar joaopgrassi commented on June 17, 2024

Well that sounds good as well. Didn't think on the obvious approach, sorry 😅. Great, then I will see if I can get something done this week. Thanks!

from rt.comb.

joaopgrassi avatar joaopgrassi commented on June 17, 2024

I'll get the Hacktober fest inspiration and will be doing this in the following weeks. 😅

from rt.comb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.