问题
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