I have two different Interface service that I'm using
1. IService1
2. IService2
I define two files
1. IService1.cs => that hold the Interface of IService1
2. IService2.cs => that hold the Interface of IService2
I also define two different .cvs
1. IService1.cvs=> that hold the Interface of IService1
2. IService2.cvs=> that hold the Interface of IService2
이 파일을 구조체로 만들거나 모든 계약 인터페이스를 하나의 파일에 포함하고 하나의 .cvs 파일을 갖는 것이 좋습니다.다른 .svc 파일에 다른 인터페이스를 정의 하시겠습니까?
.svc 파일 - 감사합니다. – Yanshof
내가 ISBeanBase에 IService1을 노출하고 NamedPipeBinding에만 IService2를 노출하고 싶습니다. 동일한 서비스에서이 둘을 정의하거나 설정 파일에서 두 개의 서비스를 정의해야합니까? – Yanshof
WCF의 NamedPipes는 다른 시스템에서 액세스 할 수 없으며 엔드 포인트가 원격 클라이언트에 노출 된 WSDL에 없어야하기 때문에 각 .svc에 각각을 노출 할 수 있습니다. –