Giter Site home page Giter Site logo

docusign / code-examples-csharp Goto Github PK

View Code? Open in Web Editor NEW
54.0 16.0 59.0 3.88 MB

Docusign C# code examples and launcher

Home Page: https://developers.docusign.com/

License: MIT License

C# 79.00% HTML 19.20% CSS 0.49% JavaScript 1.31%
csharp esign esignature docusign rooms-api click-api monitor-api webforms-api

code-examples-csharp's People

Contributors

aaronwds avatar annahileta avatar connorl-docusign avatar dmartin00 avatar inbargazit avatar jkamleh avatar karissarjacobsen avatar kliubynska avatar kyrylopolishchuk avatar larryklugerds avatar matthewlusher avatar mattkingds avatar mattlusher avatar meihds avatar mykyta-petrov avatar nanbohdanmoroz avatar nansigmabohdanmoroz avatar paigesrossi avatar pmackle avatar raileendr avatar romanbachalosigmasoftware avatar shadim avatar vladbeniukh14 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

code-examples-csharp's Issues

Quick_ACG project is broken

IDE: Visual Studio 2022
Solution: Quick_ACG
OS: Windows 11

I used this article https://developers.docusign.com/docs/esign-rest-api/quickstart/ to generate the code.

In both "Authorization Code Grant embedded signing example" and "Multiple code examples, Authorization Code Grant and JWT Grant" scenarios Quick ACG project is not working.

In "Authorization Code Grant embedded signing example" scenario the build is failing with error

Source file 'C:\s\Quickstart App-1-c#\Quick_ACG\..\launcher-csharp\eSignature\Controllers\EmbeddedSigningCeremony.cs' could not be found.

In "Multiple code examples, Authorization Code Grant and JWT Grant" scenario I receive this error in runtime

System.InvalidOperationException: The view 'quickEmbeddedSigning' was not found. The following locations were searched:
/Areas/eSignature/Views/EmbeddedSigningCeremony/quickEmbeddedSigning.cshtml
/Areas/eSignature/Views/Shared/quickEmbeddedSigning.cshtml
/Views/Shared/quickEmbeddedSigning.cshtml
/Pages/Shared/quickEmbeddedSigning.cshtml
   at Microsoft.AspNetCore.Mvc.ViewEngines.ViewEngineResult.EnsureSuccessful(IEnumerable`1 originalLocations)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync(ActionContext context, ViewResult result)
   at Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync(ActionContext context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResultFilterAsync>g__Awaited|30_0[TFilter,TFilterAsync](ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResultExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeResultFilters()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

500 Error while creating JWT Token

Hello Team,

We are Requesting JWT token using RequestJWTUserToken() method along with the valid (required) parameters. but we could see that sometimes it is working fine and sometimes not.

We are getting below error with no response body.

Error while requesting server, received a non successful HTTP code with response Body: : at DocuSign.eSign.Client.DocuSignClient.RequestJWTUserToken(String clientId, String userId, String oauthBasePath, Byte[] privateKeyBytes, Int32 expiresInHours, List1 scopes)`

We have given the scope as "signature impersonation" for the DocuSign Demo Account.

Please let us know.

Minor refactoring suggestion

This is such a wonderful job and great resource for someone new to DocuSign. We really appreciate it!!

May I offer one small refactoring suggestion, please? Could the prefixes of the 2 properties in bold be modified to 'SignerEmail' and 'SignerName' in light of the naming convention used for the class name of 'EmbeddedSigningModel'... Thank you!

namespace DocuSign.CodeExamples.Views
{
public class EmbeddedSigningModel
{
public string SingerEmail { get; set; }
public string SingerName { get; set; }
}
}

Cant see uploaded signatures

I am using c# docusign quick start. According to document when i use createSignature method and pass imagebase64, signature name, uri etc, it only saves signature name, further more when i trigger embedded document signature method from local host i cant see saved signatures in options

RuntimeBinderException with Quick_ACG project

RuntimeBinderException: 'DocuSign.CodeExamples.ESignature.Models.CodeExampleText' does not contain a definition for 'LinksToAPIMethod'

Error when running solution due to property names accessed through ViewBag (Api vs API)

Docusing Error while requesting server, received a non successful HTTP code Completed with response Body: {"error":"consent_required"}

I got this error while request JWT token.

Step: 1
so i request to
"https://account-d.docusign.com/oauth/auth?response_type=code&scope=signature%20impersonation&client_id={clinet_id}&redirect_uri=https://localhost:44333/ds/login?authType=JWT#/username"

Step:2
Redirect To me on authorized page
enter image description here

Step: 3
Afte Accept redirect on login page and again try to Authorzation with JWT token but still getting same error as above.

enter image description here

setting on docusign as per below i gave Permissions for "signature impersonation" in my docusign account.

enter image description here
enter image description here

can you please help me what i wrong in it. i check another linked also "https://stackoverflow.com/questions/63713136/docusign-error-while-requesting-server-received-a-non-successful-http-code-comp" but i already include the impersonation scope but don't know why always getting same error.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.