Comments (7)
Can you elaborate on "breaks my application"?
Also, if you want to make the calls synchronously, you can just use the HttpClient or WebClient directly in your application. We just wrote a really thin wrapper for us to have strong typing.
Or just use something like RestSharp: http://restsharp.org/
from hellosign.net.
I apologize, it doesn't break my application.
var signatureResponse = await helloSign.SignatureRequest.SendWithTemplateAsync(requestSignature);
will execute however return nothing.
I definitely want to work Asynchronously, however only that single area of the code causes issues when ran asynchronously.
from hellosign.net.
Is it returning null, or an object that isn't populated the way you'd expect?
Maybe set a breakpoint in line 112 of the HelloSignClient:
Inspect in there... Perhaps the JSON isn't returned in a format we are expecting?
from hellosign.net.
It seems to have to do with Getting the Request Stream via Async.
Stepping through with a break on:
webReq.ContentType = "application/x-www-form-urlencoded";
It will hit
using (var requestStream = await webReq.GetRequestStreamAsync())
then break again back on webReq (as i'm sending multiple signatures).
from hellosign.net.
Can you show your calling code? There could be a multi-threading issue in there if you have multiple requests running concurrently.
from hellosign.net.
Do you suppose I could email you the code personally?
Shot it to your email with hope!
I really appreciate your assistance!
from hellosign.net.
@jdconley is the MAN! Silly usage of Asynchronous calls broke the wrapper, now it works perfect! =D
from hellosign.net.
Related Issues (6)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hellosign.net.