Solved

C# Run http command in background

Posted on 2011-09-05
4
412 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

776 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