C# Corner

Resources  
  • I'm having trouble implementing IObjectSafety. IE keeps telling me that my controls isn't safe. Why?Aug 15, 2000. This article explains about how to implement the IObjectSafety. ATL's IObjectSafetyImpl class appears to have a few bugs in it. The code below works great.
  • 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.
  • 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?
  • What & Why : Properties :: Part 1Jun 26, 2001. If you were programming in C or C++ before coming to C#, you'll be a little bit confused about properties.
  • What & Why : Properties :: Part 2Jul 09, 2001. In the part 1 of this series, I discussed about the get method of the properties, with the help of which you can make your variable so that nobody can modify the value of the variable.
  • Stock TrackerJul 18, 2001. This program is a utility to track stock quotes for multiple symbols.
  • Providing Style on Mobile PagesAug 03, 2001. This articles explains how to provides style in the mobile pages using Mobile Internet Toolkit.
  • Doppler RadarSep 14, 2001. This is an app that will display the current doppler radar picture for any given zip code.
  • How to create a "ComboBox button" in a toolbar in .NETNov 20, 2001. You can actually put a ComboBox in your toolbar by just dragging a ComboBox from the toolbox onto the toolbar but if you want the ComboBox to be one of the toolbar buttons, you are out of luck using the regular old ComboBox. One way around this is to use the DropDownMenu style of a ToolbarButton to create a pseudo-ComboBox.
  • C# Style-SheetMay 31, 2002. This article contains a C# style-sheet for the GNU a2ps print utility. The style-sheet keywords, comments, preprocessor directives, and [] style attributes are pretty-printed in the typical a2ps fonts.
  • Understanding Destructors in C# Jun 18, 2002. This article is about understanding the working concept of destructor in C#. I know you all may be thinking why a dedicated article on simple destructor phenomenon.
  • Developing XP Style ApplicationsJun 26, 2002. Since Windows 95, Microsoft has always changed the styles of its GUI, but with Windows XP, the changes are very profound.
  • Why Object Orientation for COBOL?Jul 08, 2002. Why is Microsoft interested in having so many languages target the new environment?
  • Understanding Generic Type in C#Aug 15, 2002. Before we start tampering around the code, lets understand why we need a generic type?
  • Sealed Class in C#Sep 23, 2002. This article explains how to create and use a sealed class using C#. We will also review why programming gurus use sealed classes in their code and products.
  • Working with Portable Network Graphics(PNG) Format : Part IDec 13, 2002. First off, why use PNG instead of GIF? Probably the most important reason is that GIF supports a maximum of 256 colors.
  • MS Office Style Color Picker DialogDec 18, 2002. For a project I'm working on I needed something more stylish than the standard color dialog which comes with .NET, so I decided to make a color picker dialog of my own.
  • Building a Navigation System in ASP.NETJul 16, 2003. This article shows you how to display single record per page and navigate through single record using ASP.NET.
  • 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.
  • EggTimer in C#Aug 26, 2003. This simple timer app will count down from whatever value is set in the textbox.
  • Creating Word Find Pzzules in C# and GDI+Sep 30, 2003. In the past I have been guilty of trying a few of word find puzzles myself, so I figured why not give it a go it .NET. The Word Find creator reads a MSDE database of Words and Categories.
  • Enhanced XP Button ControlDec 12, 2003. The enhanced XP style button is very easy to use and it supports rectangle, circle or ellipse shape with image and different colors. This control also inherit most of the properties from the Forms.Button.
  • 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.
  • Getting Started With Exception Handling in C#Jul 14, 2004. This article explores exception handling mechanisms in C#, including an explanation of exceptions and why we need to catch exceptions.
  • Introduction to ASP.NETNov 17, 2004. I have seen many tutorials on ASP.NET but most of them starts with coding and writing your first ASP.NET program. But here I have written this tutorial for explaining why there is a need for ASP.NET when classy ASP is working fine, what are the underlying technology behind ASP.NET, and what programming model ASP.NET provides to programmers.
  • Rotating the text display on a Pocket PC/Win CE deviceFeb 01, 2005. In this article let us try to understand why rotating a text/bitmap is difficult to achieve on a Pocket PC 2003/Win CE 4.2 device.
  • Language Extensions in C# 2.0Apr 21, 2005. This article intends to the C# 1.x developers and covers what-why-how the new enhancement .The philosophy behind the document is to have quick update on C# 2.0 and leverage this in your day to day development work.
  • 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.
  • Adding a ComboBox Column Style to a DataGrid in Windows Forms Jul 30, 2005. The sample introduces how to add the Combobox DataGrid Column Style into a DataGrid on your .NET Windows form.
  • Building WebParts in ASP .Net 2.0Aug 08, 2005. Web Parts is a framework built into ASP.NET 2.0 for building highly customizable portal-style pages. End users can customize Web Parts pages by changing the page layout, adding and removing Web Parts, editing Web Parts properties, establishing connections between Web Parts, and more. I would like to share how to build web parts in ASP .Net 2.0. I am providing the source code of application as well.
  • Introduction to Multithreading in C#Oct 06, 2005. This article is a complete introdution to threading. It explains what is a thread and why it is used in programming. It also talks about common problems with threading, and how to begin writing thread safe code.
  • Creating a Simple WebPart Page and Use WebServer Controls as WebPartsJan 10, 2006. Portal web sites such as MY MSN and MSN Spaces, often organize their data into discrete units that support a degree of personalization. Information is organized into standalone parts [WebParts], and users can rearrange those parts to suit their individual working styles. Here we will see how to add web parts to a web part page.
  • Attributes in C#Feb 20, 2006. In this artilcle, we will see what the attributes are and why should we use the attributes in our applications?
  • Creating MS Word Document using C#, XML and XSLTMar 21, 2006. This simple program demostrate how to create well formatted MS Word documents using C#, XML and XSLT. Using XSLT to create Word documents requires the knowledge of RTF key words.
  • Antialiased Analog ClockApr 04, 2006. This is an antialiased analog clock sample written in C# using GDI+. It has no flicker at run time because of using Double Buffering technique, and it has many properties that you can customize it such as tick and hand colors, gradient background color, custom date and hand styles.
  • Outlook Style Menu with Collapsable Side MenuAug 25, 2006. This article shows very good outlook style menu with collapsable side menu.
  • Tip: How to add a Page Header to a Sub Report in Crystal Reports?Oct 09, 2006. Sub Reports in Crystal Reports do have report headers but do not support page headers. Wonder why? We can mimic the functionality with the help of a formula and a Group.
  • 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.
  • Extending ASPX Panel Control to produce Rounded CornersMar 05, 2007. This article shows how to create a custom control which encapsulates scripts. Also shows how to add method attributes to interact with VS Designer and ToolBox as well as providing intellisense dropdowns.
  • 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.
  • Secrets of Successful Software RequirementsMay 30, 2007. Although most companies do some form of requirements, there is often a lack of understanding as to exactly why the requirements need to be created and how. Let's look at some secrets to improve your requirements process even under tight deadlines.
  • 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).
  • Connection PoolingAug 11, 2007. While performing any database activity it is necessary that every single connection need to be closed, but in case your application throws some exception in that case our connection wont’ get closed. And you will get error “Cannot open connection, it is already open” In this article I will be discussing what is connection pooling? Why connection polling & how we can enable connection pooling etc.
  • Cryptography in Asp.netSep 07, 2007. This article explains what is Cryptography? Why it is needed? and the types of Cryptography.
  • Introduction to Functional Programming in C#Jan 13, 2008. With the release of the 3.5 framework, we have a completely different coding style available (functional programming). We could actually do functional programming in the 2.0 framework, but the resulting code was ugly and hard to understand at a glance and thus hard to maintain. Now, with lambda method syntax and extension methods, we can produce very human-readable code written in a functional style.
  • Functional Programming with C#: Asynchronous Method CallsJan 20, 2008. With the functional programming style and extension methods it is extremely easy to execute methods asynchronously. This article cover some simple extension methods that will allow you to easily execute your methods asynchronously with threads from the thread pool.
  • Using the Prosper API to Automate the Loan MarketApr 23, 2008. This article describes how to begin building applications specifically geared to the Prosper.com website. Prosper.com is a popular auction-style site that helps fulfill loans to individuals through a bidding process.
  • Why and when using where keyword within a generic class contextMay 05, 2008. In this article, I will try to make understand the importance of the where keyword used as a part of a generic class context.
  • The first pillar of object-oriented programming - EncapsulationMay 09, 2008. In this article we will start with Encapsulation, the first pillar of OOPS, you will learn the benefits of encapsulation and why to use it, you will learn how to enforce encapsulation by using (accessor and mutator) and by using properties.
  • ListBox in WPFAug 26, 2008. This tutorial shows you how to create and use a ListBox control in WPF and XAML. The tutorial also covers styling and formatting, add images, checkboxes, and data binding in a ListBox contrtol.
  • Render iteration through an object collection possible using foreach keywordAug 28, 2008. This article gives you an answer that, why we get a run time error when we use the foreach loop to iterate through our customized objects container collection.
  • Web Application ArchitectureNov 09, 2008. This article is about web application architecture. In this article you see how to separate each layer and why it's necessary for good application architecture. Also a small introduction to the Spring Framework and ORM can be found in this article.
  • Site Definition in SharePointJan 08, 2009. This article will explain about Site Definition, why we do need custom site definition ?and how to create and deploy a custom site definition.
  • Software Architecture StylesJan 13, 2009. An Architecture style is a set of principles which you can use to build a system Typically Architecture styles depends on their focusing areas. Implementing the software architecture styles depends on the capacity of your organization for implementing it and infrastructure constraints. This post explains which architecture style is to use based on demands.
  • Hello SilverlightJan 15, 2009. In this introductory article, we will run through a basic “Hello World” type of sample in Silverlight style.
  • 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.
  • REST FundamentalsFeb 04, 2009. REST stands for Representational State Transfer, is an architectural style where you can build the software system in which clients (user agents) can make requests to the services [end points]. REST one of the ways to implement the client\server architectural style. REST can be used to build software applications in which clients can make requests of services.
  • 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.
  • Navigation Web User Control May 22, 2009. Navigation Web User Control this control create navigation buttons at run time so the user can navigate on the datalist or any other controls and the developer can change the aligment and sepration bettween links or show and hide last ,first,previous,next . this control get his style from it's container
  • 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#.
  • 7 Simple Steps to Connect SQL Server Using WCF from SilverLightJun 22, 2009. In this article we will look how we can do database operations using SilverLight. We will first try to understand why we cannot call ADO.NET directly from a silverlight application and then we will browse through 7 steps which we need to follow to do database operation from silverlight.
  • GridView FormattingJul 06, 2009. In this article we will discuss about some of GridView formats.
  • ToolTip Styling In Silverlight 3Jul 20, 2009. This article shows how to style ToolTip in Silverlight using the ToolTipService.
  • Creating Style Buttons in Silverlight 3Jul 21, 2009. In this article we will be discussing how we can make some designer buttons.
  • The C# Asynchronous Programming ModelJul 27, 2009. This article will start by examining how to use the Asynchronous Programming Model (APM) to perform an asynchronous compute-bound operation, then describe the three styles of programming with the APM to deal with handling the end of the call in an asynchronous call: wait-until done, polling, and callback. The natural following is then the Thread Pool.
  • 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.
  • Styles in Silverlight 3 ApplicationJul 29, 2009. In this article we will see how can we write simple styles for any control and use it effectively.
  • Resource Dictionary in Silverlight 3 Using Blend 3Jul 29, 2009. In this article we will see how we can manage Styles in different files. Resource Dictionary is a cool feature available in Blend 3, where we can store our defined styles.
  • Styles in WPFAug 10, 2009. This article explains basics of styles in WPF.
  • Stored ProceduresAug 13, 2009. In this article I will explain you about stored procedure. How to create, execute and alter stored procedure. Why to use stored procedures and advantages of stored procedures.
  • Converting C# to COBOLAug 19, 2009. Converting C# to COBOL? Why would anyone want to do that? Is it possible? What are the reason? Actually there are some very good reasons explained in the article.
  • Implement Master Pages in SilverlightAug 21, 2009. There are several posts about how to implement the master page feature in Silverlight. So the question is do we really need this master page feature in Silverlight. If there is an advantage to use the master page features in ASP.NET, then I can’t see a reason why Silverlight can’t take advantage of this as well. This article will demonstrate how to build a traditional master page style application in Silverlight.
  • Coding style models in ASP.NETAug 24, 2009. In the article I will explain about different coding style in ASP.NET.
  • 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.
  • AutoCompleteBox in Silverlight 3Sep 02, 2009. In this article we will see how to load AutoCompleteBox with sample date in Blend 3 in our silverlight application.
  • Applying CSS Layout in the Data ControlsSep 23, 2009. This article explains about the how to apply CSS layout in the data controls with sample codes.
  • Child Window Style in Silverlight 3Nov 06, 2009. In this article we will see how we can change ChildWindow Style.
  • HyperLink Styling as Button in Silverlight 3Nov 07, 2009. In this article I will show you how can you style your Hyperlink to look like a Button.
  • 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.
  • JQuery Message Boxes with Great look'n Feel for ASP.Net Dec 01, 2009. Here in this article is the solution for message box with great styles and with no more Extenders Coding.
  • Genarate Images on fly in ASP.NetDec 13, 2009. In this article I am going to show how we can generate image of any type on fly by choosing our forecolor, background color, our text family, our font style.
  • Attribute or Styles in GDI+ Dec 21, 2009. In this article I will explain about Attribute or Styles in GDI+.
  • Working with Text and Strings in GDI+ Dec 27, 2009. In this article I will explain about Working with Text and Strings in GDI+.
  • How to use StyleSheetsDec 29, 2009. This article explains how to use style sheets in Web applications.
  • 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.
  • Hatch Brushes in GDI+ Jan 25, 2010. In this article I will explain about Hatch Brushes in GDI+.
  • String Initialization and System.String Class using C# Jan 26, 2010. In this article I will explain you about the String Initialization and System.String Class.
  • Polyline in WPFFeb 04, 2010. A polyline is a collection of connected straight lines. This article demonstrates how to create a polyline in WPF and XAML.
  • Drawing Other Graphics Shapes by Applying Cap and Dashed Line Styles in GDI+ Feb 08, 2010. In this article I will explain about Drawing Other Graphics Shapes by Applying Cap and Dashed Line Styles in GDI+.
  • Image in Tooltip in WPFMar 05, 2010. In this article we will see how we can Bind an Image to the Tooltip of an Image.
  • Abstract Class in C#Mar 09, 2010. An Abstract class is an incomplete class or special class we can't instantiate.
  • Getting and Setting Line Caps and Styles in GDI+Mar 17, 2010. In this article I will explain about Getting and Setting Line Caps and Styles in GDI+.

About Why-Metro-Style-Apps

NA

SPONSORED BY

C# Corner Chandigarh DevCon16
Chandigarh DevCon16 is a one-day Developer Conference where programmers, technologists, authors, and members meet, demonstrate, plan, and hang out.
techbash 2016