Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set Namespace in proxy generator. #27

Open
DonaldRecord opened this issue Oct 15, 2017 · 2 comments
Open

How to set Namespace in proxy generator. #27

DonaldRecord opened this issue Oct 15, 2017 · 2 comments

Comments

@DonaldRecord
Copy link

Hello,

Is there any way in WCF Client Proxy Generator to programmatically set the binding namespace of the created service proxy?

@jweber
Copy link
Owner

jweber commented Nov 20, 2017

I don't believe there is currently a way to accomplish this. If you can point me to any documentation or examples of this being done elsewhere I can take a look at implementing it into the library.

@DonaldRecord
Copy link
Author

DonaldRecord commented Jan 18, 2018

Sorry for the delayed response. There are several Git projects for this same purpose, but none of them seem to have this functionality. To be entirely honest, I am not sure that .NET allowed a way for it to be done dynamically. I will do more research myself when I have time. Here are some links to start.

https://stackoverflow.com/questions/7364024/service-contract-namespace-why
https://msdn.microsoft.com/en-us/library/system.servicemodel.servicecontractattribute(v=vs.110).aspx
(https://social.msdn.microsoft.com/Forums/vstudio/en-US/07b30bd4-8a12-4447-9e80-30d2bad85abe/wcf-service-contract-namespace?forum=wcf)
https://docs.microsoft.com/en-us/dotnet/framework/wcf/service-versioning

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants