Coder Social home page Coder Social logo

dalsoft / dalsoft.hosting.backgroundqueue Goto Github PK

View Code? Open in Web Editor NEW
48.0 48.0 5.0 23 KB

Alternative solution to HostingEnvironment.QueueBackgroundWorkItem in .NET Core https://stackoverflow.com/questions/36945253/alternative-solution-to-hostingenvironment-queuebackgroundworkitem-in-net-core

License: MIT License

C# 100.00%

dalsoft.hosting.backgroundqueue's People

Contributors

dalsoft avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

dalsoft.hosting.backgroundqueue's Issues

Does this library support parallel/concurrent execution of background tasks?

Hello, thank you for this library.
I would like to use it - namely because it appears to support background execution of tasks in a parallel/concurrent manner. I.e. it takes a param "MaxConcurrentCount".

However upon viewing the code, I do not see any parallelism calls. I just see a standard await call - where execution will wait (await) until that call finishes.

Am I missing anything? Thank you.

inject database context

I want your system to update my database when the background task has completed, but i cannot use the context from the MVC controller because it has a lifetime of the request only. Can you explain how I can either call some other controller like method or inject a context into the BackgroundQueue.

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.