C# Corner

Resources  
  • New Modifiers in C#Jan 26, 2001. If you come from a C++ or Java background to C# then you will of course notice some strange keywords introduced to this new language, especially the "new" and "override" modifiers.
  • Chat Server and Client in C# Using Remoting TechnologyFeb 16, 2001. This application is a simple Chat server and Client, which is conversion of Java RMI chat server and client. The Java client was a Applet and present application client in Windows Forms.
  • Chat Server and Client in C# Using Remoting TechnolgyFeb 16, 2001. The application is a simple Chat server and Client, which is conversion of Java RMI chat server and client. The Java client was a Applet and present application client in WinForm.
  • 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.
  • Introduction to SOAPMar 22, 2001. Since the release I have been fascinated with this thing called SOAP, This bubbly new protocol backed by the power of XML is certainly going to make waves in the world of distributed computing. The first thing which comes into our mind is “Why the heck we didn’t think of this before?
  • Line numbering utility in C# and JavaMay 08, 2001. After reading this article Java programmers should be able to decipher and de-jargonize the .NET architecture and relate it with the proposed ECMA standard.
  • .NET framework comparison with Java ArchitectureMay 08, 2001. This article outlines Microsoft's proposed standardization of .NET framework in ECMA forum as CLI (Common Language Infrastructure), but the Microsoft documentation refer this as CLR (Common Language Runtime).
  • Line Numbering Utility in C# and JavaMay 08, 2001. This is the first of the series of programs I wish to write to help myself get a handle on C#.
  • Will Java and .Net Framework Co-exist?May 15, 2001. The article begins by briefly probing what constitutes the Java platform and .NET framework.
  • Control Statemenats - Part 1Jun 01, 2001. This lesson shows how to use c# control statements, and the difference between these controls in C++/ JAVA and c#. Sample includes single selection, if-else, and multi case ..
  • Net DDE to DOTNET RemotingJul 02, 2001. This article travel through time to trace the genesis of Dot Net Remoting right from RPC to RMI till SOAP.
  • Calling Java Program from C#Jul 18, 2001. This article shows you how to call a Java program from C#.
  • Web Service Between .NET, Java and MS SOAP Toolkit - Part IIAug 24, 2001. Second article in this series dedicated to Web services comes as a sequel to the first one in which I started to tell you how you could build different kind of clients and services using MS SOAP Toolkit, Apache SOAP for Java and .NET Framework.
  • Web Services between .NET, Java and MS SOAP Toolkit: Part 2Aug 24, 2001. This second article in this series dedicated to Web services comes as a sequel to the first one in which I started to tell you how you could build different kind of clients and services using MS SOAP Toolkit, Apache SOAP for Java and .NET Framework.
  • Web Services Between .NET, Java, and MS SOAP toolkitAug 24, 2001. This article will try to explain the how you can build web services and/or clients with any of the three languages: .NET, MS SOAP Toolkit and Java. But the real point of the article is to show you how you can build clients for web services from any of above-mentioned languages.
  • Web Services between .NET, Java and MS SOAP Toolkit: Part IAug 24, 2001. WinGhost 2.0 application allows you to show and hide applications running on your machine. I find this program useful at my work as I do lot of programming at any given time I can have a bunch windows open. I use it normally to hide just my windows I don't access that often.
  • Exception Handling in C#Jan 03, 2002. In C# Exception is a class in the system namespace. An object of an exception is that describe the exceptional conditions occur in a code That means, we are catching an exception, creating an object of it, and then throwing it. C# supports exceptions in a very much the same way as Java and C++.
  • Function Overriding and Its Impact During Object InitializationMar 25, 2002. Different languages have different ways to initialize an object. C# and Java both have almost similar ways to initialize an object with few subtle differences.
  • .NET Remoting: The Interface ApproachMar 26, 2002. .NET Remoting provides a powerful and high performance way of working with remote objects. Architecturally, .NET Remote objects are a perfect fit for accessing resources across the network without the overhead posed by SOAP based Web services. .NET Remoting is easier to use than Java's RMI, but definitely more difficult than creating a WebService. In this article, we will create a remote object, and access this object using the Interface.
  • Comparison of C# with Java: A Developer PerspectiveMay 29, 2002. The .NET is a language and operating system (on Windows as of now) independent platform pretty similar to Java.
  • Validation Server Controls in Web FormsAug 05, 2002. When working with Web applications, developers need to write two separate codes using Java Script and VB Script to validate user inputs.In this article we are going to see, how we can reduce the programmers effort on coding, reducing the execution process time and simplify the code handling and less number of lines in the coding.
  • Singleton Patterns in C# RevisedDec 16, 2002. I am coming from the Java world, where synchronizing the Singleton creation is common practice.
  • C# Versions of Java's StringTokernizerJan 13, 2003. Here is another C# version of the Java StringTokenizer Class from the version posted August last year on your site. Given a string and a set of delimiters, the class return an enumeration of substrings based on the delimeters passed in.
  • PERST: A Simple, Fast, Convenient Object Oriented DatabaseMar 05, 2003. PERST is a simple Object-Oriented Database implemented with pure C-Sharp and Java implementations.
  • A Beginner's Guide to Microsoft's shared Source CLI (Rotor)May 13, 2003. The Common Language Infrastructure (CLI) is the ECMA standard that describes the core technologies contained in .NET.
  • Java Like StringTokenizer in C# Jun 11, 2003. The StringTokenizer class is yet another implementation of a java-like StringTokenizer in C#.
  • 2D ChartingAug 11, 2003. I was amazed at what the VS.NET IDE does for a programmer as I was primarily used to Java via the command line.
  • Understanding SQL Server Yukon Service BrokerFeb 25, 2004. The new version of Microsoft SQL Server™ "Yukon" comes together with a set of technologies capable of enlarging the horizon for database applications. One of the most remarkable technologies is the Service Broker that makes it possible to build database-intensive distributed applications. In this article we explore the core concepts of the Service Broker and show how to use its potentialities to build applications with message interchanging.
  • Web Services-InteroperabilityAug 04, 2004. In this article, we will see what interoperability is all about, comparison between Java and .NET interoperability, the benefits of and challenges faced in interoperability and the role of WS-I in this overall scenario.
  • Creating a Managed Automated Information Agent(mBot)Aug 16, 2004. mBot manages multiple RTC Client objects and exposes interfaces to them via .Net Remoting and .Net Web Services so that they can be managed and used remotely by other .Net applications or from entirely different platforms such as a Java J2EE/SOAP application like Jabber running on Linux or Windows.
  • Writing unsafe code - pointers in C#Oct 13, 2004. In this article I will give a short description of one of the feature of C# which are pointers and so-called unsafe code. This subject is particularly close for C++ programmers. Moreover, it is a feature that we do not find in Java.
  • DNS QueryAug 18, 2005. This example shows similarity of c# and java and how to implement dns query.
  • Migrating from Java to C# Oct 03, 2005. Microsoft has created a tool called Java Language Conversion Assistant (JLCA), which automatically converts Java code into C# for developers who want to move existing applications to the .NET Framework.
  • Navigating Data Grid using Client ScriptingNov 10, 2005. It's very common practice to use the Data Grid to present data over web pages. Though the Data Grid is provides the richer UI presentation if not coded and handled effectively it can have great performance issues. This article gives the code sample for navigating the data grid using the Client Scripting (thereby can be used for lots of validation before doing the Post Back to the server) and minimizing the round trip to server
  • Generating Excel Reports using ASP.NET and C#Dec 29, 2005. This article and code snippet shows how to generate Excel reports from ASP.NET using Excel objects in .NET Framework.
  • How to Select all Checkbox when Header Checkbox is SelectedDec 30, 2005. Here I have provided the code using javascript to check/uncheck all checkboxes when header checkbox is checked. I recommend JAVA Script because its executed at client side and saves request Round-Trip time.
  • Web Service : Asynchronous call by using Java Script and DHTML behaviourDec 31, 2005. This article shows how to make asynchronous call of web service by using Java Script and DHTML behaviour.
  • Migrating Java RMI to .NET RemotingJan 16, 2006. .Net Remoting and Java RMI are mechanisms that allow the user to invoke method/methods in another address space. The other address space could be on the same machine or a different one. These two mechanisms can be regarded as RPC in an object-oriented fashion. This article describes how to migrate java RMI applications to .NET Remoting applications, with practical examples.
  • An Introduction to C# GenericsFeb 06, 2006. There is a reality; most of the developers confuse about C# Generics. Actually, there is no reason for that. If your background comes from C++ or Java you may understand more easily. What “Templates” tell you from your C++ knowledge or “Generics” from Java.
  • Integrating .NET Web Services with Java and classic ASP Clients for InteroperabilityFeb 13, 2006. The goal of this article is to show to integrate Microsoft's .NET Platform Web service with other platform like Java and ASP. The samples demonstrate basic techniques and principles that are used to cross-platform interoperability via Web services.
  • Web Services for .NET and J2EE InteroperabilityFeb 13, 2006. Web services technologies are designed to support the interoperability between many different application development platforms that exist today. This article is focused on the fundamentals of .NET and Java interoperability using Web services technologies.
  • Top 10 Reasons to Switch from Java to Visual C#Jun 03, 2006. This article details the major reasons for Java programmers to consider switching from the Java language to Visual C#.
  • Six C# features Java developers will kill for...Jun 21, 2006. C# is called Java on steroids, and everyone agrees that it is based on some long-time Java ideas and concepts. But, there are differences, and some of them make C# very powerful compared to Java. Here are six of them.
  • Six Java features C# developers will kill for...Jul 06, 2006. Not everything on the .NET framework is perfect, and Microsoft still has more improvements to implement. This time we will look at six features available to Java developers but unfortunally absent from C#.
  • The .NET 2.0 Framework Provider PatternAug 11, 2006. The Provider Model Design Pattern was first introduced with the .NET 1.1 framework, specifically in the ASP.NET starter kits and was formalized in ASP.NET Whidbey as a membership management provider API (Application Program Interface). It's primary purpose is to separate the definition for an API from the implementation. This keeps the API flexible by enabling the core functionality to be flexible and easily changed.
  • A Basic .NET and J2EE Interoperability using WebSphere MQ Sep 13, 2006. This artile explains a Basic .NET and J2EE Interoperability using WebSphere MQ. It shows the sending of message from DotNet Application then consuming by Java application using Websphere MQ and vice versa.
  • C# Introduction to Fuzzy Computing: Part INov 15, 2006. Boolean logic often fails to adequately simulate real-world conditions because things are never simply just black and white (or zeroes and ones) but exist in millions of shades of grey. This article is a brief introduction to the subject of fuzzy computing through demonstration of a few of the core principles using a fuzzy controller.
  • Multi-threaded Asynchronous Programming in C#... Getting started.May 12, 2007. Trying to build better solutions and growing as a developer has always been fun for me and I’m always looking for ways to build more scalability and robustness in the software I am writing. I had a revelation that I’ve been doing a lot of C# tweaking but not taking advantage of the core performance enhancements cooked right into C# and it all comes down to one thing: Asynchronous multi-threaded programming.
  • Creating MenuItem With WPFSep 03, 2007. In any desktop application it is very important to have menu bar to the application/system, so that user will find easy to access it. In this tutorial I will be talking about how we can create Menu bar in WPF application using XAML.
  • ASP.NET Multiple File UploaderJan 04, 2008. This article tells you how to allow users to upload more than one file at a time.
  • How C# is Different From JavaJan 17, 2008. This article describes the various differences between C# and Java.
  • Comaprission of dates for a year in JavaScriptFeb 29, 2008. This article and code snippet shows how to use JavaScript to validate dates in a method for a year.
  • Opening Jars with C# Jul 07, 2008. This article shall describe an approach that may be used to extract Jar files. Jars are merely files compressed using zip compression; the primary difference between a standard trash zip file and a jar file is that the jar file includes a manifest; also a true jar files can be run as an executable on a machine equipped with the java runtime.
  • Password Encrypted Zip files in C# Oct 27, 2008. This article contains the source code for creating Zip files in C# that are password protected using PKWare encryption.
  • C# Code reviews using StyleCopNov 14, 2008. In this article we will discuss an upcoming code review tool StyleCop. We will understand the basics and do a small sample of code review practically to understand how StyleCop works.
  • MyCollegeMyFriend - An Open Source Project developed using ASP.NET 2.0Jan 14, 2009. MyCollegeMyFriend is an open source Website project developed using C# and ASP.NET 2.0. Anybody can download and make changes to this project and upload the changes.
  • Building your own Java Script EditorMar 23, 2009. A step by step guide for implementing your Java Script editor.
  • Extending Logging Functionality From Enterprise LibraryApr 17, 2009. The Microsfot Enterprise Library provide us a collection of reusable software components, so software developers can take advantage of them to put them into enterprise use. Now I will share my personal experiences with my friends of how to extend current enterprise library functionality and improve the performance of enterprise applications.
  • How to Preserve Password in a TextBox between Page PostbacksMay 15, 2009. This quick tip shows how you can preserve a password in a TextBox between page postbacks.
  • A Programmer's Guide to Starting a Software Company and Building an Enterprise Application - Article 3Jun 20, 2009. This is the third in a series of columns in which I will tell you how I started SplendidCRM Software, Inc.
  • Walkthrough on Attaching and Debugging Sequential Workflow using Visual Studio 2008 to a Document library of a SharePoint siteAug 05, 2009. Core purpose of this article is to explain, how to attach and debug a sequential workflow using Visual studio 2008(using object model) to a document library of a SharePoint site.
  • Adding Sequential Workflow to a document library of a SharePoint site using Visual Studio 2008Aug 12, 2009. Core purpose of this article is to explain, how to attach and debug a sequential workflow using Visual studio 2008(using object model) to a document library of a SharePoint site.
  • Introduction to the Visitor PatternAug 22, 2009. The power of adding a functional extensibility point to our classes via the visitor pattern is often overlooked. Using a visitor pattern is a very effective means of providing a nice boundary around a set of core classes while at the same time allowing for functional change. This article will demonstrate how the visitor pattern can be used as an extensibility mechanism and provide a boundary to keep core domain classes from getting cluttered.
  • WPF Animations Part I- Color AnimationSep 07, 2009. WPF is a new framework that has many advanced capabilities. Animations are one of those capabilities, where an object can be animated via rotating, stretching, scaling, moving it across the screen, changing its color, etc. In this article I am going to show color anmiation on a coltrol.
  • Uploading file with Progress BarNov 03, 2009. In this article I am going to show how to upload a file with progress bar in asp.net .
  • How to Return Value from Javascript to Server Side Dec 30, 2009. This article will teach you how to retrieve JavaScript functions Return Value to Code Behind
  • ResourceDictionary in WPFJan 15, 2010. In this article you will learn how to use the ResourceDictionary in WPF.
  • A simple concretization of MVVM patternFeb 23, 2010. In this article I will show a simple MVVM implementation to help understand this pattern and how to deal with it, first let’s introduce the pattern.
  • New features of Visual Studio.NET 2008 and JDeveloper 11gMar 08, 2010. In this article, I want to explain the new features of Visual Studio.NET 2008 and JDeveloper 11g which are the IDE provided by Microsoft and Oracle for the development of enterprise application for .NET and Java platform.
  • AutoCompleteTextBox in WPFApr 12, 2010. In this article I am going to show about AutoCompleteTextBox in WPF.
  • Magnifying Glass Effect in SilverlightApr 19, 2010. In this article I am going to show how we can zoom a part of an image.
  • Custom WSE 3.0 Policy Assertion - Modifying the Security Header Generated by WSEMay 04, 2010. Recently I encoutered an issue in the WSE security header of an ASP.Net application consuming a Java web service using WSE 3.0 involving the automatic addition of a timestamp in the security header when the UsernameToken is added to the RequestSoapContext.
  • Book Review: Clean Code - A Handbook of Agile Software Craftsmanship May 05, 2010. I recently purchased Robert Martin's book Clean Code. Although all the examples are in Java, 99% of the book applies to C# programmers. This articles summarizes some of the main points.
  • The DocumentName Property and Marginal Printing in GDI+Jun 03, 2010. In this article I will explain about the DocumentName Property and Marginal Printing in GDI+.
  • MSN Video Chat ApplicationJun 03, 2010. This application allows any person on the Internet to use Messenger Services. There are several Messengers working parallel with MSN Messenger. aMSN, Pidgin, Miranda, Mercury(Java MSN Messenger Client) are some of them.
  • A Beginners Article about XAML and the WPF EngineJul 31, 2010. An article that describes WPF for the Beginner and Provides Some Tips for the Intermediate
  • Reading and Parsing a CSS file in ASP.NetSep 01, 2010. In this article I am going to show how we can read and parse a CSS file in asp.net.
  • Setup your Windows Azure PlatformDec 23, 2010. This article helps to create or setup your account for Windows Azure Platform (Introductory Special Offer), Pay per Use offer.
  • Garbage Collector in .NETDec 27, 2010. Garbage Collector is common term for developers working with high level languages such as Java, .NET, Ruby etc.
  • What is WCFJan 02, 2011. Windows Communication Foundation (WCF) is an SDK for developing and deploying services on Windows. WCF provides a runtime environment for your services, enabling you to expose CLR types as services, and to consume other services as CLR types.
  • The Principles of Movement in Windows Phone 7Jan 10, 2011. Much of the core of an XNA program is dedicated to moving sprites around the screen. Sometimes these sprites move under user control; at other times they move on their own volition as if animated by some internal vital force.
  • Data Binding in Silverlight with RIA and EntityFramework (Displaying Data)Jan 17, 2011. Silverlight DataBinding With a Real World scenario.
  • Data Binding in Silverlight with RIA and Entity Framework (Updating Data)Jan 17, 2011. This is a continuation of my earlier article where we discussed how to fetch and display data from a database using DomainServiceContext via entity model. Here in this article we will take the StatesOfIndia application further, where it will accept the state information to be modified as well as accept new state as addition.
  • Populating AutoCompleteTextbox via WCF Service Asynchronously in SilverlightFeb 02, 2011. So here in this article we will use a WCF web Service to pull the data and populate in textbox, and also apply custom filtering to populate only those data for which user is requesting.
  • Importance of TimeZoneInfo class in ASP.NETFeb 03, 2011. The TimeZoneInfo class represents any time zone in the world. It contains a set of static methods/properties that allows us to get the current time zone information, convert datetime values between time zones etc.
  • jQuery SplitterFeb 03, 2011. A light weight splitter using jQuery that I used in one of my applications. Thought to share the same to you all.
  • How to configure User Profile Service application in partition modeFeb 03, 2011. Here we see how to configure User Profile Service application in partition mode.
  • AutoComplete in Windows Phone 7Feb 03, 2011. AutoComplete is used for when you type something into a textbox a popup window opens with a list of words that begin with the prefix typed into the textbox.
  • Tracing and Cropping an Image in Expression Design 4Feb 03, 2011. Today I read about the way of Tracing and cropping an Image in Microsoft Expression Design4.S o I want to share this with you all in the form of an Article hoping that you will like it.
  • Verbatim strings in C# - Use of @ symbol in string literalsFeb 04, 2011. In this article we will understand use of the @ symbol in C# strings.
  • Creating Logo Using Expression Design 4Feb 04, 2011. Creating a logo is not easy without Photoshop but Microsoft Expression Design 4 make it possible.
  • SQL Server Default/System DatabasesFeb 04, 2011. SQL server is a relational model database server designed for client/server use, It is a computer application used to create desktop and maintains a set of system-level databases.
  • How to assign the Subscriptions to the Partitioned User Profile Service Application Proxy in SharePoint 2010Feb 04, 2011. How to assign the subscriptions to the partitioned user profile service application proxy in SharePoint 2010.
  • Working with Isolated Storage in SilverlightFeb 04, 2011. Isolated storage gives you access to a small segment of hard-disk space, with certain limitations. For example we don't know exactly where our files will be stored.
  • Working with Routed Event in SilverlightFeb 04, 2011. In .NET we all are familiar with events, which are messages that are sent by an object, which can be any Silverlight element, like button, textbox etc., to notify code that something significant has happened. So in a typical .NET application, the control which fires an event also raises it / handles it.
  • Understanding Routed Event in SilverlightFeb 04, 2011. Silverlight elements use KeyDown and KeyUp events to notify you when a key is pressed. These events use bubbling, so they travel up from the element that currently has focus to the containing elements.
  • How to make a Twitter Application using Windows Phone 7Feb 04, 2011. This article describes how to use the Twitter API and show all tweets on a page using Windows Phone 7.
  • Data Binding in Silverlight with RIA and Entity Framework (Validating Input Data)Feb 05, 2011. Data Validation in Silverlight 4 RIA application with Entity-framework.
  • Understanding Isolated Storage in SilverlightFeb 05, 2011. In the previous article we learned the fundamentals of Isolated Storage and how to write to files in isolated storage using the same classes you use for ordinary file access in a .NET application, such as StreamWriter and BinaryWriter.
  • How to Generate Fields of Matrices Dynamically Windows Form C#Feb 06, 2011. When we have to work with arrays and matrices or any multidimensional array, the first thing what we need to do is take control of rows (columns).

About Core-Java-article

NA
File APIs for .NET
Aspose are the market leader of .NET APIs for file business formats – natively work with DOCX, XLSX, PPT, PDF, MSG, MPP, images formats and many more!
VSLive! Anaheim