C# Corner

Resources  
  • Applied C#.NET Socket ProgrammingOct 20, 2014. This article explains the key networking concepts, for instance ISO stack, of TCP/IP under the C# framework by employing its essential socket classes and how applications can logically and physically be distributed in a network environment.
  • Delayed Transaction Durability in SQL Server 2014 (CTP2)Feb 27, 2014. SQL server 2014 (CTP2) introduced Delayed Durability. It helps reduce the IO contention for writing to the transaction log.
  • Implement Web API in Existing Web Form ApplicationJan 16, 2014. This article shows how io Implement Web API in an existing Web Form Application.
  • File I/O Using C#Jan 08, 2014. In this article, you will learn how to work with classes in the System.IO namespace for reading data from and writing data to files.
  • A New Version of Java - Java 8Sep 30, 2013. In this article you will learn about java 8 and the features adding to java 8.
  • HTML 5 Web SocketsSep 06, 2013. HTML 5 introduced a new specification for Bi-Directional communication or Full Duplex connection between the server and the client
  • OpenMenu in Java Using Netbeans IDEAug 08, 2013. This article describes how to create an OpenMenu bar in Java. The Netbeans IDE is used for the development of the example.
  • SharePoint SQL Query to Get Details on Disk Utilization and IOJul 24, 2013. In this article I will demonstrate SharePoint SQL Query to get details of Disk Utilization and IO.
  • SP Diagnostics Tool - Part 2 of 3Jul 12, 2013. In this article we will see some more reports that this tool provides to diagnose issues in SharePoint.
  • SSL in ASP.Net Web APIJun 27, 2013. In this article you will learn about the SSL (Secure Sockets Layer) in ASP.NET Web API.
  • How To Make a Chat Application in C#Jun 24, 2013. In this article I will show you how to make a chat application in C#,
  • How the URL and URLConnection Classes Work In JavaJun 11, 2013. In this article we discuss the URL and URLConnection classes in Java.
  • Introduction To Socket Programming In JavaJun 10, 2013. In this article we discuss socket programming in Java
  • Datagram Socket Listener Windows Store AppDec 31, 2012. How to create Windows Store Apps for Datagram Socket Listener using JavaScript.
  • Socket Closing Windows Store AppsDec 19, 2012. In this article I described how to create a Windows Store App for Closing the Socket using JavaScript.
  • Line Count Utility in VB.NETNov 10, 2012. This utility is for counting number of code lines in a Visual Studio Project. It returns the number of code lines and file names which are in the project folders.
  • File Tampering Detection in VB.NETNov 08, 2012. This article describes an easy approach to determining whether or not two files are exactly the same.
  • Web Socket in Windows Store AppsOct 20, 2012. In this article I described how to create a Windows Store App to to use a Message Web Socket to send UTF-8 strings using JavaScript.
  • SharePoint 2010 - Create SSL Enabled SiteAug 16, 2012. As part of development activities we might need to create a SSL enabled site inside SharePoint 2010. These sites will be accessed using HTTPS instead of HTTP.
  • How to work with Text Files in C#Jul 25, 2012. In this article we will discuss about how to write data and read from the Text Files in C#.
  • Working With Drives and Directories in ASP.NETMay 24, 2012. In this article we will discuss how to interact with the File System, Drives and Directories and how we get the path details.
  • Practical Approach of Deleting Files From FTP PathApr 27, 2012. In this article we are going to see how to delete a file from the FTP path.
  • Multithreaded Sockets (Multithreaded Server) and Working With URL ClassFeb 22, 2012. In this article we describe the basic need of creating a Multithreaded server and what is the URL class and its methods. We also give examples of Multithreaded server and URL classes method.
  • Networking in JAVAFeb 20, 2012. In this article we are exploring networking using TCP/IP protocols and try to make a small server and clients and show some information.
  • Manipulation of Files in a WPF ApplicationFeb 12, 2012. As a developer you must have the ability to work in the file input and output system. By this we mean opening and processing things like text files, html files, word docs, etc.
  • How to Secure a Web Site Using SSLJan 18, 2012. Secure communication is an integral part of securing your distributed application to protect sensitive data, including credentials, passed to and from your application, and between application tiers.
  • Check if Email Address Really Exist or not Using C# Dec 23, 2011. This article demonstrate basic technique for checking if particular email is exist or not. using SMTP protocol specifications in RFC 821.
  • DriveInfo Class in C# with an ExampleDec 15, 2011. The DriveInfo class in the System.IO namespace provides a way to get drive details.
  • Web Service Design for Chunked Transfer of Large Quantities of DataAug 18, 2011. In this article we are going to demonstrate design techniques which can be used to produce such Web service. Solution which will be developed along the course of this text is for demonstration purpose only and cannot be applied to practical, real world problems as is. But we hope that methods used to develop it can be applied to much more complex cases.
  • C# File Operations: Part 1Apr 27, 2011. In this article we will see how we can write something into the file & how we can append our data into an already existing file.
  • Using Memory-Mapped FilesMar 30, 2011. MemoryMappedFile is an interesting new class in version 4.0 of the .NET Framework which resides in the System.IO.MemoryMappedFiles namespace.
  • .NET 4.0 MEF FAQ (Socket, Plug and Extension)Sep 03, 2010. This FAQ deep dives in to .Net 4.0 MEF fundamentals (Import and Export) and also explains when to use MEF over DI / IOC. This article also explains step by step on how to use MEF in various technologies like Silverlight, WPF and ASP.NET.
  • Printing in C#Aug 05, 2010. This application will send raw data to a networked printer.
  • Monitoring File system in c# like file created changed, deleted, renamedAug 02, 2010. You can monitor the File system using the System.IO.FileSystemWatcher class. And you can handle the events like created, changed, deleted, and renamed.
  • How to read a text file in C#Jul 30, 2010. This code sample shows how to read text files in C#.
  • Messenger ApplicationJun 10, 2010. The messenger application is about chatting among multiplies users. Socket technique (UDP) is used in this application.
  • Introduction to New Methods in System.IO.File in .Net 4.0May 04, 2010. In this article we are looking the improvements made as part of .NET 4.0 which made the file handling more flexible and fast using File class.
  • Hard Links vs. Soft LinksApr 06, 2010. This article talks about hard links and soft links; two of the nice features of NTFS file system.
  • Virtual Photo Album in C#Apr 05, 2010. This application called "Virtual Photo Album". I didn't use any third party components, so it should be easy for you to download the code and play with it. I will try not to use any third party components while I am learning C#.
  • Single instance of application in C#Mar 25, 2010. There is some application that we want that only single instance of application works at a time. So here in this article is the logic for doing that.
  • How to create proxy server between application and remote hostFeb 22, 2010. This article will show how to create proxy-like server that will stand between application (client) and its remote server using asynchronous sockets.
  • Working with FileInfo and DirectoryInfo classesAug 11, 2009. This article explains about the FileInfo and DirectoryClass in the System.IO namespace. The sample application demonstrates how it works.
  • DriveInfo Class in C#Jul 16, 2009. In this article I will explain about DriveInfo class of System.IO namespace which is used to get information about disk drives.
  • File handling in C#Jul 15, 2009. In this article I have explained about file handing in C#.
  • Introduction to Parametric Singleton PatternFeb 11, 2009. This article explains about Parametric Singleton Pattern.
  • Zip and Unzip files using GZipStream and DeflateStream classesJul 17, 2008. The dot net framework provides us a way to compress and decompress data using the classes under the System.IO.Compression. There are two main classes that perform the job, namely the GZipStream class and the DeflateStream class.
  • How To Compress and Decompress DataFeb 01, 2008. This article shows how to compress and decompress our data.
  • Compress Web Pages using .NET 2.0 Compression LibraryOct 08, 2007. This article explains how to create very simple HttpModule to compress your dynamic content using compression library (System.IO.Compression) available in .NET 2.0?
  • File Tampering DetectionMar 06, 2007. This article describes an easy approach to determining whether or not two files are exactly the same.
  • Set up Secure Sockets Layer (SSL) using Digital CertificatesMar 06, 2007. This article explains how to secure an IIS Web application using SSL certificates.
  • Access Row of a file Random bases using C#Jan 01, 2007. In this aritical, we will look how to get a row of a file which contains multiple rows randomly.
  • Capturing File InformationDec 29, 2006. This article describes a simple approach to capturing and displaying file and file version information.
  • Portscanning for Kazaa using C# SocketsJan 01, 2006. In this article, you will learn how to write c# code to scan a host computer, and determine if it is running Kazaa, the popular P2P file sharing program.
  • Glue IIS with Business Logical Tier using Batching, Asynchrony, and Parallel ComputationOct 26, 2005. A great and unusual way to boost your web application performance and scalability five times or more.
  • How to synchronize data in Pocket PC and main databaseOct 06, 2004. The main objective of the article is to present how to synchronize the data between the Pocket PC database and main database using Pocket PC Emulator and Web Service in .NET
  • Image Resizing : Part IIJan 12, 2004. In my first article Image Resizing and FTP, I showed how I resize my digital camera pictures and FTP them to the web. I received a couple of requests to share the code for the image gallery on my web site that I use to view them so here it is.
  • Building Dynamic Service in C#Oct 31, 2003. This is a service that will run an application, and can be used over an over without hard coding any information.
  • Code Generator for Basic Stamp II MicrocontrollerOct 15, 2003. The Basic II Stamp is programmed by the language its named after, Basic. The language is a combination of Basic syntax and built in key words that control the Basic Stamp II chip.
  • Export ASP.NET DataGrid to ExcelSep 08, 2003. Export to Excel is one of the most common functionality required in ASP.NET pages. Users can download the data from the DataGrid into an Excel spreadsheet for offline verification and/or computation.
  • Output ASP.NET Page to HTMLJul 29, 2003. There are various reasons why it would be more appreciative to have the html page to be served to client.
  • Format DateTime Values in XML Extracted From DataSet Jul 17, 2003. In this article we'll see how to specify the format of DateTime values extracted from the ADO.NET DataSet and to verify we will write formatted contents in xml file.
  • Getting Official DayTime using NIST TimeServerApr 21, 2003. This program shows how to create a simple socket to a NIST timeserver (Port 13) and using the Daytime Protocol, gets the official time.
  • Distributed Cross Platform Applications, the Easy Way Mar 07, 2003. There are many ways of transferring data from one process to another. All those methods have some advantages, but also some drawbacks.
  • Missile Command .NET Feb 23, 2003. Missile Command .NET is a simple video game written in C# using GDI+ for graphics. It's a tribute to the classic Missile Command game by Atari. I wrote this game to teach myself more about programming in C#.
  • Working with System.IO.Directory Class in C#Jul 22, 2002. This article is focused on understanding the Directory class of System.IO namespace.
  • Use CurrencyManager and MemoryStream to Display ImagesJul 01, 2002. This article and attached sample code demonstrates you how to use the CurrencyManager and MemoryStream to display images. The current demonstration displays all the records of the employees with their company and the personal Information.
  • Using Currency Manager and MemoryStream to Display ImagesJul 01, 2002. This article and attached sample code demonstrates you how to use the CurrencyManager and MemoryStream to display images.
  • A Simple Contacts List for Pocket PCMay 19, 2002. I have implemented a simple contact list application that is capable of adding and viewing contact details.
  • IP LookUp Program in .NETApr 03, 2002. This is an IP look up program that uses C# Windows Forms and IPHostEntry to resolve the DNS request.
  • Tutorial: Working with Files and DirectoriesApr 03, 2002. One of the rich experiences in working with .NET is a huge collection of Base Class Libraries .
  • Peer-to-peer Chat Program using Asynchronous SocketMar 22, 2002. This is a simple chat program, which uses asynchronous socket to provide connection between two machines.
  • Multi-threaded Web Applications - Case II: Port ScannerMar 12, 2002. This article continues the 4-parts series of Multi-threaded Web Applications. In the first part, I have demonstrated how you can use multi-threading with ASP.NET to make a web based search engine more responsive, and to reduce the time required to compose the result. In this article, I will demonstrate how you can apply the same technique to a web based port scanner.
  • Multi-threaded Web Applications - Case I: Search EngineMar 07, 2002. This article is the first of the series of 4. I will demonstrate the use of threading in web applications by implementing a simply search engine. The following 3 articles in the series will be a Port Scanner, a Reverse DNS and a Web Hammer respectively.
  • Simple Sniffer in C#Dec 03, 2001. This program shows you how to retrieve data from a packet using Sockets.
  • C# IRC BotNov 19, 2001. This is a very simple program that establishes a connection to irc server, joins a channel and greets every nick that joins.
  • Network Programming in C# - Part 1Nov 12, 2001. The .NET framework provides two namespaces, System.Net and System.Net.Sockets for network programming
  • Network Programming in C# - Part 2Nov 12, 2001. This is the second part of the series of articles about the network programming with C#.
  • WinChat For .NETOct 10, 2001. WinChat For .NET is a simple peer-to-peer chatting program that functions very similarly to the WinChat program provided by Windows 2000. It provides all the functionalities that the original WinChat program provides.
  • Real Time ApplicationOct 02, 2001. The Real time Application is a sample that shows the communication techniques between a client (TcpClient) and a server (TcpServer) application using Socket class on each side. The project also demonstrates how to using listview control in the real time project.
  • Console Based ChatOct 01, 2001. This is a article on how to create a simple console based chat application using socket connections.
  • Socket ProgrammingOct 01, 2001. This is a simple Client/Server program showing the communication taking place between the client and the server.
  • A Simple Multi-threaded TCP/UDP Server and Client V2.Sep 24, 2001. This is the second version of my client/server program. The server and the client can be run on the same machine or on different machines. The following is the brief description of the server and the client programs specifically.
  • Socket ChatSep 24, 2001. This is an implementation of a Chat program using sockets. Along with basic chat capability,
  • TCP Client and ServerSep 20, 2001. You need to compile the server and the client programs separately. Before compiling, change the IP address in both programs to match that of your machine (NOTE: You can get IP address of your machine if you run 'ipconfig' from the command prompt in Windows NT/2000 m/c's)
  • Socket Programming in C#Sep 03, 2001. This program is useful for a starter who wants to write C# code using .Net Sockets.
  • WhoIs Sample CodeAug 27, 2001. Sample example shows you how to implement WhoIs...
  • TCP/IPLib SampleJun 22, 2001. This compopnent contains both a TCP/IP server and client. TcpIpClient inherits from System.Net.Sockets.TCPClient and is very straight forward. After construction, specifying the host and port, a network connection is established by calling Connect(). Internally, upon a successful connection, the client receives a TcpIpPacket, which contains a unique cookie that is used in any subsequent transactions.
  • Auto CompilerMay 05, 2001. This is a utility to make it easier to compile from the command line. One of the problems with using the command line.
  • Find Files in C#May 01, 2001. I have developed a small application in c#, which helps in searching u'r hard disk for files of the desired extention.
  • Writing Secure Code using C#Apr 06, 2001. Code access security is a mechanism that grants/denies access to resources within a method call. For example, code written by a person may be allowed to write to the disk while code from another one may be forbidden from accessing the disk. This control can be enforced even if the code written by both of them is used within a single application
  • FTP Server in C#Mar 26, 2001. The application is a simple implementation of FTP Protocol RFC 959.
  • Simple SMTP MailerMar 26, 2001. This is a simple program which shows how to send mail via SMTP without using any framework support. While using the .NET SMTP classes may be a little easier, it is good to be able to go under the hood and get your hands dirty to understand what is going on at the socket level. For simple text messages, this implementation works fine.
  • Simple Web File DownloadMar 23, 2001. This is a simple program that shows how to download files from the web and save them. The program uses the HttpWebRequest and HttpWebResponse classes to request and retrieve the requested file.
  • Sticky NotepadMar 05, 2001. I wanted to experiment with writing a program that would run from the "System Tray" of window (that's where you have the date displayed...) since that's not possible with pure Java.
  • Ping Utility in C#Feb 16, 2001. Ping is a very useful utility used to determine the speed of a Network Connection. It establishes a socket connection with the given hostname and sends a Data Packet using ICMP Protocol.
  • FileSharing Server in C# and .NETFeb 01, 2001. The server acts as a File Sharing Server, it listens for multiple clients to connect to it. The Clients have a option to either Download any of the Files available with the server for download.
  • PaintBrush in C# - IIJan 30, 2001. This is a PaintBrush Application. In this Paintbrush user can draw some images and he can save the images in a persistence storage and later time can retrive the images.
  • Meal Scheduler in C#May 04, 2000. This service reminds you when it time to eat your lunch, BF or dinner.
  • Meal Scheduler in C#May 04, 2000. In this application once you enter your meal timings. A message box will appear on the screen while you are working and remember you about your meal with light sound.
  • TCP Date Client/ServerJan 03, 2000. Free to use Tutorials on Communicating using TCP Sockets on Microsoft's .NET Platform using C#...

About Socket.IO

Redirect to:

  • Socket.IO

SPONSORED BY

Custom Software Development
MCN is your source for developing solutions involving websites, mobile apps, cloud-computing, databases, BI, back-end services and processes and client-server applications.
Download Free eBooks