{"id":25553809,"url":"https://github.com/docusign/sample-app-webforms-csharp","last_synced_at":"2025-04-11T22:43:24.601Z","repository":{"id":224605734,"uuid":"763697587","full_name":"docusign/sample-app-webforms-csharp","owner":"docusign","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-28T19:37:11.000Z","size":3505,"stargazers_count":1,"open_issues_count":0,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-11T22:43:18.313Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/docusign.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-26T19:01:02.000Z","updated_at":"2025-01-28T19:37:14.000Z","dependencies_parsed_at":"2024-02-26T21:26:16.014Z","dependency_job_id":"d982b3c2-7e5a-45e0-82f9-6f68e4449a6e","html_url":"https://github.com/docusign/sample-app-webforms-csharp","commit_stats":null,"previous_names":["docusign/sample-app-mywebforms-csharp"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fsample-app-webforms-csharp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fsample-app-webforms-csharp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fsample-app-webforms-csharp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/docusign%2Fsample-app-webforms-csharp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/docusign","download_url":"https://codeload.github.com/docusign/sample-app-webforms-csharp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248492988,"owners_count":21113159,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-20T12:01:45.632Z","updated_at":"2025-04-11T22:43:24.572Z","avatar_url":"https://github.com/docusign.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web Forms Sample Application: React\n\n## Introduction\n\nThe Docusign Web Forms Sample App shows developers with a practical example of how to sign documents using web forms with focused view and embedded signing. The application is Single Page Application leveraging the C# Docusign SDK. The SPA is created using React.js and .Net Web API. You can find a live instance at [https://mywebforms.sampleapps.docusign.com](https://mywebforms.sampleapps.docusign.com).\n\nWeb Forms Sample App demonstrates the following:\n\n1. **Authentication** with Docusign via [JWT Grant](https://developers.docusign.com/platform/auth/jwt/).\n2. **Personal Loan:**\n   \n   Docusign Features:\n   - Web Forms\n   - Single signer\n   - Templates\n   - Focused view\n3. **Auto Loan:**\n   \n   Docusign Features:\n   - Web Forms\n   - Multiple signers\n   - Embedded signing\n   - Templates\n4. **Sailboat Loan:**\n   \n   Docusign Features:\n   - Web Forms\n   - Templates\n   - Auto-place (anchor) positioning\n   - Embedded signing\n\n## Prerequisites\n\n- Create a Docusign [Developer Account](https://go.docusign.com/o/sandbox/).\n- Create an application on the [Apps and Keys](https://admindemo.docusign.com/authenticate?goTo=appsAndKeys) page.\n- Press \"GENERATE RSA\" and save the generated key pairs (it will be used later in \"Settings configuration\" section to configure \"private.key\")\n- Installed and configured [Node.js](https://nodejs.org/en/download)\n- Installed and configured [Docker](https://www.docker.com/)\n- Installed and configured [.Net 7.0](https://dotnet.microsoft.com/en-us/download/dotnet/7.0)\n- Add all templates from folder 'Templates' to your account\n- Add all web form configurations from folder 'WebForms' to your account\n\n### Settings configuration\n\nCreate a copy of the file appsettings-example.json, save the copy as appsettings.json, and fill in the data:\n\n- {IntegrationKey} - integration key of the application created in section \"Create an application on the Apps and Keys page\" above (string)\n- Save generate private RSA key (section \"Prerequisites\") to the file \\sample-app-MyWebForms-csharp\\Docusign.MyWebForms\\Docusign.MyWebForms\\private.key\n- {UserId} - ID of the test user\n- {AccountId} - ID of the account that is connected to the test user\n- {RedirectUri} - Internal redirection URL that is used during the embedded signing process. To run the app locally this should be `\"http://localhost:5000/sign/completed\"`\n- {PersonalLoanTemplateName} - The name for personal loan template which should be used when adding template to your account\n- {AutoLoanTemplateName} - The name for auto loan template which should be used when adding template to your account\n- {SailboatLoanTemplateName} - The name for sailboat loan template which should be used when adding template to your account\n\n## Local installation instructions (without Docker)\n\n1. Clone the git repository to your local machine\n1. Make the Settings configuration described above\n1. Open a terminal and navigate to \\sample-app-MyWebForms-csharp\\Docusign.MyWebForms\\Docusign.MyWebForms\\ClientApp folder\n1. Install required client application packages running the following command in the terminal:\n   ```\n   npm install\n   ```\n1. Start the client application running the following command in the terminal:\n   ```\n   npm start\n   ```\n1. Open a new terminal and navigate to \\sample-app-MyWebForms-csharp\\Docusign.MyWebForms\n1. Build the .Net solution:\n   ```\n   dotnet build --configuration Debug\n   ```\n1. Start the .NET application:\n   ```\n   dotnet run --project .\\Docusign.MyWebForms\\Docusign.MyWebForms.csproj --configuration Debug\n   ```\n1. Open a browser to [localhost:5000](http://localhost:5000) (if the page is not opened automatically).\n\n## Local installation instructions (using Docker)\n\n1. Clone the git repository to your local machine\n1. Make the Settings configuration described above\n1. Open a terminal in the \\sample-app-MyWebForms-csharp directory.\n1. Build the docker image running the following command in the terminal:\n   ```\n   docker build -f Docusign.MyWebForms/Docusign.MyWebForms/Dockerfile -t docusign-mywebforms .\n   ```\n1. Start the application (run the docker container) with the following command in the terminal:\n\n   ```\n   docker run -p 80:80 -d docusign-mywebforms\n   ```\n\n1. Open a browser to [localhost](http://localhost)\n\n## License information\n\nThis repository uses the MIT License. See the [LICENSE](./LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocusign%2Fsample-app-webforms-csharp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdocusign%2Fsample-app-webforms-csharp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdocusign%2Fsample-app-webforms-csharp/lists"}