Using a proxy in C# Windows App .Net v2.0

  • Thread starter msnews.microsoft.com
  • Start date
M

msnews.microsoft.com

How do I handle a proxy server in a .Net 2.0 Windows App? I had to jump
through hoops to make it work with 1.1 and now I'm converting the code to
2.0.

Thanks.

Jeff.
 
N

Nicholas Paldino [.NET/C# MVP]

Jeff,

A proxy server for ^what^ exactly?

It doesn't mean much, really since .NET 2.0 code should be backwards
compatable with 1.1. What you have should work.
 
M

msnews.microsoft.com

I'm trying to make sure that programs that are behind a proxy server can
connect to my web services.

When I did .Net 1.1 I ended up getting Microsoft invovled because I couldn't
get the stuff to work correctly.

It almost looks as if 2.0 does it automatically for you.

J.

Nicholas Paldino said:
Jeff,

A proxy server for ^what^ exactly?

It doesn't mean much, really since .NET 2.0 code should be backwards
compatable with 1.1. What you have should work.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

msnews.microsoft.com said:
How do I handle a proxy server in a .Net 2.0 Windows App? I had to jump
through hoops to make it work with 1.1 and now I'm converting the code to
2.0.

Thanks.

Jeff.
 
S

sloan

Huh??

Are you talking about .Net Remoting where certain parts of the code run on
the server and not on the client?

http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!122.entry


Proxy can have several meanings. Which means you should type out what
you're trying to do (in the past and now) in a little more detail.



msnews.microsoft.com said:
I'm trying to make sure that programs that are behind a proxy server can
connect to my web services.

When I did .Net 1.1 I ended up getting Microsoft invovled because I
couldn't get the stuff to work correctly.

It almost looks as if 2.0 does it automatically for you.

J.

Nicholas Paldino said:
Jeff,

A proxy server for ^what^ exactly?

It doesn't mean much, really since .NET 2.0 code should be backwards
compatable with 1.1. What you have should work.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

msnews.microsoft.com said:
How do I handle a proxy server in a .Net 2.0 Windows App? I had to jump
through hoops to make it work with 1.1 and now I'm converting the code
to 2.0.

Thanks.

Jeff.
 
D

Dan Ruehle

I believe what this is reference to is configuring a proxy server for
connections to the Internet. If you go into Tools - Internet Options - Lan
Settings, you have an option for a proxy server. I believe the hoops that
had to be gone through dealt with getting .Net components to utilize this
setting. I am not sure if .Net 2.0 makes this easier or not, though.

sloan said:
Huh??

Are you talking about .Net Remoting where certain parts of the code run on
the server and not on the client?

http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!122.entry


Proxy can have several meanings. Which means you should type out what
you're trying to do (in the past and now) in a little more detail.



msnews.microsoft.com said:
I'm trying to make sure that programs that are behind a proxy server can
connect to my web services.

When I did .Net 1.1 I ended up getting Microsoft invovled because I
couldn't get the stuff to work correctly.

It almost looks as if 2.0 does it automatically for you.

J.

Nicholas Paldino said:
Jeff,

A proxy server for ^what^ exactly?

It doesn't mean much, really since .NET 2.0 code should be backwards
compatable with 1.1. What you have should work.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

How do I handle a proxy server in a .Net 2.0 Windows App? I had to jump
through hoops to make it work with 1.1 and now I'm converting the code
to 2.0.

Thanks.

Jeff.
 
M

Mufasa

Can somebody answer this for me? I'm trying to connect to the internet to
run webservices on my server and am behind a proxy (this is at a client
site). I need to make sure that the program uses the proxy setting from IE
(we can't have the user enter the information). This is actually running at
hundreds of locations all configured differently so I need to have the code
figure out whether to use a proxy or not.

TIA - Jeff.


Dan Ruehle said:
I believe what this is reference to is configuring a proxy server for
connections to the Internet. If you go into Tools - Internet Options - Lan
Settings, you have an option for a proxy server. I believe the hoops that
had to be gone through dealt with getting .Net components to utilize this
setting. I am not sure if .Net 2.0 makes this easier or not, though.

sloan said:
Huh??

Are you talking about .Net Remoting where certain parts of the code run
on the server and not on the client?

http://sholliday.spaces.live.com/Blog/cns!A68482B9628A842A!122.entry


Proxy can have several meanings. Which means you should type out what
you're trying to do (in the past and now) in a little more detail.



msnews.microsoft.com said:
I'm trying to make sure that programs that are behind a proxy server can
connect to my web services.

When I did .Net 1.1 I ended up getting Microsoft invovled because I
couldn't get the stuff to work correctly.

It almost looks as if 2.0 does it automatically for you.

J.

in message Jeff,

A proxy server for ^what^ exactly?

It doesn't mean much, really since .NET 2.0 code should be backwards
compatable with 1.1. What you have should work.


--
- Nicholas Paldino [.NET/C# MVP]
- (e-mail address removed)

How do I handle a proxy server in a .Net 2.0 Windows App? I had to
jump through hoops to make it work with 1.1 and now I'm converting the
code to 2.0.

Thanks.

Jeff.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top