5 Replies - 256 Views - Last Post: 04 September 2012 - 07:57 AM Rate Topic: -----

#1 rfresh  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 23-August 12

Using VS Express 2010 HttpClient ?

Posted 01 September 2012 - 02:44 PM

I am using VS 2010 Express and noticed that I cannot use:

using System.Net.Http;



Is there another namespace I can use to get Http capability?

Thanks...
Is This A Good Question/Topic? 0
  • +

Replies To: Using VS Express 2010 HttpClient ?

#2 tlhIn`toq  Icon User is offline

  • Closing in on 5,000
  • member icon

Reputation: 4928
  • View blog
  • Posts: 10,465
  • Joined: 02-June 10

Re: Using VS Express 2010 HttpClient ?

Posted 01 September 2012 - 02:54 PM

Take a look at the MSDN for that namespace:
http://msdn.microsof...m.net.http.aspx

You'll notice it is for .NET 4.5
You need to be running Visual Studio 2012 for that.

If you just want to embed a webbrowser on your form you can drag-n-drop one from the Toolbox.
Was This Post Helpful? 1
  • +
  • -

#3 rfresh  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 23-August 12

Re: Using VS Express 2010 HttpClient ?

Posted 01 September 2012 - 03:06 PM

I don't need a web browser, I just want to grab a text file on my server and read in it's data. I thought I'd use Http for that but maybe now I'll have to do it another way???
Was This Post Helpful? 0
  • +
  • -

#4 tlhIn`toq  Icon User is offline

  • Closing in on 5,000
  • member icon

Reputation: 4928
  • View blog
  • Posts: 10,465
  • Joined: 02-June 10

Re: Using VS Express 2010 HttpClient ?

Posted 01 September 2012 - 03:11 PM

When I google "C# HTTP Download" there are a ton of examples like this one:
http://www.csharp-ex...download-files/
Was This Post Helpful? 1
  • +
  • -

#5 rfresh  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 32
  • Joined: 23-August 12

Re: Using VS Express 2010 HttpClient ?

Posted 01 September 2012 - 03:17 PM

That should work...thanks...
Was This Post Helpful? 0
  • +
  • -

#6 Curtis Rutland  Icon User is online

  • (╯°□°)╯︵ (~ .o.)~
  • member icon


Reputation: 3798
  • View blog
  • Posts: 6,405
  • Joined: 08-June 10

Re: Using VS Express 2010 HttpClient ?

Posted 04 September 2012 - 07:57 AM

I can't access his link at work, so I don't know if this was suggested, but you can just use WebClient. That's actually what HttpClient is superceeding in .NET 4.5.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1