One Service reference across multiproject solution
-
07-10-2022 - |
Pergunta
I would like to know how configure C# solution in VS2012 for more projects, and service reference only at one place.
I have three projects:
- A: MVC4 Web Application
- B: Class Library
- C: WCF Class Library service reference to a WCF service somewhere on the internet.
Setup:
- A has reference on B and C.
- B has reference on C
- C has not reference on project
In B I would like to call service method, from service reference, in C.
But always when I try it, I get NullReferenceException
.
What is the right way for have only one service reference for the whole solution?
Nenhuma solução correta
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow