what is the proper class for an MVC DocuSign WebHo

2019-07-11 06:23发布

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?

1条回答
别忘想泡老子
2楼-- · 2019-07-11 07:22

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.

查看更多
登录 后发表回答