wcf | repo contains the client-oriented WCF libraries | Runtime Evironment library

 by   dotnet C# Version: v6.0.0-rtm License: MIT

kandi X-RAY | wcf Summary

kandi X-RAY | wcf Summary

wcf is a C# library typically used in Server, Runtime Evironment applications. wcf has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

This repository contains the .NET Core version of the Windows Communication Foundation client libraries. It's a subset of the .NET Framework version of Windows Communication Foundation and currently supports the same API surface available for Windows 8.1 Store apps. It is used to build .NET Core apps, including Windows UWP and ASP.NET Core. These client libraries are suitable for mobile devices or on mid-tier servers to communicate with existing WCF services. By targeting .NET Core, WCF now has the opportunity for much wider reach across PCs, laptops, mobile devices, Xbox, HoloLens etc. It can also be ported to other operating systems since it runs on .NET Core, which is adding support for Linux and OS X. We have deliberately opened the doors to the code early in the process so that you can be part of the effort by contributing to the project or providing feedback. Several features are still a work in progress, and we expect to enable them as soon as possible. Click on Issues to follow how we are prioritizing the work. Our goal is to achieve feature parity with the corresponding Windows Store libraries and then improve based on your feedback.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              wcf has a medium active ecosystem.
              It has 1624 star(s) with 552 fork(s). There are 365 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 233 open issues and 1949 have been closed. On average issues are closed in 129 days. There are 21 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of wcf is v6.0.0-rtm

            kandi-Quality Quality

              wcf has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              wcf is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              wcf releases are available to install and integrate.
              wcf saves you 353 person hours of effort in developing the same functionality from scratch.
              It has 845 lines of code, 0 functions and 3013 files.
              It has low code complexity. Code complexity directly impacts maintainability of the code.

            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 wcf
            Get all kandi verified functions for this library.

            wcf Key Features

            No Key Features are available at this moment for wcf.

            wcf Examples and Code Snippets

            No Code Snippets are available at this moment for wcf.

            Community Discussions

            QUESTION

            WCF Soap Basic Authentication through the Generated WebServiceClient
            Asked 2022-Mar-18 at 12:35

            I'm attempting to consume a SOAP Webservice using a WCF Web Service Reference.

            I have been able to successfully consume the SOAP web service in a .NET 4.8 framework project using the System.Web.Servicees Web Service Reference. However I need to consume the web service in a .NET Core project. The WCF generated class from the WSDL is different than the .NET framework web service. It seems like you now have to use the generated WebServiceClient to interact with the web service.

            I believe the web service requires basic authentication as I was able to authenticate using basic authentication in the .NET framework project.

            Here is the error message I'm getting when I try to execute one of the web service's methods.

            ...

            ANSWER

            Answered 2022-Mar-10 at 07:30

            Did you set secure transfer mode? similar to this: Basic Authentication in WCF client.

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

            QUESTION

            C# array access from first element only
            Asked 2022-Feb-03 at 14:17

            I'm sorry if this has been asked before, but I don't even know what to search for to find an answer.

            I'm fairly experienced in .net/c# etc., however, I have come across something I don't understand how works.

            I'm working on a third party library where I do not have access to the source.

            My question is: How is this function able to get the whole data in the array when only the first value is being passed?

            Prototype:

            ...

            ANSWER

            Answered 2022-Feb-01 at 20:42

            An array is a contiguous bit of memory, calling a function like this:

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

            QUESTION

            .net core Update Service Reference missing
            Asked 2022-Jan-25 at 18:16

            In my .net core 3.1 project I have consumed SOAP Web Service. After I moved on new PC and system, I downloaded VS 2019, cloned project but then when I tried to Update my Web Reference I saw that WCF section in my project has changed. I think I need to install something additionaly to my Visual Studio but I couldnt find anything 'WCF' that isnt installed in VS Installer.

            I dont have this button anymore (Update Service Reference):

            (Example screen from youtube):

            I didnt 'add connected service' to this project by myself so I dont know if I did something wrong after downloading visual studio again. Now, when I want to update service reference I must go to Connected Serice>Edit and then search for wsdl and then update, but the process is same as adding new conencted service. I think I might be missing some visual studio extension.

            When I update my Service "new way" then in 'ConnectedService.json' these two lines are deleted:

            "ProviderId": "Microsoft.VisualStudio.ConnectedService.Wcf", "Version": "15.0.40203.910",

            Next thing is when I "add service reference" option "Microsoft WCF Web Service Reference Provider" isnt available, but "WCF Web Service" is.

            My visual studio 2019 enterprise version is up-to date.

            ...

            ANSWER

            Answered 2022-Jan-25 at 18:16

            And as for the answer, posted by a MS person on a post in their forum:

            The behavior you’ve observed that “Microsoft WCF Web Service Reference Provider” isn’t there on 16.10.4 is a change by-design. Start from 16.11, you are supposed to add a service reference via right clicking solution and then choose “Add” -> “Connected Service”, then in the left panel click “Service References (OpenAPI, gRPC, WCF Web Service)”, in the popped up list select “WCF Web Service” and go though the wizards to add a service reference.

            To update an existing service, open the “Service References (OpenAPI, gRPC, WCF Web Service)” panel, click “…” beside the existing service which you want to update and then select “Edit” in the dropped down menu item, complete the popped up wizards to update that service.

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

            QUESTION

            Where is RateService in the current UPS schema
            Asked 2021-Dec-30 at 18:09

            I am trying to re-create the Rate code sample from the current UPS Developer's Kit on .Net 5. The code sample is based on .NET Framework 4.5.

            I imported the Rates_Pkg_Gnd\RatingPACKAGE\PACKAGEWebServices\SCHEMA-WSDLs\RateWS.wsdl into a completely new .NET 5 Console project as a WCF Web Service (Visual Studio 2019).

            I then copied the code from the code sample exactly line-by-line. Visual Studio added a reference to the imported Web Service. However, the very first line of code is not found in the new Web Service:

            ...

            ANSWER

            Answered 2021-Dec-30 at 18:09

            If you are using WCF then it is called RatePortTypeClient. Or if you choose to use a Web Reference it is called RateService. You should also add a using [your reference name] to your code. Picture below shows ServiceReference1 - as a WCF. And RateWebReference as a Web Reference.

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

            QUESTION

            Serilog WCF usage without constructors?
            Asked 2021-Dec-15 at 16:54

            I am new to c# and I am trying to using serilog in a WCF application. This WCF application is hosted on IIS 6.0.

            I need to create the logger once only when the service is initialized. However WCF does not seem to have constructors. How can I create the logger below once only and have it available to the rest of the application. Any code examples would be greatly appreciated.

            ...

            ANSWER

            Answered 2021-Dec-15 at 16:54

            First, you can do the constructor with WCF Service via some Dependency Inject library which supports WCF Service

            You can use AutoFac.WCF then you can register type of ILogger by Autofac

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

            QUESTION

            Microsoft.Data.Services version issue while running WCF Data Services
            Asked 2021-Nov-08 at 16:56

            I am getting the following error:

            ...

            ANSWER

            Answered 2021-Nov-08 at 05:44

            Error: The server encountered an error processing the request. See server logs for more details

            This issue comes into picture whenever there is any issue at WCF service. So see more details about the issue, you need to includeexceptiondetailInfaults attribute to true in servicedebug tag.

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

            QUESTION

            How to open multiple http endpoints in WCF?
            Asked 2021-Nov-01 at 13:27

            Currently I have a working WCF Service with the following App.Config endpoint

            ...

            ANSWER

            Answered 2021-Nov-01 at 13:27

            What I found to do (since we are not using IIS, which most answers seem to lean toward) was add multiple services in the project to bind multiple HTTP listeners. The config looked something like this:

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

            QUESTION

            Protobuf-net - How to use oneof
            Asked 2021-Oct-20 at 14:33

            I did a quick search about the usage of oneof in Protobuf-net and it appears it's supported as of v2.3.0, but I can't for the life of me find any examples on exactly how one would use it!

            My requirements are pretty simple, and maybe this can also be solved with [ProtoInclude] but I'm not quite sure exactly how this would work. I've got the following class:

            ...

            ANSWER

            Answered 2021-Oct-20 at 14:33

            The way to play with this is to take the message from the MS example you cite, and run it through protogen to see what it does - which we can do very conveniently here: https://protogen.marcgravell.com/ (note I'm adding syntax = "proto3"; at the top of the file, which is omitted in the MS example).

            This gives us, among other things:

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

            QUESTION

            Is it possible to use both a certificate and UserName credential type with a service? C#
            Asked 2021-Oct-14 at 19:59

            I am working on a project that makes requests to an API (which I think is WCF). The API requires an X509 certificate as a credential to be able to make requests. After referencing the service for the client and trying to make some requests, I was told that my requests were also missing a UserName header credential in order to authenticate with the API. Is it possible to use both types of credentials in a request and if so would anyone know how to set it up? Sorry if this post is poorly made, this is my first post on this website.

            Edit: The username header that I need is at the SOAP message level. A header in the actual SOAP xml request.

            This is my program code (with personal info taken out):

            ...

            ANSWER

            Answered 2021-Oct-12 at 17:40

            In time I solved this by adding a ServiceBehavior to my app.config file. Note that in my case it's a WPF application.

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

            QUESTION

            Enumerations in schemas using BizTalk WCF Service Publishing Wizard?
            Asked 2021-Sep-15 at 12:52

            I am asked to publish a schema as WCF Service from BizTalk using BizTalk WCF Service Publishing Wizard, and to expose members as enumerations. Idea is to prohibit programmers to give wrong value in specific fields. I have defined the element type as string, with restriction and a set of values like so:

            ...

            ANSWER

            Answered 2021-Sep-15 at 12:52

            Actually, this works, but something was cached/not re-genererated along the way...tricky. I was using Visual Studio to generate client, both when it didn't work and later when it worked.

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install wcf

            You can download it from GitHub.

            Support

            This repository contains the .NET Core version of the Windows Communication Foundation client libraries. It's a subset of the .NET Framework version of Windows Communication Foundation and currently supports the same API surface available for Windows 8.1 Store apps. It is used to build .NET Core apps, including Windows UWP and ASP.NET Core. These client libraries are suitable for mobile devices or on mid-tier servers to communicate with existing WCF services. By targeting .NET Core, WCF now has the opportunity for much wider reach across PCs, laptops, mobile devices, Xbox, HoloLens etc. It can also be ported to other operating systems since it runs on .NET Core, which is adding support for Linux and OS X. We have deliberately opened the doors to the code early in the process so that you can be part of the effort by contributing to the project or providing feedback. Several features are still a work in progress, and we expect to enable them as soon as possible. Click on Issues to follow how we are prioritizing the work. Our goal is to achieve feature parity with the corresponding Windows Store libraries and then improve based on your feedback.
            Find more information at:

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

            Find more libraries