You are developing a Windows Comunication Foundation (WCF) service that is used to check the status of orders placed by customers.The following code segment is part of your service.(Line numbers are included for reference only.)
01 [ServiceContract]
02 public interface IStatus
03 {
04 [OperationContract]
05 int GetOrderStatus(string orderNumber);
06 }
07
08 class OrderService : IStatus
09 {
10 public int GetOrderStatus(string orderNumber)
11 {
12 ...
13 }
14 }
15
16 class Program
17 {
18 static void Main(string[] args)
19 {
20
21
22 host.Open();
23 ...
24 }
25 }You need to ensure that the service always listens at net.pipe://SupplyChainServer/Pipe.
What should you do?()