Giter Site home page Giter Site logo

Comments (7)

PeterKottas avatar PeterKottas commented on July 30, 2024

Good morning :) Hope you are well! It's not easy for me to understand what's going on from what you've written. Is it a website you are trying to host this was or is it a true microservice? Because remember, this package is used for microservices, website can be hosted easily with .net core. If that's the case, just follow this : https://docs.microsoft.com/en-us/aspnet/core/hosting/windows-service
Speak soon ;)

from dotnetcore.windowsservice.

 avatar commented on July 30, 2024

Good Morning,
No, I am not trying to run it as website. This is a true microservice.
I did, however trace the problem through to the DasMuli code and not yours. So, I will be opening an issue over there, instead.
Thanks!

from dotnetcore.windowsservice.

bjcull avatar bjcull commented on July 30, 2024

Having the same problem. Everything works except action:run. It's just a regular console application.

Quick edit: Running the example project gives the same error.

from dotnetcore.windowsservice.

PeterKottas avatar PeterKottas commented on July 30, 2024

Cheers @ctschappat hope it's sorted, let me know if you need my assistance ;)

from dotnetcore.windowsservice.

PeterKottas avatar PeterKottas commented on July 30, 2024

@bjcull Hey mate, avoid using action:run that's an internal thing. Go for action:install if you want to install the service, action:start / action:stop to control it. And so on. If you want to run as console app, just run it as you normally would (without any action)

from dotnetcore.windowsservice.

bjcull avatar bjcull commented on July 30, 2024

The only reason I tried using action:run was to try and figure out what's happening. Install works, and the service starts correctly, I think, I can't tell. But it doesn't appear to actually do anything.

Stopping also works successfully.

If I just run the service without arguments, everything works fine. Any ideas as to what I might be missing?

from dotnetcore.windowsservice.

PeterKottas avatar PeterKottas commented on July 30, 2024

Ok, no worries @bjcull we'll look into that. Create a new issue please though. Easier to track stuff and also to point people to the right place if they see these problems later. Thanks man

from dotnetcore.windowsservice.

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.