C#中的MVC DocuSign WebHook接收器正确的类是什么 [英] what is the proper class for an MVC DocuSign WebHook receiver in C#
问题描述
我是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://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屋!