Browse by Tags

Communicator Web Access AJAX Service SDK Released!!
06 April 06 05:20 PM | adarshk | 11 Comments   
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...
Filed under: ,
You need to be careful about using event handler for NetworkChange
29 November 05 06:14 PM | adarshk | 4 Comments   
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
20 August 05 05:25 AM | adarshk | 3 Comments   
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
04 May 05 12:38 AM | adarshk | 1 Comments   
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
22 April 05 02:27 PM | adarshk | 31 Comments   
Use FtpWebRequest to do FTP over SSL. Read More...
Use NetworkInformation classes to get the list of listening ports on your machine
14 March 05 12:01 PM | adarshk | 5 Comments   
.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
17 February 05 10:46 AM | adarshk | 5 Comments   
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
04 February 05 10:11 AM | adarshk | 0 Comments   
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
21 January 05 11:09 AM | adarshk | 1 Comments   
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
02 January 05 02:34 AM | adarshk | 6 Comments   
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
16 December 04 07:06 PM | adarshk | 6 Comments   
.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?
06 December 04 01:43 AM | adarshk | 2 Comments   
.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
01 December 04 03:04 PM | adarshk | 16 Comments   
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
21 November 04 06:24 PM | adarshk | 3 Comments   
.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
08 November 04 12:44 PM | adarshk | 3 Comments   
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 »

Search

This Blog

Syndication

Page view tracker