How to make HTTP request in windows service? [closed] - c#

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
i want to implement my first windows service application.
this app must run day and night. it should to send each 1 hour http request with possibility to make snapshot of requested webpage and save it in database.
can you show me some c# code examples how to:
make http request from windows service.
set a timer for requesting each 1 hour.
send e-mail that snapshot is successfully saved in DB.
thank you!

The following 3 MSDN pages should get you started.
Make HTTP Request: http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.aspx
Working with timers: http://msdn.microsoft.com/en-us/library/system.timers.timer(v=VS.100).aspx
Emailing: http://msdn.microsoft.com/en-us/library/system.net.mail.mailmessage.aspx

Related

How to create a message in Azure Service Bus Queues after a new item is added to a Sharepoint 2013 list? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I need to create messages on a Windows Azure Service Bus Queue every time an item is created under a specific Sharepoint 2013 List. Later I would process those messages with another application.
Some guidance or examples would be helpful.
how about event receivers on your SP 2013 List?
something similar to the approach in the app sample mentioned here: http://blogs.msdn.com/b/officeapps/archive/2013/01/03/debugging-remote-event-receivers-with-visual-studio.aspx#service-bus

How could I send a text? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I am currently working on an app for Windows Phone. What I wish to do is simple - allow the user to set a time, and, at this time, the phone will send a text message to a specified number.
Is it possible to do this ? How can I do this ?
Thanks very much.
There is a way to launch the Messaging application with the "Body" and "To" field programmatically field in.
The SmsComposeTask Class is what you need to launch the messaging application.

How to put users in queue using C# and ASP.NET [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
I have created a dynamic data website in visual studio 2010 using C# and ASP.NET
When a user creates a request (for example a request for software installation), i would like that request to go into some kind of queue. So that i can check the users request and either allow or deny it.
Can someone help me with this ?
Store all request in a database, and add a flag that it has not been processed

C# window application [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
I am developing c# application, in which this application is act as server.My front end is flex application.when i am testing my application through browser i passed a url as below.
http://serverip:8082/item/detail/2210
As response it was showing not serviced, no valid session.
But when I tried from different machine I got the response back perfectly.
Can any one please tell why it is happening.
its a non standard port, you may have to open the firewall to allow eternal address or subnet to access? A good way I usually use to test this is using Telnet
telnet.exe serverip serverport
Other things could be DNS or Host Headers in IIS
Cheers

Quote ticker in C# [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 12 years ago.
I want to make a Quote Ticker Control in C#
in which Live data should be come from stock exchange
How i will do it
Thanks
Read up on web services, it will probably be the best way to get upto date live information and then you'd use the results to update your control on your C# form.
This article should help you out!
Try to work out some of it and post specific questions.
Plan
Implement
Test
Deploy
Assuming this is for a web application, in addition to web services you will probably want to look into AJAX so you can refresh the data without having to postback the page.

Categories