C#中的MVC DocuSign WebHook接收器正确的类是什么 [英] what is the proper class for an MVC DocuSign WebHook receiver in C#

查看:105
本文介绍了C#中的MVC DocuSign WebHook接收器正确的类是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是DocuSign API实施的初学者.我的控制器中有一个webhook类型的动作,它是从ApiController基类继承的.

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.

找不到路径"/XXX/XXX"的控制器,或者 没有实现IController.

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

我知道这个问题ApiController不是从IController类继承的.但是Webhook需要ApiController(我希望我是对的).

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

我的网站已启用SSL(这是必需的),已将此代码发布到服务器中.

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

是否需要其他配置?

推荐答案

在C#中,MVC DocuSign WebHook接收器的正确类是Controller.

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

namespace DocuSignWebSample.Controllers
{
    public class HomeController : Controller
    {

位于 https://github.com/jeremylindsayni/Magellanic.DigitalSignature

概述博客文章,网址为 https://jeremylindsayni.wordpress.com/2017/03/11/integrate-docusign-with-ac-mvc-website/

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.

这篇关于C#中的MVC DocuSign WebHook接收器正确的类是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆