Welcome to MSDN Blogs Sign in | Join | Help

adarsh's blog

Adarsh Khare works at Microsoft. Everything here, though, is his personal opinion and is not read or approved by Microsoft before it is posted. No warranties or other guarantees will be offered as to the quality of the opinions or anything else offered here.

Browse by Tags

All Tags » Net class library   (RSS)
Communicator Web Access AJAX Service SDK Released!!
If you are looking for adding cool instant messaging and presence functionality to your web applications or simple C# applications, try out Communicator Web Access AJAX Service SDK, it already includes the sample code to get started. I will also keep Read More...
You need to be careful about using event handler for NetworkChange
Actually the issue I am discussing here is in general true for any event handler. .net event handler are strong reference. In case of NetworkChange it become more important because both event handler on NetworkChange object are static handlers, so there Read More...
Use object pooling of byte arrays to prevent heap fragmentation in socket applications
When you are worrking on managed socket application and your application is very extensively doing send/recieve on the socket, then probably you need to care about understanding the heap management. Socket.Recieve or Socket.Send finally need to call the Read More...
WebException message vs. Response.StatusDescription on FtpWebRequest
Recently one of the reader asked an interesting question, he was using FtpWebRequest with MakeDirectory method, if directory already exist then application received the WebException with message. "The remote server returned an error: (550) File unavailable Read More...
Using FtpWebRequest to do FTP over SSL
Use FtpWebRequest to do FTP over SSL. Read More...
Use NetworkInformation classes to get the list of listening ports on your machine
.Net frameworks 2.0 have new addition of Namespace, System.Net.NetworkInformation, it provide a number of interesting classes to extract the network related statistics and state of the machine, it pretty much provide most of the functionality which is Read More...
Client side certificate with strong key protection and WebServices
When you are writing application to run as service or middle tier, which is using client certificates. You should not enable strong key protection during certificate installation. Strong key protection is the way you are informing the system that whenever Read More...
You could help us on application compatibilty verification
Hi, If you have an application build on .net frameworks 1.0 or .net frameworks 1.1, which is using System.Net classes. If you want to make sure that your app works behaves as expected on 2.0 we could help.This would also enable you to contribute on our Read More...
Must watch MSDNTV shows on network programming
If you love working on network programming and curious to see the demo of upcoming network programming features in .Net frameworks 2.0, you will love these MSDN TV shows from our team. Write Connected Applications Using System.Net Learn how to write better Read More...
Understanding HttpWebRequest Connection Management and ServicepointManager
If you are looking for some information on understanding the basics of HttpWebRequest connection management and servicepointmanager, I just posted an article which could be useful for you. http://blogs.msdn.com/adarshk/articles/345411.aspx This is first Read More...
Update Windows Form UI with Network Available Change Event
.Net frameworks 2.0 has a new namespace System.Net.NetworkInformation, which you could use to gather various network statistics on the machine, it also provide two interesting events NetworkAddressChanged and NetworkAvailabilityChanged. If you are writing Read More...
Does your application require customizing System.Net.WebPermission, SocketPermission or DnsPermission settings?
.Net frameworks comes with deefault security settings where components running under Intranet, Internet Zone can only have WebPermission to connect back to the server, from where they are downloaded. Also the component from Intranet zone and Internet Read More...
Resuming broken file download with FtpWebRequest class
This post is valid for .Netframeworks 2.0 When we are downloading a large file from ftp site and connection got broken in between, on next attempt you would be interested in downloading the rest of the file content instead of full file. FtpWebRequest Read More...
Create your own asp.net hosting server with System.Net.HttpListener
.Net frameworks 2.0 contain HttpListener class under System.Net namespace and a number of ASP.Net hosting classes under System.Web.Hosting namespace. HttpListener class is implemented on top of low level protocol stack http.sys, probably you also know Read More...
HttpWebRequest.GetResponse() gives "HTTP protocol violation" error after .net frameworks service packs
This blog is valid for users of .Net frameworks 1.0 SP3 and .Net frameworks 1.1 SP1 The error is really because server is sending response with bad header format, which violates the http protocol specifications. These changes had been made to disallow Read More...
More Posts Next page »
Page view tracker