C# Corner

Resources  
  • Drag and Drop RevisitedMar 13, 2001. I've had a couple inquiries on how to do drag and drop in .NET again, so I've put together a simple app for dragging text from a TreeView to a TreeView and a TreeView to a ListBox.
  • Visual Studio .NET: Start upMar 20, 2001. The next version of Visual Studio 6.0 is Visual Studio .NET (VS.NET). In the previous versions of Visual Studio Microsoft has different menu options to pick development environment such as VC++, Visual FoxPro, Visual Basic or Visual Interdev. This version of Visual Studio has integrated everything in one IDE. The reason for that might be all development languages share common library and tools.
  • 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?
  • Stock TrackerJul 18, 2001. This program is a utility to track stock quotes for multiple symbols.
  • C# or VB.NET - World War IIIAug 23, 2001. In this article I'm going to go under the hood and show you what really happens to the in C# and VB.NET.
  • Menu Page on Mobile SiteAug 31, 2001. My basic idea to stat this site is to show you a real-world example and how mobile programming can be integrated to a web site. I would try to build this site as useful as I can. If you've got any ideas or suggestions, please don't hesitate to send it to me.
  • Doppler RadarSep 14, 2001. This is an app that will display the current doppler radar picture for any given zip code.
  • Multilingual Support in C#Jan 03, 2002. Many major languages of the world like Arabic, Hindi and Chinese are not written in Roman Script, so special features are provided for dealing with these languages. This article will tell how to implement multilingual application using C#.
  • World Weather Update on Your MobileFeb 04, 2002. In this article, I would like to discuss the "Weather Update" on Your Mobile.
  • World Clock Using Windows FormsFeb 11, 2002. I developed a C# application for finding World Timings given the US Central Timing.
  • Implementing a Genetic Algorithms in C# and .NETApr 14, 2002. One of the more interesting developments that has come out of the Artificial Intelligence world is the invention of Genetic Algorithms.
  • Mastermind Computer Player using Genetic Algorithms in C#Jul 22, 2002. After writing the Genetic Algorithm Article for implementing a Genetic Algorithm in C#, I tried to think of a good example of how to illustrate a real-world use of Genetic Algorithms to illustrate artificial intelligence.
  • Viewing and Writing XML Data using ADO.NET DataSetsNov 01, 2002. Based on a real world project this article shows how to handle XML data in .NET using C# DataSets and DataViews.
  • Singleton Patterns in C# RevisedDec 16, 2002. I am coming from the Java world, where synchronizing the Singleton creation is common practice.
  • Cryptography in Microsoft.NET Part III: Digital CertificatesJan 08, 2003. Part-I and II of this article discussed the basics of cryptography and its applications in real world enterprise solutions. Part-I discussed the nitty-gritty of encryption and its implementation in Microsoft .NET Framework Class Library (FCL). Part-II discussed the hashing and signature algorithms and their implementation in FCL. It also discussed the two common cryptography applications namely digital envelope & digital signature.
  • Execution-Time Code Generator for C#Mar 06, 2003. The Common Language Runtime provides a new way of doing things. The compile-time world still exist, but it is also possible to build dynamic systems where new code is added by loading assemblies or even by writing custom code on the fly.
  • Talking to the Outside World in Excel 2003May 14, 2003. This code sample shows how to connect to the internet inside of Excel 2003. The idea is when the workbook opens the code behind the workbook searches for quotes on NASDAQ and then populates the spreadsheet with the data.
  • EggTimer in C#Aug 26, 2003. This simple timer app will count down from whatever value is set in the textbox.
  • Automatically Break into Code When Calling Debug.AssertDec 22, 2003. This sample creates a dll that once referenced by your ASP.Net or Web Service app, just adding a small block of xml into your web.config file will cause the debugger to automatically break into your code.
  • Hello World in different StylesJan 09, 2004. I've attempted to write the traditional 'Hello World' in different styles. This explores the different possibilities of addressing a problem - 'Hello World' with different features of C# language and .NET framework.
  • Generating Combo Box in DataGrid ColumnsJan 09, 2004. DataGrid programming in .NET is real fun. And that too if you’re trying to get it programmed in a Windows Forms world its double the work. You got to write a whole lot of code for a simple extensibility of the existing features of datagrid. One good example is having a combobox in one of the columns of the datagrid.
  • Real Life SQL and .NET: Part VJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET: Part IIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET: Part IJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET :Using SQL with C#: Part VIIIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET : using SQL with C#: Part XIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET : using SQL with C#: Part XJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET : SQL Subqueries: Part VIIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET: Part VIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET: Part XIIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET: Part IIIJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET: Part IVJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Life SQL and .NET : Using SQL with C#: Part IXJan 13, 2004. Welcome to the world of SQL and the huge, growing database technologies of today’s business all over the SQL world. By reading this article, we have begun accepting the knowledge that will soon be required for survival in today’s world of relational database and data management. Alas, for the reason that it is first necessary to provide a background of SQL and cover some preliminary concepts that we need to know, the majority of this article is text in paragraph format.
  • Real Time Communications in .NETMar 12, 2004. This white paper shares concepts of real time communications in .Net and its applicability in real world. A real-time communication system is used in applications where time is a critical factor.
  • Saving and Loading Ink on InkPicture Control in C#Jun 02, 2004. This article shows a real-world usage of Tablet PC InkPicutre control and ink. The attached file is a Visual Studio 2003 project, which allows you to load an image file, write on the image using ink and save the ink. It also allows you to load and view the saved ink on the image.
  • Handling the Queuing of Messages in a Multithreaded ProgramSep 06, 2004. In the financial world you have to deal with messages being spewed at you in large quantities at a rapid rate. For example stock quotes, market data, and orders come flying at you through some sort of wire and you as a programmer have to handle them in a way that doesn’t overwhelm you or the machine.
  • What does .NET really mean? – Understanding .NETFeb 10, 2005. The .NET Platform and .NET-Aware Programming Languages, particularly C# are already making a turnaround in the way Applications are developed in the enterprise world.
  • Stack in C#Feb 22, 2005. Stacks are one of the common data structures used in the software world, which follows the First In Last Out paradigm. Stacks are used in various mathematical functions like Towers of Hanoi, finding Fibonacci Sequence , Factorial of a number to name a few.
  • Biology Inspired Computing Work in C#Mar 29, 2005. Biology teaches us a set of rules defined by nature that have evolved over millions of years. So, if you want to put intelligence into something simplifying the world around you into basic rules can give you a big head start.
  • Content Management and Collaboration using SPS 2003May 16, 2005. This article would be providing a brief introduction about the role which Share Point Portal Server is going to play in coming future.
  • Tip Of the Day DialogJun 30, 2005. This is a Tip of the Day Dialog for C# and .NET that gives users of your application a tip each time they launch your app.
  • Creating a Dynamic Configuration Dialog in C# and .NETJul 10, 2005. This article will show you how to create a configuration dialog that builds itself from the existing application configuration name-value pairs contained in the appSettings of the app.config file.
  • Creating a Blog in ASP.NET and C#Dec 02, 2005. Blogs can be a fun way to express your thoughts to others on the web. This article will show you how to create your own blog application so you can get started in the world of blogging. (This is an update from VS2003 to VS2005).
  • Abstract Factory Design Pattern in ADO.NET 2.0Feb 17, 2006. This article will discuss the Abstract Factory Design Pattern and its real-world applications in .Net Framework 2.0.
  • Apply Object Serialization in Real Life SituationMar 30, 2006. Object serialization is a process of streaming an object into a byte array. This article explains the object serialization process using a real world example.
  • 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.
  • Leveraging The .NET Framework Inside An MFC ApplicationDec 21, 2006. This article describes the first steps in taking an existing umanaged MFC Application and integrating the .NET Framework into it. It will also demonstrate to you how to bring up a Windows Form inside your MFC App.
  • Periodic Reminder App for the Windows TaskbarJan 17, 2007. This article features an application that allows you to set up a periodic reminder in your windows task bar. The application will show a balloon message periodically and optionally will produce a reminder beep.
  • Animating your XAML AppsApr 05, 2007. This article will describe how to do 2D Animation using XAML Scripts. In the article we will describe how to implement transforms on XAML shapes and then how to move them around in your form.
  • Programming XAML - A Quick StartApr 10, 2007. XAML is a new descriptive programming language that is used to define user interfaces in WPF, Silverlight and Windows 8 Metro Style Apps. This article is an introduction to XAML.
  • Multi-threaded Asynchronous Programming in C#... Event-Driven Architecture. Part IV.May 14, 2007. This is a continuation of a set of articles on Asynchronous multi-threaded development using C#. In this article we'll cover the basics of building an event-driven architecture which will be a basis for most multi-threaded apps. Also we'll cover async read/write operations on a file.
  • Scheduled WebService call using Windows ServiceJun 21, 2007. This Windows Service will call the web service at the Time mentioned in the App.config file. The Schedules can be made Monthly, Weekly and Daily (To be Set in the App.config file).
  • Where Did All the Designers Go! Jan 24, 2008. Software is one of the fastest paced industries in the business world. As quickly as software languages come and go, skill sets require constant learning. In trying to keep up with implementation aspects of software, did we somehow forget about the priority of creating a good design? This article describes how we came about with a void of software design skills in the programming world.
  • Chapter 8:Workflow PersistenceJan 25, 2008. This article describes workflow persistence and also examines how persistence works in windows workflow foundation(WF) world.
  • Chapter 33: Advanced Web ServicesFeb 22, 2008. This chapter describes how to extend your web service skills with specific techniques that are often important in real-world web service scenarios.
  • Understanding Connected World of MOSS 2007Feb 27, 2008. This article tells you the conceptual and real world industrial usage of MOSS 2007.
  • Writing Your Own GPS Applications: Part IIAug 19, 2008. In part two of the series, the author of "GPS.NET" teaches developers how to write GPS applications suitable for the real world by mastering GPS precision concepts. Source code includes a working NMEA interpreter and sample high-precision application in C# and VB.NET.
  • Hello SilverlightJan 15, 2009. In this introductory article, we will run through a basic “Hello World” type of sample in Silverlight style.
  • Five step of how to use logging utility in your projects using application blocksJan 21, 2009. It's new world of software reusability. Gone are the days when we need to build things from scratch. One of the most needed functionality is the logging utility. Every software project needs a logging utility. To make your own logging utility is a big project by itself. In this tutorial we will quickly run through how you can use Microsoft logging application blocks to log messages and activities.
  • Manage your business visits and private appointments in a single mobile appFeb 04, 2009. In this article i will create controls which are part of Resco MobileForms Toolkit.
  • Coding Better: Programming From the Outside In for Fluent Interfaces. Part IV - A Real World ApplicationFeb 09, 2009. In this article we'll look at building a fluent interface to abstract parameter assertions which gives us readable code that closely models spoken/written language. This will make code consuming our API contain less code debt and reduce the total cost of maintenance.
  • Test-driven development approach in Microsoft.NET using NUnitFeb 19, 2009. This is the first article of series of articles related to Test-driven development (TDD) approach in Microsoft.NET. My intention is to illustrate this approach with several real-world examples, and this article is an introduction to the approach and the testing framework NUnit.
  • Developing Finger-Touch Enabled Mobile ApplicationMar 04, 2009. This article presents how easy it is to develop graphically attractive and fully functional app for CRM solutions.
  • Windows Presentation Foundation (WPF) Beginners FAQ Mar 13, 2009. In this article we will go through FAQ's from WPF section. We will start first with understanding why WPF..? and later we will create a small sample hello world project for WPF which will make us understand WPF much better.
  • Hello WorldMar 16, 2009. The goal of this article is to teach and explain C# in such a way so that when you have finished it you will be able to program in C#.
  • Test-driven development approach for a class library in Microsoft.NETApr 09, 2009. This is the second article of series of articles related to Test-driven development (TDD) approach in Microsoft.NET. My intention is to illustrate this approach with several real-world examples. In this article, I will show how programmers can use the test-driven development approach to implement and test a class library.
  • Microsoft Technology OverviewMay 21, 2009. In today’s fast changing technology, keeping up with technological changes is a challenge. Every time we try to keep up with technology changes, technology changes again. It is never ending chase to catch up with technology and that is what makes software development even more interesting. Focus of this article is to give developers, project managers a quick view of many of new Microsoft technologies out there and help them realize the value of these new technologies. To be frank, technologies covered here are not new and some of them were introduced to IT world, 3 to 4 year ago. But in relative terms, these are still new technologies in Microsoft world as real-world projects and products might take some time to adapt to these changes in technology.
  • Analizing data to best customers using Crystal ReportsMay 22, 2009. In the sales analysis, there is a principle named the Pareto principle also known as the 80-20 rule. The 80-20 rule states that 80% of the effects come from the 20% of the causes and then the remaining 20% effects come from 80% of the causes. Pareto observed that 80% of the land in Italy was owned by 20% of the population. One example in the IT world is that Microsoft has noted that 20% of the most reported bugs are the causes of the 80% of the errors or crashes of the systems. After Pareto observed this principle, a lot of application appeared. One of the most common applications of the Pareto principle is in the sales analysis. Companies perform analysis in their sales orders in order to discover the best customers, that is, the 80% of the sales come from the 20% of the customers. In this article, I will show how to perform a sales analysis using Crystal Reports. For this example, we will use the AdventureWorks database shipped with SQL Server 2005.
  • Using PostgreSQL from Microsoft.NETJun 04, 2009. PostgreSQL is one of the most important relational database systems in the open source world. It is released under a BSD style license. I’ve seen a few documents talking about the development of .NET application with PostgreSQL as the back-end server. That’s why I’m writing this article to illustrate how you can access to the PostgreSQL database system using C#.
  • Calling COBOL from C#Jul 28, 2009. There is a lot of COBOL code in production around the world. Rewriting that code into another langugage just to change the language makes little sense and introduces a high level of risk. Instead of changing the COBOL code that has been working and doing it's job for quite a while, why not interact with it using C#? This article shows how to utilize C# to call both procedural and object oriented COBOL.
  • COBOL for .NET: The more things change the more they stay the sameJul 28, 2009. Back in 2002 I wrote a series of articles dealing with COBOL and .NET integration. Since that time, quite a bit has changed. This article reviews the changes and sets the stage for upcoming articles from a world renown COBOL vendor.
  • WM apps: graphically as attractive as iPhone apps, plus full of functionalityAug 28, 2009. Can Windows Mobile apps be graphically as attractive as the ones for iPhone, while bringing rich functionality? Let’s see what opportunities we have and how much can be achieved.
  • Hello C#Nov 05, 2009. This short article is based on the classic “Hello, World” sample program familiarizes you with the language syntax and introduces the command line compiler.
  • How to Quickly Build Attractive Mobile UI in VSDec 01, 2009. Every developer wishes his application was not only efficient but also attractive, full of beautiful graphical elements and easy to operate. It is definitely one of the most important factors deciding whether the app will be commercially successful or not.
  • Access Values from App.Config in WPFJan 05, 2010. In this article we will see how we can access a value from App.Config in WPF Application.
  • How to build barcode asset tracking mobile app Jan 11, 2010. In this article, I will demonstrate how to create a simple application using Microsoft Visual Studio and Resco MobileForms Toolkit.
  • Static Resources in Silverlight class libraryApr 26, 2010. In this article we will see how to have styles in Silverlight class library.
  • Using Tuples With .Net 4.0Apr 28, 2010. In this article let me explain the tuples world in a C# 4.0 scenario.
  • Update app.config key value at run time in WPFMay 06, 2010. In this article I am going to show how we can update a key value in app.config file in WPF. For this add reference of System.Configuration in your application.
  • Hello World Program in F#Jun 11, 2010. This is very basic article, which will give demonstration on how to write first F# program.
  • Build a Mobile Application in just 4 MinutesJul 01, 2010. Would you believe that a functional mobile app can be designed and build before you finish a cup of coffee? Probably not. But I would like to convince you that the reverse is true. Read on to find out the details.
  • Implementing a Basic Hello World WCF ServiceJul 09, 2010. In this article, we will manually implement a basic WCF service from scratch, step by step with clear instructions and precise screen snapshots. You will have a thorough understanding of what WCF is under the hood through this article. Visual Studio 2010 under Windows 7 will be used for all screenshots of this article.
  • Hosting WCF service in Windows Azure and consuming in Window 7 phone appJul 15, 2010. This article will give step by step walkthrough of hosting a WCF service in windows azure and then consuming that in windows7 phone application.
  • Where did all the Designers Go!Jul 16, 2010. Software is one of the fastest paced industries in the business world. As quickly as software languages come and go, skill sets require constant learning. In trying to keep up with implementation aspects of software, did we somehow forget about the priority of creating a good design? This article describes how we came about with a void of software design skills in the programming world.
  • Building your first Windows Phone 7 Application Using XNA 4.0Aug 16, 2010. This article will be all about building a Windows Phone 7 App using XNA 4.0.
  • Build Dynamics CRM mobile Apps That Work on WM, TabletPC, iPhone or iPadSep 02, 2010. Resco MobileCRM Studio is a developer platform that assists in the development of mobile applications which are used as extensions to Microsoft Dynamics CRM.
  • WCF OverviewSep 06, 2010. WCF is a .NET platform for developing services .Service is any functionality that can be consumed by the outside world. A service defines well defined communication protocols to communicate with it.
  • TextPad Application in C#Sep 27, 2010. In this article you will learn how to use TextPad Application in C#.
  • CAS (Code Access Security) & .NET 4.0 Security Model FAQ (With Full Video Demonstration)Oct 23, 2010. This article first starts with the basic concepts of CAS like evidence, permission, code groups and caspol.exe. It then moves ahead to demonstrate how CAS can be implemented in real world. This article further talks about ground up changes made in .NET 4.0 for CAS. In those regards it discusses about security transparent model and sandboxing.
  • Factory Method PatternOct 26, 2010. Here in this article i'll try to explain Factory Method Pattern with an real world example
  • Design a Simple Windows Phone 7 appNov 01, 2010. Learn how to build a typical List/Detail application for Windows Phone 7.
  • 3 Tier ArchitectureNov 02, 2010. 3-Tier architecture is a very well know buzz word in the world of software development whether it web based or desktop based. In this article I am going to show how to design a web application based on 3-tier architecture.
  • Understanding and Using MVVM Light in Silverlight and Blend - Part INov 20, 2010. MVVM is an architecture that helps you design Silverlight apps right. If you want to simplify your move to MVVM then take a look at MVVM Light. This article is introduction to the MVVM Light Toolkit and how you can start to take advantage of its rich feature set
  • Accelerometer and Location service in Windows Phone 7 Nov 23, 2010. Windows Phone 7 that provide information about the outside world. With the user’s permission, the location service lets your application obtain the phone’s location on the earth in the traditional geographic coordinates of longitude and latitude, whereas the accelerometer tells your program which way is down.
  • Hooking into your Google Apps With the RSSBus Google Data ProviderDec 01, 2010. This is a review of a component called the RSSBus Google Data Provider which allows you to access the Google API through a Sql Data Provider. This provider opens up the entire Google Application Suite to the .NET developer through familiar ADO.NET tools and classes.
  • Programming with App Bar and Jot Control in Windows Phone 7Dec 07, 2010. The ApplicationBar serves the same role as a menu or toolbar that you might find in a conventional Windows program and Jot displays finger input using a class named InkPresenter, which originated with tablet interfaces.
  • Model View Presenter Pattern Implementation in ASP.NETDec 08, 2010. In this tutorial, I will show you how to implement MVP in a web app as well as a windows app. Another important aspect of MVP patterns is to do unit tests of your whole interface as well as business layer.
  • Strategy for a Confirmation Dialog in an MVVM World in SilverlightDec 23, 2010. Working with Silverlight in an asynchronous world can sometimes be a challenge. Here is an example of a confirmation dialog that provides some direction into that temporally ambigious environment.
  • Cloud Computing: Hello World, Welcome to Cloud Computing !Dec 25, 2010. This hands-on article demonstrates how to build your first Cloud Application using Visual Studio.
  • Time ManagementDec 27, 2010. Time management has been a frequently heard word in this busy world. You can see thousands of salesmen or business managers trying to manage their time effectively.

About World-App

NA

SPONSORED BY

Spire.Doc - Free .NET Word API
Use Spire.Doc to create, read, write, print, and convert word documents to OpenXML, RTF, TXT, XPS, EPUB, EMF, HTML, Image and PDF.
European SharePoint Conference