How do I create a WCF Service?

lookforme 21 Reputation points
2022-05-08T15:53:47.657+00:00

I'm new with C# and I found a tutorial. But I'm not sure if it's a good one. Can someone please help me with this?

That's what I found:

https://learn.microsoft.com/en-us/visualstudio/data-tools/walkthrough-creating-a-simple-wcf-service-in-windows-forms?view=vs-2019

I also found another one, where you can host a WCF Service in IIS. Maybe that one's better?

https://learn.microsoft.com/en-us/dotnet/framework/wcf/feature-details/how-to-host-a-wcf-service-in-iis

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,601 questions
0 comments No comments
{count} vote

1 answer

Sort by: Most helpful
  1. Lan Huang-MSFT 28,826 Reputation points Microsoft Vendor
    2022-05-09T05:19:07.663+00:00

    Hi @lookforme ,
    I think you can start with an introductory tutorial.
    The following documents provide tutorials that introduce you to a Windows Communication Foundation (WCF) programming experience. Completing the tutorials in order will give you an initial understanding of the steps required to create a WCF application. Once done, you will have a running WCF service and a WCF client calling the service.
    https://learn.microsoft.com/en-us/dotnet/framework/wcf/getting-started-tutorial
    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