Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi everyone!
I found this great blogpost http://madskristensen.net/post/Ping-using-XML-RPC-in-ASPNET.aspx explaining how you can ping a page using .net. Does anyone know how I can call the method PingService.Send();
when a page is updated/created in umbraco without modifying the source?
Thanks / Niklas
Hi Niklas,
You can just hook into the publish event http://our.umbraco.org/wiki/reference/api-cheatsheet/using-applicationbase-to-register-events/event-examples
Rich
Perfect thanks. Do I just put my .cs file in the app_data folder?
/ Niklas
Hey Niklas,
No, you need to set up a small visual studio solution and build the .dll file and put this in your bin directory.
Do you have Umbraco TV? If so you can watch this video http://umbraco.com/help-and-support/video-tutorials/developing-with-umbraco/events/introduction-to-events/TVPlayer
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Call a method when page is created?
Hi everyone!
I found this great blogpost http://madskristensen.net/post/Ping-using-XML-RPC-in-ASPNET.aspx explaining how you can ping a page using .net. Does anyone know how I can call the method PingService.Send();
when a page is updated/created in umbraco without modifying the source?
Thanks / Niklas
Hi Niklas,
You can just hook into the publish event http://our.umbraco.org/wiki/reference/api-cheatsheet/using-applicationbase-to-register-events/event-examples
Rich
Perfect thanks. Do I just put my .cs file in the app_data folder?
/ Niklas
Hey Niklas,
No, you need to set up a small visual studio solution and build the .dll file and put this in your bin directory.
Do you have Umbraco TV? If so you can watch this video http://umbraco.com/help-and-support/video-tutorials/developing-with-umbraco/events/introduction-to-events/TVPlayer
Rich
is working on a reply...