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

最后都变了- 提交于 2019-12-12 20:06:53

问题


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:


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.



来源:https://stackoverflow.com/questions/49730453/what-is-the-proper-class-for-an-mvc-docusign-webhook-receiver-in-c-sharp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!