Search code examples
c#asp.net-mvcdocusignapidigital-signaturesignature

what is the proper class for an MVC DocuSign WebHook receiver in C#


I am a beginner in DocuSign API Implementation. I have a webhook type action in my controller, thate inherited from ApiController base class.

 public class DocuSignController : ApiController

But it's always shows a message like below.

The controller for path '/XXX/XXX' was not found or does not implement IController.

I know this issue the ApiController not inherited from the IController class. But the webhook needed ApiController (I hope i am right).

My website have already SSL enabled (this is required), already published this code into server.

Is any additional configuration needed for this?


Solution

  • The proper class for an MVC DocuSign WebHook receiver in C# is Controller.

    namespace DocuSignWebSample.Controllers
    {
        public class HomeController : Controller
        {
    

    Sample Code at https://github.com/jeremylindsayni/Magellanic.DigitalSignature

    Overview Blog article at https://jeremylindsayni.wordpress.com/2017/03/11/integrate-docusign-with-a-c-mvc-website/

    Reminder, when using other's code, understand your company's licensing related code policy's.