直接跳至主要內容
找不到項目。
dropbox sign 標誌
為何選擇 Dropbox Sign?
展開或收起手風琴

我們提供的功能

線上簽署文件
建立電子簽章
選擇或建立範本
填寫及簽署 PDF
完成線上合約
文件管理
探索功能
向右箭頭圖示

使用案例

銷售和業務開發
人力資源
新創公司
金融科技
房地產
隨需服務
產品
展開或收起手風琴
Dropbox 圖示
Sign
輕鬆進行簽名與傳送
Dropbox 圖示
Sign API
將 eSign 與既有工作流程整合
Dropbox Fax 圖示
Fax
不用傳真機就能傳真
Dropbox 整合圖示
整合
與您相約在工作地點見
資源
展開或收起手風琴
部落格
工作流程專業與產品新聞
客戶故事
具實績佐證的真實故事
說明中心
詳盡產品指南
資源庫
報告、影片和資訊表
開發人員
價格
展開或收起手風琴
Dropbox Sign 價格
找出符合您需求的方案
Dropbox Sign API 價格
具實績佐證的真實故事
聯絡銷售人員
註冊
聯絡銷售人員
登入
展開或收起手風琴
Dropbox Sign
Dropbox Forms
Dropbox Fax
免費試用
部落格
/
開發人員

Getting Started with the Dropbox Sign API Using .NET Core

by 
Julia Seidman
June 16, 2021
5
分鐘閱讀時間
"Getting Started with the Dropbox Sign API Using .NET Core" header image
工具提示的圖示

全新設計,優秀如初!HelloSign 現已更名為 Dropbox Sign。

關閉圖示

If you are looking for an eSignature solution to integrate with your .NET Core application, the secure, scalable, and highly customizable Dropbox Sign API is a great fit.  The structure of the Dropbox Sign response objects integrates easily with the Entity Framework ORM, and getting started is simple and free. The Developer Portal will help you with details on many possible implementations, but your initial .NET set-up can be done in just a few easy steps.


Building with the Dropbox Sign .NET SDK

The first thing you’ll need to do to begin incorporating Dropbox Sign into your .NET application is to visit the Dropbox Sign website to sign up for an account and get an API key.  From the Dropbox Sign web app, click on your username in the top right corner. From the responding dropdown menu, click "My Settings." Then, navigate to the "API" tab. Here you can generate an API key.

Image showing where to find your API key in HelloSign settings
Finding your API Key

‍

For some use cases like Embedded Signing or Premium Branding you will also need to create a Dropbox Sign API App. To do that click on “Create” in the API Apps section.  Give your API App a name and a domain. As long as you are in the testing phases of development, you can ignore the domain verification fields, as those are only required for production applications. Once you have created an application, you will receive a Client ID associated with that specific API App.  Use .NET’s System.Environment class to save your API key and Client secret:

‍

‍

While you are developing a new project with the Dropbox Sign API, you can use the  test_mode parameter to test out all features of the API at no cost. (Note that signature requests made in test mode are not legally binding, and are marked as such.)  The API Reference has detailed documentation of all API endpoints and response data, making it easy to plan your application.


The next step is to install the Dropbox Sign SDK in your application. For .NET applications, it is available as a NuGet package, with in-depth documentation available in the ReadMe.


With your account set up and the package installed, you are ready to get started. To demonstrate the set-up for Dropbox Sign in .NET, we’ll walk through a hypothetical use case.


Imagine you are creating a service to help very early-stage startups get set up with IP contracts, funding agreements, and other legal documents. Depending on the user experience you want to provide, there are multiple ways to use the Dropbox Sign API on your site, but the initial setup is very similar.


Create and Send a Signature Request

When you have a document that needs to be signed, you can initiate the SignatureRequest from your .NET application. Dropbox Sign’s Signature Request Walkthrough provides details on different options for implementation.


If you are working in an MVC application using Entity Framework, you will likely want to create your own SignatureRequest model and include the calls to the Dropbox Sign client in the methods for that Entity or in an `ApiHelper.cs` file in the same namespace. This will make the relationships between ApplicationUsers and SignatureRequests query-able with LINQ and give you a clean way of managing SignatureRequests for a large number of accounts.


If you are working in a lighter-weight .NET implementation, such as `dotnet new webapp`, you can put the Dropbox Sign client code in a file in your `Pages` directory.


In either case, the call to generate a new SignatureRequest is the same.  


Using Existing Files in a SignatureRequest

The simplest way to handle SignatureRequests is to allow Dropbox Sign to generate an email to all signers and include your files in that email.

‍

‍

Note that the files parameter is using a path to a single file but can also be used with a URL or include multiple files in the signature request. For URLs, you will use file_url : [array] instead.


Send a SignatureRequest With A Template

For our startup platform, in some cases a better option might actually be to use templates. While many teams will want to draft and revise their own contracts, others will be very happy to have boilerplate contracts. Using templates for standardized forms makes the signing experience faster and more uniform across documents, which, for some users, will be exactly what they want. Read through the Templates Walkthrough for more information.


Creating a template is easy, but you will need to do it on the Dropbox Sign website.  After you’ve made a template, you can reference the template with template_id and Send with a Template.

‍

‍

Embedding Your SignatureRequests Directly In Your Application

Eventually, as your application scales and you invest more in branding and UX, you can embed the Dropbox Sign functionality you need directly on your website. With the Dropbox Sign API, you can let users do an assortment of tasks directly in your app, like sign documents with Embedded Signing, request signatures with Embedded Requesting, and create and edit templates with Embedded Templates. You can even Premium Branding the entire signing flow with your own branding to make the experience completely seamless.


For .NET applications, developing embedded flows will require using some JavaScript code. While your backend can still make calls via the Dropbox Sign .NET SDK, the corresponding links are embedded in an iFrame on the front end using the hellosign-embedded library, which is available through NPM or via CDN.


Using the .NET SDK to build with the Dropbox Sign API

For developers building applications with eSignature needs, the Dropbox Sign .NET SDK is a great way to improve efficiency and speed up implementation. Whether you’re building for signature requests or embedded signing, the .NET SDK offers quick, flexible, and scalable access to Dropbox Sign API endpoints using built-in methods.


To learn more about the Dropbox Sign API and start testing for free, visit Dropbox Sign’s Developer Portal

時時參與其中

完成!請查看您的收件匣。

Thank you!
Thank you for subscribing!

Lorem ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Lorem ipsum
向右箭頭圖示
關閉圖示

Up next:

特寫插圖:代表現代數位簽署解決方案的手寫簽名。
開發人員
15
分鐘閱讀時間

將 Dropbox Sign 與 Ruby on Rails 整合:逐步教學

特寫插圖:代表現代數位簽署解決方案的手寫簽名。
開發人員
15
分鐘閱讀時間

Dropbox Sign vs. SignNow for developers

電子書

如何建立
最終員工部署檢查清單

產品
Dropbox SignDropbox Sign APIDropbox Fax整合
為何選擇 Dropbox Sign
電子簽章簽署文件簽署及填寫 PDF線上合約建立電子簽章簽名編輯工具簽署 Word 文件
支援服務
說明中心聯絡銷售人員聯絡支援團隊管理 Cookie開始使用:Dropbox Sign開始使用:Dropbox Sign API
資源
部落格客戶故事資源中心合法性指南信賴中心
合作夥伴
策略合作夥伴合作夥伴搜尋工具
公司
職涯條款隱私權
Facebook 圖示Youtube 圖示

可接受的付款方式

萬事達卡標誌Visa 卡標誌美國運通卡標誌Discover 標誌
CPA 法規遵循標章HIPAA 法規遵循標章Sky High Enterprise ready 標章ISO 9001 認證標章

Dropbox Sign 電子簽名在美國、歐盟地區、英國和世界上許多國家均已具備法律約束力。
詳情請參閱我們的條款與條件以及隱私權政策