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

Clarify in the documentation if client-side apps are supported #14

Open
carlpaten opened this issue Jul 13, 2016 · 3 comments
Open

Clarify in the documentation if client-side apps are supported #14

carlpaten opened this issue Jul 13, 2016 · 3 comments

Comments

@carlpaten
Copy link

I have a UWP app written in TypeScript. I'd like to use WCF.js to talk to WCF endpoints. Is that feasible?

@yaronn
Copy link
Owner

yaronn commented Jul 14, 2016

It should be possible providing that the WCF endpoint uses security
configuration which is supported by wcf.js as specified in the readme.

On Wed, Jul 13, 2016 at 11:44 PM, Carl Patenaude Poulin <
[email protected]> wrote:

I have a UWP app written in TypeScript. I'd like to use WCF.js to talk to
WCF endpoints. Is that feasible?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#14, or mute the thread
https://github.com/notifications/unsubscribe/ABS8vQIwTvKZCiPiq9rVRV9cbLhJORlLks5qVU4cgaJpZM4JL1Gg
.

I'm on Twitter (@YaronNaveh http://twitter.com/#!/YaronNaveh)

@carlpaten carlpaten changed the title Clarify in the documentation if Universal Windows apps are supported Clarify in the documentation if client-side apps are supported Jul 14, 2016
@carlpaten
Copy link
Author

I guess I asked the wrong question. I was wondering if wcf.js could be used as a client-side library.

@yaronn
Copy link
Owner

yaronn commented Jul 16, 2016

If you need Wcf.js to do message-level security stuff, then Wcf.js has the dependency chain wcf.js-->ws.js-->xml-crypto which in turn depends on the node.js crypto module. If wcf.js will have all of its dependencies including crypto available it will work on the client side. I know in the past someone tries to make xml-crypto work on a browser and had to manually change the crypto module to another one which was available on the browser.

If you do not use message-level security (but rather use ssl or no security) then you probably don't need the xml-crypto dependency anyway.

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