How to get current page url in window service

Posted by Sahoo under ASP.NET on 5/25/2012 | Points: 10 | Views : 1192 | Status : [Member] | Replies : 5
Hi,


I have a window service attached to one web application.I want to know current url of the application inside window service.
How to do it as HttpContext not available in it.


Thanks in advance




Responses

Posted by: Sakthi.Singaravel on: 5/25/2012 [Member] Silver | Points: 25

Up
0
Down
http://www.powerasp.net/content/new/get-current-page-url.asp

Regards,
Singaravel M

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Vuyiswamb on: 5/25/2012 [Member] [MVP] [Administrator] NotApplicable | Points: 25

Up
0
Down
You Cant,

Alternatively you can store it from your web app into the database and your Windows Service can retrieve it from there.

Thank you for posting at Dotnetfunda
[Administrator]

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 5/26/2012 [Member] Bronze | Points: 25

Up
0
Down
http://www.csharp-examples.net/windows-service-list/

Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sabarimahesh on: 5/26/2012 [Member] Bronze | Points: 25

Up
0
Down
http://www.powerasp.net/content/new/get-current-page-url.asp


Life is a Race
Thanks & Regards
By
Sabari Mahesh P M

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sakthi.Singaravel on: 5/26/2012 [Member] Silver | Points: 25

Up
0
Down
@Administrator

Thank you for your valuable information.

Regards,
Singaravel M

Sahoo, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response