C# Webhook InitializeReceiveGenericJsonWebHooks
I receive the error:
'HttpConfiguration' does not contain a definition for 'InitializeReceiveGenericJsonWebHooks' and no accessible extension method 'InitializeReceiveGenericJsonWebHooks' accepting a first argument of type 'HttpConfiguration' could be found (are you missing a using directive or an assembly reference?)
I have the HttpConfiguration DLL and I have also installed the ASPNet Webhooks Reciever package.
public static class WebApiConfig
public static void Register(HttpConfiguration config)
// Web API routes
config.MapHttpAttributeRoutes();
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/controller/id",
defaults: new id = RouteParameter.Optional
);
// Initialize Generic JSON WebHook receiver
config.InitializeReceiveGenericJsonWebHooks();
c# webhooks
add a comment |Â
I receive the error:
'HttpConfiguration' does not contain a definition for 'InitializeReceiveGenericJsonWebHooks' and no accessible extension method 'InitializeReceiveGenericJsonWebHooks' accepting a first argument of type 'HttpConfiguration' could be found (are you missing a using directive or an assembly reference?)
I have the HttpConfiguration DLL and I have also installed the ASPNet Webhooks Reciever package.
public static class WebApiConfig
public static void Register(HttpConfiguration config)
// Web API routes
config.MapHttpAttributeRoutes();
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/controller/id",
defaults: new id = RouteParameter.Optional
);
// Initialize Generic JSON WebHook receiver
config.InitializeReceiveGenericJsonWebHooks();
c# webhooks
add a comment |Â
I receive the error:
'HttpConfiguration' does not contain a definition for 'InitializeReceiveGenericJsonWebHooks' and no accessible extension method 'InitializeReceiveGenericJsonWebHooks' accepting a first argument of type 'HttpConfiguration' could be found (are you missing a using directive or an assembly reference?)
I have the HttpConfiguration DLL and I have also installed the ASPNet Webhooks Reciever package.
public static class WebApiConfig
public static void Register(HttpConfiguration config)
// Web API routes
config.MapHttpAttributeRoutes();
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/controller/id",
defaults: new id = RouteParameter.Optional
);
// Initialize Generic JSON WebHook receiver
config.InitializeReceiveGenericJsonWebHooks();
c# webhooks
I receive the error:
'HttpConfiguration' does not contain a definition for 'InitializeReceiveGenericJsonWebHooks' and no accessible extension method 'InitializeReceiveGenericJsonWebHooks' accepting a first argument of type 'HttpConfiguration' could be found (are you missing a using directive or an assembly reference?)
I have the HttpConfiguration DLL and I have also installed the ASPNet Webhooks Reciever package.
public static class WebApiConfig
public static void Register(HttpConfiguration config)
// Web API routes
config.MapHttpAttributeRoutes();
config.Routes.MapHttpRoute(
name: "DefaultApi",
routeTemplate: "api/controller/id",
defaults: new id = RouteParameter.Optional
);
// Initialize Generic JSON WebHook receiver
config.InitializeReceiveGenericJsonWebHooks();
c# webhooks
c# webhooks
asked Nov 10 at 21:21
levis84
206313
206313
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
I guess you missed the "Microsoft.AspNet.WebHooks.Receivers.Generic" nuget package. After installing it, your compiler error should disappear.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I guess you missed the "Microsoft.AspNet.WebHooks.Receivers.Generic" nuget package. After installing it, your compiler error should disappear.
add a comment |Â
I guess you missed the "Microsoft.AspNet.WebHooks.Receivers.Generic" nuget package. After installing it, your compiler error should disappear.
add a comment |Â
I guess you missed the "Microsoft.AspNet.WebHooks.Receivers.Generic" nuget package. After installing it, your compiler error should disappear.
I guess you missed the "Microsoft.AspNet.WebHooks.Receivers.Generic" nuget package. After installing it, your compiler error should disappear.
answered Nov 10 at 21:42
koolkoda
18415
18415
add a comment |Â
add a comment |Â
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid â¦
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid â¦
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53243524%2fc-sharp-webhook-initializereceivegenericjsonwebhooks%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown