WPF/WCF Connection

Anonymous
2022-05-08T15:35:27.463+00:00

How do I create WPF/WCF connection?

This is what my Solutions looks like, please help:

In servlet:

@RestClient
@Inject
private IHelloResource iHelloResource;

In Interface:

@RegisterRestClient(baseUri = "http://localhost:8080/RESTUebung-1.0-SNAPSHOT/api%22)

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,623 questions
Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,710 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Anonymous
    2022-05-08T15:37:35.53+00:00

    this was the wrong picture, i meant to post this: ![199900-image-2022-05-08-173729811.png][1] [1]: /api/attachments/199900-image-2022-05-08-173729811.png?platform=QnA

    0 comments No comments

  2. Lan Huang-MSFT 28,831 Reputation points Microsoft Vendor
    2022-05-09T02:25:01.387+00:00

    Hi @iamthecode-3146,
    For .NET Framework projects, service reference enables a project to access one or more WCF Data Services. Use the Add Service Reference dialog box to search for WCF Data Services in the current solution, locally, on a local area network, or on the Internet.

    For .NET Core projects, you can use the Connected Services node in Solution Explorer to access the Microsoft WCF Web Service Reference Provider, which lets you manage Windows Communication Foundation (WCF) data service references.

    For specific steps, you can check the documentation.
    https://learn.microsoft.com/en-us/visualstudio/data-tools/how-to-add-update-or-remove-a-wcf-data-service-reference?view=vs-2022#to-add-a-reference-to-an-external-service-net-core-projects-including-net-5-and-later
    https://learn.microsoft.com/en-us/dotnet/core/additional-tools/wcf-web-service-reference-guide
    Best regards,
    Lan Huang


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments