consuldotnet | .NET API for Consul | REST library

 by   PlayFab C# Version: 0.7.2.6 License: Apache-2.0

kandi X-RAY | consuldotnet Summary

kandi X-RAY | consuldotnet Summary

consuldotnet is a C# library typically used in Web Services, REST, Swagger applications. consuldotnet has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

.NET API for Consul (
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              consuldotnet has a low active ecosystem.
              It has 688 star(s) with 204 fork(s). There are 56 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 23 open issues and 73 have been closed. On average issues are closed in 4 days. There are 10 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of consuldotnet is 0.7.2.6

            kandi-Quality Quality

              consuldotnet has 0 bugs and 0 code smells.

            kandi-Security Security

              consuldotnet has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              consuldotnet code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              consuldotnet is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              consuldotnet releases are available to install and integrate.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of consuldotnet
            Get all kandi verified functions for this library.

            consuldotnet Key Features

            No Key Features are available at this moment for consuldotnet.

            consuldotnet Examples and Code Snippets

            No Code Snippets are available at this moment for consuldotnet.

            Community Discussions

            QUESTION

            Can a library that depends on System.Net.Http.WinHttpHandler be deployed to Linux
            Asked 2017-Feb-26 at 21:03

            I am looking at using the Consul library for .NET which supports NETSTANDARD1.3. As I was adding the package I saw it depends on System.Net.Http.WinHttpHandler, which in turns adds the win32 primitives package.

            I can't find any documentation to say how these packages work on Linux. I would assume they won't work, but it is possible they provide a shim-layer.

            Does anyone have any experience with these packages?

            EDIT:

            Deploying to Ubuntu as a Self Contained Deployment results in the following.

            Unhandled Exception: System.TypeInitializationException: The type initializer for 'System.Net.Http.CurlHandler' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Http' threw an exception. ---> System.TypeInitializationException: The type initializer for 'HttpInitializer' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'System.Net.Http.Native': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at Interop.HttpInitializer.EnsureCurlIsInitialized() at Interop.HttpInitializer..cctor() --- End of inner exception stack trace --- at Interop.HttpInitializer.Initialize() at Interop.Http..cctor() --- End of inner exception stack trace --- at Interop.Http.GetSupportedFeatures() at System.Net.Http.CurlHandler..cctor() --- End of inner exception stack trace --- at System.Net.Http.CurlHandler..ctor() at Consul.ConsulClient.ConsulClientConfigurationContainer..ctor() at Consul.ConsulClient..ctor(Action`1 configOverride, Action`1 clientOverride, Action`1 handlerOverride) at REstateScratchPad.Program.Main(String[] args) Aborted (core dumped)

            ...

            ANSWER

            Answered 2017-Feb-26 at 19:32

            Linux does in fact support that dependency as it is part of the .NETStandard and has shims in place for a CURL handler.

            Deploying the application did result in errors as seen in the original post, but installing the SDK solved those.

            Sidenote: Didn't think I would need the SDK to run a Self contained deployment.

            Source https://stackoverflow.com/questions/42472536

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install consuldotnet

            You can download it from GitHub.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/PlayFab/consuldotnet.git

          • CLI

            gh repo clone PlayFab/consuldotnet

          • sshUrl

            git@github.com:PlayFab/consuldotnet.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link