Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Networking && W... » Tips and Tricks   (RSS)

Accessing a WebService's WebRequest and WebResponse in NetCF

One common question regarding the .NET Compact Framework involves the availability of the WebRequest and WebResponse objects used by the SOAP client when making a web service call. If you are using version 1 of the .NET Compact Framework (1.0.2268.0),

Determining the IP address of your device

Device's do not typically register a name with the network. This means you cannot just use a name to connect to or ping the device. Back in July 2004, I posted a snippet that shows all of the IP addresses (IPv4 and IPv6) that equate to "localhost". Today,

Determining the type of data pointed to by a Url - VB.NET version

Earlier today, I posted an example of some Visual C# code that checks the type of the data pointed to by a Url . I was thinking that it might be nice to post a Visual Basic .NET equivalent... This version is a direct port of the Visual C# code and comes

Determining the type of data pointed to by a Url

Have you ever wanted to know what type of file was being pointed to by a given url before clicking the link? Maybe you are writing an application that needs to filter out certain types of links. A web crawler is a good example of an application which

Simpifying socket exception handling

Remembering numeric error codes is hard. Unless the error handling code is well documented, code reviews take longer and maintenance is more difficult as you may need to consult reference manuals, native code header files or online help frequently. Socket

Simple object remoting using the XmlSerializer

Today, I'm going to talk about how you can use the XmlSerializer, TcpClient and TcpListener classes to create a simple remoting layer to send your custom objects from one device to another. This post requires the .NET Compact Framework version 2 (beta

NetCF application hanging when remote server disconnects from the network?

I've been seeing a few reports of NetCF web service applications hanging when the target server disconnects from the network. If you are experiencing this, I may have a solution for you. What we have found is that if the server disconnects before sending

Increasing web service client performance

As the demand for web enabled smart devices grows, more and more mobile applications will be using web services. Many of the folks who are already using web services with the .NET Compact Framework (NetCF) have come to me with performance issues. More
 
Page view tracker