PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework WebRequest Methods

Reply

WebRequest Methods

 
Thread Tools Rate Thread
Old 09-11-2007, 05:01 PM   #1
Fred Chateau
Guest
 
Posts: n/a
Default WebRequest Methods


Does Compact Framework have WebRequest methods, such as HTTPWebRequest and
HTTPWebResponse? If not, how do I talk to a Web Service that doesn't use
standard SOAP protocols?

Also, is there an easy way to separate the documentation for Compact
Framework in Visual Studio, so that you are not sorting through all the
Framework methods that don't apply.

--
Regards,

Fred Chateau
fchateauAtComcastDotNet


  Reply With Quote
Old 09-11-2007, 05:10 PM   #2
Peter Foot [MVP]
Guest
 
Posts: n/a
Default Re: WebRequest Methods

Yes it does have HttpWebRequest, but not FtpWebRequest. If you want an
example of a non-soap web service I did some work on the Facebook Developer
Toolkit to add .NETCF support:-
http://www.codeplex.com/FacebookToolkit/

There isn't really a way to filter out the .NETCF only documentation.
However all the supported classes and methods etc should be marked with a
PDA icon when they are supported on devices.

Peter

--
Peter Foot
Microsoft Device Application Development MVP
www.peterfoot.net | www.inthehand.com
In The Hand Ltd - .NET Solutions for Mobility

"Fred Chateau" <fchateau@127.0.0.1> wrote in message
news:e3SQeIvIIHA.1324@TK2MSFTNGP06.phx.gbl...
> Does Compact Framework have WebRequest methods, such as HTTPWebRequest and
> HTTPWebResponse? If not, how do I talk to a Web Service that doesn't use
> standard SOAP protocols?
>
> Also, is there an easy way to separate the documentation for Compact
> Framework in Visual Studio, so that you are not sorting through all the
> Framework methods that don't apply.
>
> --
> Regards,
>
> Fred Chateau
> fchateauAtComcastDotNet
>
>


  Reply With Quote
Old 09-11-2007, 06:06 PM   #3
Fred Chateau
Guest
 
Posts: n/a
Default Re: WebRequest Methods

"Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote ...

> Yes it does have HttpWebRequest, but not FtpWebRequest. If you want an
> example of a non-soap web service I did some work on the Facebook
> Developer Toolkit to add .NETCF support:-
> http://www.codeplex.com/FacebookToolkit/
>
> There isn't really a way to filter out the .NETCF only documentation.
> However all the supported classes and methods etc should be marked with a
> PDA icon when they are supported on devices.


Please excuse my thorough confusion, but this is my first mobile
application.

When I set up a mobile device application in Visual Studio, I get a subset
of Framework assemblies to choose from. I'm assuming this is because the
only assemblies that appear are the Compact Framework assemblies.

There is no System.Net namespace, so how do I reference the proper assembly
containing HTTPWebRequest?

In addition, when I enter HTTPWebRequest in the index for Visual Studio
documentation I get the .NET Framework System.Net namespace, nothing about
Compact Framework.

Obviously I'm missing something here...

--
Regards,

Fred Chateau
fchateauAtComcastDotNet


  Reply With Quote
Old 10-11-2007, 06:23 PM   #4
=?Utf-8?B?U2ltb24gSGFydCBbTVZQXQ==?=
Guest
 
Posts: n/a
Default Re: WebRequest Methods

The System.Net set of classes are linked to System.dll.

As Peter said, there is no separate documentation for Compact Framework
classes. Both the desktop and compact framework share the same documentation.

See here:
http://msdn2.microsoft.com/en-us/li...webrequest.aspx

You will see at the bottom of the page a section labeled "Version
information". This is where it will tell you what .NET platforms the
particular class is supported on. Likewise, all members will list a PDA icon
if supported on the CF. When clicking the member, it will document all
overloads and whether the overload in question is supported on the CF.

--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"Fred Chateau" wrote:

> "Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote ...
>
> > Yes it does have HttpWebRequest, but not FtpWebRequest. If you want an
> > example of a non-soap web service I did some work on the Facebook
> > Developer Toolkit to add .NETCF support:-
> > http://www.codeplex.com/FacebookToolkit/
> >
> > There isn't really a way to filter out the .NETCF only documentation.
> > However all the supported classes and methods etc should be marked with a
> > PDA icon when they are supported on devices.

>
> Please excuse my thorough confusion, but this is my first mobile
> application.
>
> When I set up a mobile device application in Visual Studio, I get a subset
> of Framework assemblies to choose from. I'm assuming this is because the
> only assemblies that appear are the Compact Framework assemblies.
>
> There is no System.Net namespace, so how do I reference the proper assembly
> containing HTTPWebRequest?
>
> In addition, when I enter HTTPWebRequest in the index for Visual Studio
> documentation I get the .NET Framework System.Net namespace, nothing about
> Compact Framework.
>
> Obviously I'm missing something here...
>
> --
> Regards,
>
> Fred Chateau
> fchateauAtComcastDotNet
>
>
>

  Reply With Quote
Old 12-11-2007, 02:22 AM   #5
Fred Chateau
Guest
 
Posts: n/a
Default Re: WebRequest Methods

Sorry. For some reason, I expected to find something at the top of the page.

Thank you.

--
Regards,

Fred Chateau
fchateauAtComcastDotNet

"Simon Hart [MVP]" <srhartone@yahoo.com> wrote in message
news:5A4E4B70-B87B-4EB0-90DB-D637958457D7@microsoft.com...
> The System.Net set of classes are linked to System.dll.
>
> As Peter said, there is no separate documentation for Compact Framework
> classes. Both the desktop and compact framework share the same
> documentation.
>
> See here:
> http://msdn2.microsoft.com/en-us/li...webrequest.aspx
>
> You will see at the bottom of the page a section labeled "Version
> information". This is where it will tell you what .NET platforms the
> particular class is supported on. Likewise, all members will list a PDA
> icon
> if supported on the CF. When clicking the member, it will document all
> overloads and whether the overload in question is supported on the CF.
>
> --
> Simon Hart
> Visual Developer - Device Application Development MVP
> http://simonrhart.blogspot.com
>
>
> "Fred Chateau" wrote:
>
>> "Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote ...
>>
>> > Yes it does have HttpWebRequest, but not FtpWebRequest. If you want an
>> > example of a non-soap web service I did some work on the Facebook
>> > Developer Toolkit to add .NETCF support:-
>> > http://www.codeplex.com/FacebookToolkit/
>> >
>> > There isn't really a way to filter out the .NETCF only documentation.
>> > However all the supported classes and methods etc should be marked with
>> > a
>> > PDA icon when they are supported on devices.

>>
>> Please excuse my thorough confusion, but this is my first mobile
>> application.
>>
>> When I set up a mobile device application in Visual Studio, I get a
>> subset
>> of Framework assemblies to choose from. I'm assuming this is because the
>> only assemblies that appear are the Compact Framework assemblies.
>>
>> There is no System.Net namespace, so how do I reference the proper
>> assembly
>> containing HTTPWebRequest?
>>
>> In addition, when I enter HTTPWebRequest in the index for Visual Studio
>> documentation I get the .NET Framework System.Net namespace, nothing
>> about
>> Compact Framework.
>>
>> Obviously I'm missing something here...
>>
>> --
>> Regards,
>>
>> Fred Chateau
>> fchateauAtComcastDotNet
>>
>>
>>



  Reply With Quote
Old 12-11-2007, 10:36 PM   #6
=?Utf-8?B?TWlrZSBKb25lcw==?=
Guest
 
Posts: n/a
Default Re: WebRequest Methods

There are filters you can set in Visual Studio offline Help to eliminate
unsupported members. Here is a topic describing them:

http://msdn2.microsoft.com/en-us/library/ms172548(VS.90).aspx

We are working to get better filter support on MSDN. So far, a .NET CF
filter is only supported in Search for online MSDN documentation.

Mike

"Fred Chateau" wrote:

> Sorry. For some reason, I expected to find something at the top of the page.
>
> Thank you.
>
> --
> Regards,
>
> Fred Chateau
> fchateauAtComcastDotNet
>
> "Simon Hart [MVP]" <srhartone@yahoo.com> wrote in message
> news:5A4E4B70-B87B-4EB0-90DB-D637958457D7@microsoft.com...
> > The System.Net set of classes are linked to System.dll.
> >
> > As Peter said, there is no separate documentation for Compact Framework
> > classes. Both the desktop and compact framework share the same
> > documentation.
> >
> > See here:
> > http://msdn2.microsoft.com/en-us/li...webrequest.aspx
> >
> > You will see at the bottom of the page a section labeled "Version
> > information". This is where it will tell you what .NET platforms the
> > particular class is supported on. Likewise, all members will list a PDA
> > icon
> > if supported on the CF. When clicking the member, it will document all
> > overloads and whether the overload in question is supported on the CF.
> >
> > --
> > Simon Hart
> > Visual Developer - Device Application Development MVP
> > http://simonrhart.blogspot.com
> >
> >
> > "Fred Chateau" wrote:
> >
> >> "Peter Foot [MVP]" <feedback@nospam-inthehand.com> wrote ...
> >>
> >> > Yes it does have HttpWebRequest, but not FtpWebRequest. If you want an
> >> > example of a non-soap web service I did some work on the Facebook
> >> > Developer Toolkit to add .NETCF support:-
> >> > http://www.codeplex.com/FacebookToolkit/
> >> >
> >> > There isn't really a way to filter out the .NETCF only documentation.
> >> > However all the supported classes and methods etc should be marked with
> >> > a
> >> > PDA icon when they are supported on devices.
> >>
> >> Please excuse my thorough confusion, but this is my first mobile
> >> application.
> >>
> >> When I set up a mobile device application in Visual Studio, I get a
> >> subset
> >> of Framework assemblies to choose from. I'm assuming this is because the
> >> only assemblies that appear are the Compact Framework assemblies.
> >>
> >> There is no System.Net namespace, so how do I reference the proper
> >> assembly
> >> containing HTTPWebRequest?
> >>
> >> In addition, when I enter HTTPWebRequest in the index for Visual Studio
> >> documentation I get the .NET Framework System.Net namespace, nothing
> >> about
> >> Compact Framework.
> >>
> >> Obviously I'm missing something here...
> >>
> >> --
> >> Regards,
> >>
> >> Fred Chateau
> >> fchateauAtComcastDotNet
> >>
> >>
> >>

>
>
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off