You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-tools/walkthrough-creating-a-simple-wcf-service-in-windows-forms.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ ms.author: ghogen
6
6
manager: mijacobs
7
7
ms.subservice: data-tools
8
8
ms.topic: how-to
9
-
ms.date: 03/17/2025
9
+
ms.date: 03/19/2025
10
10
dev_langs:
11
11
- VB
12
12
- CSharp
@@ -16,7 +16,7 @@ helpviewer_keywords:
16
16
- WCF services
17
17
- WCF services, walkthrough
18
18
19
-
# Customer intent: As a developer, I want to understand how to create a WCF Service in .NET Framework so I can access it from a Windows Forms app.
19
+
# Customer intent: As a developer, I want to understand how to create a WCF Service in .NET Framework so that I can access it from a Windows Forms app.
20
20
21
21
---
22
22
@@ -54,7 +54,7 @@ To create a WCF service in Visual Studio, follow these steps:
54
54
55
55
This step creates a working WCF service that you can test and access. The following steps demonstrate how to modify the default method to use a different data type. In a real application, you'd also add your own functions to the service.
56
56
57
-
4. In Solution Explorer, double-click **IService1.cs** or **IService1.vb** in your WCF service library project, depending on which type of project you created.
57
+
4. In **Solution Explorer**, double-click **IService1.cs** or **IService1.vb** in your WCF service library project, depending on which type of project you created.
58
58
59
59
:::image type="content" alt-text="Screenshot that shows the IService1 file in Solution Explorer." source="../data-tools/media/wcf2.png":::
60
60
@@ -84,7 +84,7 @@ To create a WCF service in Visual Studio, follow these steps:
84
84
85
85
---
86
86
87
-
7. In Solution Explorer, double-click **Service1.cs** or **Service1.vb**.
87
+
7. In **Solution Explorer**, double-click **Service1.cs** or **Service1.vb**.
88
88
89
89
:::image type="content" alt-text="Screenshot that shows the Service1 file in Solution Explorer." source="../data-tools/media/wcf3.png":::
90
90
@@ -150,7 +150,7 @@ To reference the WCF service from a project, follow these steps:
150
150
151
151
1. In the **Add a New Project** window, choose either a C# or Visual Basic **Windows Forms App (.NET Framework)** project. Select **Next**, and then **Create** to create the project.
152
152
153
-
1. In Solution Explorer, right-click the project node of the new project, and select **Add** > **Service Reference**.
153
+
1. In **Solution Explorer**, right-click the project node of the new project, and select **Add** > **Service Reference**.
154
154
155
155
The **Add Service Reference** dialog box appears.
156
156
@@ -166,7 +166,7 @@ To reference the WCF service from a project, follow these steps:
166
166
167
167
To use a WCF service reference to build a client application, follow these steps.
168
168
169
-
1. In Solution Explorer, double-click **Form1.cs** or **Form1.vb** in the Windows Forms app.
169
+
1. In **Solution Explorer**, double-click **Form1.cs** or **Form1.vb** in the Windows Forms app.
170
170
171
171
The form opens in Windows Forms Designer.
172
172
@@ -188,7 +188,7 @@ To use a WCF service reference to build a client application, follow these steps
188
188
189
189
---
190
190
191
-
1. In Solution Explorer, right-click the project node (for example, **WindowsFormsApp1**), and select **Set as StartUp Project**.
191
+
1. In **Solution Explorer**, right-click the project node (for example, **WindowsFormsApp1**), and select **Set as StartUp Project**.
192
192
193
193
1. Press **F5** to run the project. Enter some text and select the button. The label displays **You entered:**, followed by your text.
0 commit comments