Solved

C# Run http command in background

Posted on 2011-09-05
4
408 Views
Last Modified: 2012-05-12
Hello experts,
 How do I in C# run HTTP command in Background ?

Thanks
0
Comment
Question by:madmare
4 Comments
 
LVL 8

Expert Comment

by:guvera
ID: 36483628
Hi,

 Please check the below link for your reference

http://msdn.microsoft.com/en-us/library/ms379563(v=vs.80).aspx

Also check it out the below link and download the source file for your reference

http://www.codeproject.com/KB/cs/Execute_Command_in_CSharp.aspx

Thanks
Guvera
0
 

Author Comment

by:madmare
ID: 36483642
Is this includes also HTTP command ?
0
 
LVL 16

Expert Comment

by:Easwaran Paramasivam
ID: 36483693
You mean you want to browse to other pages such as http://something.com/..?

If so, use Response.Redirect(url).

Or in client side use window.open(url)
0
 
LVL 2

Accepted Solution

by:
arundhaj earned 500 total points
ID: 36483798
you could use

HttpWebRequest req = (HttpWebRequest)WebRequest.Create("http://www.google.com");
HttpWebResponse res = (HttpWebResponse)req.GetResponse();
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now