C# Corner

Resources  
  • Interactive ButtonsFeb 26, 2001. By using control properties, you can give your program an interactive look as you see on web sites.
  • Assemblies : The Ins and Out : Part IApr 13, 2001. In Part 1, I will cover what exactly an assembly is, and what an assembly contains.
  • Assemblies : The Ins and Out : Part IIApr 16, 2001. In this part, I will discuss both Private and Shared assemblies and how to create a "Shared Assembly".
  • Assemblies : The Ins and Out : Part IIIApr 20, 2001. In this part I will discuss in more detail than Part 2, the available utilities for manipulating assemblies.
  • XML Strengths and Weaknesses with DOM, ASP, and XSLApr 30, 2001. In this article we're going to take a look at some of the terminology that comes with using XML and its related technologies, as well as how to create and transform XML documents with XSL using Microsoft's MSXML parser. To test the code samples shown in this article you should be running Windows NT/2000/XP with IIS installed. You should also have SQL server 2000 installed on the same machine.
  • Cobol for Microsoft .NETAug 09, 2001. This article gives you introduction about how the age old COBOL can take a new energetic look under Microsoft.NET.
  • Argument CompilerAug 20, 2001. Here is one argument compiler. Author is looking for your feedback.
  • Call Control in Mobile Internet ToolkitAug 24, 2001. This only provides you to make you calls easier but also gives a nice look to your program.
  • CartWheel Man - Animating GraphicPathsNov 27, 2001. This simple application illustrates how GraphicsPaths can be animated to look like something is moving across the screen.
  • A Shaped Windows Forms Application with Variable OpacityMar 11, 2002. This application demonstrates two simple techniques that beginners might find useful in developing creative new looks for Windows applications.
  • 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.
  • Reflecting Data in .NET Classes - Part IV: From Database TableApr 08, 2002. In this article, we will be looking at how to "reflect" data from the most common data source - Database tables.
  • Customized Windows Forms Look and FeelMay 28, 2002. I have encountered instances when I needed a high level look and feel of Windows Forms and controls.
  • Welcome to COBOL.NET, corner of the C# CornerJul 01, 2002. This column will hopefully help those of you looking to use Fujitsu NetCOBOL for .NET. We are going to present some "How To" articles beginning with the basic information about the environment, the interaction with Visual Studio.NET, the Designers and the COBOL language.
  • Changing User Information using Active DirectoryAug 14, 2002. If your company is one of the lucky? Ones to implement Windows 2000 Active Directory you may have been looking for a way to populate it with data. Perhaps adding people’s details from a file directly into the active directory.
  • Converting C# to COBOLOct 18, 2002. In this article we'll take a look at some C# samples of code and then translate those samples into COBOL.
  • Aspect Oriented ProgrammingNov 20, 2002. In this article we are going to look at some features of .Net framework, which enable us to build highly configurable applications.
  • Data Access Overview for Smart Device ExtensionsDec 23, 2002. In this article we will take a brief look at ata Access for Smart Device Extensions.
  • The "ins" and "outs" of Using Stored Procedures in C#Jan 27, 2003. This article reviews the creation of stored procedures with parameters using the Visual Studio IDE.
  • Basics of Extending Your Working Environment in Visual StudioApr 10, 2003. All of us have used Macros in Microsoft Office and Add-ins in Visual Studio 6 and I am very sure all of us have been impressed as well by their power to control their own working environment.
  • Developing Secure Web Site with ASP.NET and IIS: PartIIMay 07, 2003. Authentication is a very important element of developing secure sites. It is the starting point of a secure environment for the protected resources. I have discussed several authentication mechanisms available in ASP.NET and how they join with IIS to provide a secure platform to develop sites in Part I of this article. I will be looking at Form Authentication and how to implement it in several sample web applications.
  • Directory Picker Pro in C#Nov 24, 2003. In my latest project I needed a dialog for picking a directory. I searched through the web, but found nothing that looked nice. First of all I wanted a TreeView for display, and I wanted to view all system drives (with correct names and icons).
  • Transforming Visual Studio .NET Projects into NANT files using XSLT and .NETApr 16, 2004. I was looking for a solution on how to execute an XSL transform on a C# project file and convert it to a Nant build file. Nant provides the xsl file to do the conversion under the open source license agreement, but Nant does not provide away of producing the transformation.
  • Understanding .NET Framework at a glanceMay 05, 2004. In this article we are going to look at Microsoft .NET Framework. This is the newly established software development environment which helps developers to develop applications quickly and gives optimum, efficient, scalable, performance oriented applications in different languages like Visual Basic .NET, C#, ASP .NET, and Jscript .NET.
  • In-depth Look at WMI and Instrumentation: Part ISep 14, 2004. WMI provides a consistent programmatic access to management information in the enterprise. It uses the typical provider and consumer concept where you have on one side components providing this management information while on the other side management applications can subscribe and consume it.
  • An in-depth look at WMI and Instrumentation: Part IISep 18, 2004. In this second part of the series, you will learn how to work with WMI classes and class instances, and then demonstrates the wealth of information available through the Win32 and IIS WMI providers.
  • M.S. Visio AutomationAug 19, 2005. This article demonstrates the flexibility of Visio products as a development platform by describing the customized business solutions.
  • New Dataset features in ADO.Net 2.0Aug 22, 2005. ADO.NET class libraries are used for accessing data from a wide range of data sources. One of the best features in ADO.Net is DataSet.Even though it was an exciting feature, performance was a concern with DataSet. Lets look some changes made to DataSet in ADO.Net in this article.
  • Master Pages in ASP.NET 2.0Nov 15, 2005. Master pages is a new concept in ASP.NET 2.0, which allows site developers to build master templates for their site's look and feel and put all common code which is shared by all the pages.
  • ColorReliefButtonDec 14, 2005. My idea was to create a button that can be used as a colourful decoration for any application. The look of the ColorReliefButton can be determined by changing property values. The main attraction should be a cool look (Relief) of the controls text. Like this almost any font (TrueTyp) can be used to decorate a button and there is no need to use bitmaps.
  • Building Generic Data Access Class using ADO.Net 2.0Jan 03, 2006. In this article we are going to explore some new features of the generic data access supported by ADO.Net 2, and also we will have a look at generic collections and generic interfaces.
  • ASP.Net 2.0 What's new in Page Life CycleJan 07, 2006. ASP.NET 2.0 adds some new events to allow you to follow the request processing more closely and precisely. This article looks into those events.
  • Basic concepts of Threading: Part IJan 27, 2006. In this article, we will look at the basic concepts of threading in C# and .NET.
  • C# Heap(ing) Vs Stack(ing) in .NET: Part IVJan 30, 2006. Having a basic understanding of how memory management works will help explain the behavior of the variables we work with in every program we write. In this article we’ll look further into Garbage Collection (GC) and some ways to keep our applications running efficiently by using static class members.
  • Understanding C# Events: What They Are and Where They Came FromJan 30, 2006. To help you get a working knowledge of C# events and event handling, this article explains where events come from, what they really are at a functional level and how they are expressed in C#. This article specifically looks at the Gang Of Four (GOF) Observer pattern.
  • Wrapper Patterns in C#: Part IFeb 13, 2006. Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# wrapper rabbit hole and see how it is all possible with some patterns: Proxy, Decorator, and Adapter.
  • Wrapper Patterns in C#, Part II: The Proxy PatternFeb 14, 2006. Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# wrapper rabbit hole and see how it is all possible with some patterns: Proxy, Decorator, and Adapter.
  • Wrapper Patterns in C#, Part III: The Decorator PatternFeb 15, 2006. Did you ever wish for a superhuman power to be impervious to bullets or travel outside your body? How about the superpower to be able to breathe underwater or fly? Or how about a changing the way you look so you can disguise yourself as anyone, or anything? In this series of four articles, we will travel down the C# rabbit hole and see how it is all possible with some wrapper patterns: Proxy, Decorator, and Adapter.
  • SpringButtonApr 04, 2006. This tutorial and the source code attached with it shows how to create nice looking buttons using C#.
  • 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 GOF Abstract Factory Design Pattern In C#Aug 04, 2006. This article covers the basics of the GOF Abstract Factory design pattern by looking at building Model T automobiles.
  • A Functional Look at Report Builder Client in SQL Server 2005Aug 17, 2006. In this article we will take a brief look at the functionality provided by the Report Builder Client.
  • Atlas - Asynchronous Partial Page Rendering in ASP.Net Aug 23, 2006. In this article we will take a look at the partial page rendering feature provided by the Atlas UpdatePanel control. We will go through the features of UpdatePanel control and code samples for using the features in various scenarios.
  • Atlas - Visual Feedback Using the UpdateProgress ControlSep 07, 2006. In this article, we will take a look at the ease with which the UpdateProgress control in Atlas allows you to provide user feedback on the progress of operations in an ASP.Net 2.0 web page.
  • PDF Search in SharePointSep 11, 2006. This is a small article that tells users about the PDF search in SharePoint. I have not included the exact steps that need to be taken because that has already been published before on many sites including Microsoft's. My objective is tell users where to start looking for resources if they want to search PDF documents in SharePoint.
  • Outlook Integration in C#Oct 31, 2006. This article describes how we can manipulate outlook from Visual Studio 2005.
  • C# Friendly Assemblies: Looking at Building Truly Reusable ComponentsNov 01, 2006. This article discusses how we can hide our base class implementation and require referencing of our objects through their interfaces. This keeps our own projects loosely coupled and also allows us to publish our assemblies as truly reusable components because they are 100% “Black box”.
  • Basic Introduction to Windows Workflow FoundationNov 10, 2006. In this article, we will take a look at the introductory concepts of Windows Workflows Foundation
  • Basic Introduction to Activities in Windows Workflow FoundationNov 23, 2006. In this article, we will take a look at the introductory concepts of Activities in the Windows Workflows Foundation.
  • Drawing Visio Shapes in the Visio ActiveX Control Using C# and .NETDec 05, 2006. This article will get you started in using the Visio ActiveX control that allows you to use Visio inside of a .NET Windows Form. The article will step you through a simple example of drawing shapes inside a Visio Drawing and connecting the shapes together.
  • Conditional Activities in Windows Workflow FoundationDec 11, 2006. In this article, we will take a look at the introductory concepts of Conditional Activities in the Windows Workflows Foundation. We will explore the types of Conditional Activities and the different ways of specifying Conditions.
  • 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.
  • ASP.NET 2.0 Visio Custom ControlJan 15, 2007. This article describes a quick and simple approach to creating a custom web control used to display Microsoft Visio files within an ASP.NET page using Internet Explorer.
  • 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#... 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.
  • Multi-threaded Asynchronous Programming in C#. Async Database Calls. Part III.May 14, 2007. In my last couple articles we looked at basic ways to have long-running i/o bound process be handled by the ThreadPool using the asynchronous programming model. In this article we’ll take a look at coding async calls against SqlServer which really comes in handy in production environments where our database is on another machine.
  • Multi-threaded Asynchronous Programming in C#... Through The Web Service. Part VMay 27, 2007. In my last article I discussed a general approach to building an async architecture. In this article we’ll look at extending this basic architecture and incorporating async web services.
  • 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.
  • Multi-threaded Asynchronous Programming in C#... Through The Web Page. Part VIJul 27, 2007. Async web pages which are primarily used as a server performance enhancement. There are two main methods we will be looking at that are used to execute operations asynchronously from web pages: Page.AddOnPreRenderCompleteAsync() and Page.AddOnPreRenderCompleteAsync().
  • How to Send an Email with AttachmentAug 02, 2007. This article shows how to send an email to anyone from your server. Also look how to send a file as attachment with an email.
  • Introduction to Building a Plug-In Architecture Using C#Sep 10, 2007. In this article we'll take another look at how we can use the state pattern to build a plug-in architecture that will allow us to change the behavior of our application by placing differnt plug-ins into a folder.
  • An "Outlook Like" controlOct 01, 2007. This is a control that behaves like the Tab control but have visual cues that look more like the Navigation panel in outlook. And since this is more of a tab control than a navigation panel control, you are free to add as many tabs as you like.
  • Web based colour tool for .NETOct 02, 2007. The .NET Framework provides us with over 100 colours to use within the System.Drawing namespace. In order that we know exactly what all these colours look like here is a simple web based tool that uses Reflection to loop through all the colours with the System.Drawing.Color struct and print them to the page.
  • Functional Programming with C#: Advanced Asynchronous ProgrammingJan 21, 2008. I wrote about functional asynchronous programming in an earlier article and now will expand on the topic to look at ways to re-synchronize results from asynchronous function calls.
  • Writing Better Code -- Keepin' it CohesiveFeb 15, 2008. One of the aspects of code quality we can look at is cohesion. If code is highly cohesive it is also much more testable, reusable, readable and maintainable (all the good things in life). Likewise, if code has a low level of cohesion it is often very hard to understand at a glance and difficult to test and maintain. In this article we'll take a look at a concrete example of code that does not follow the Single Responsibility Principle and as a result has low cohesion and walk through the refactoring it takes to modify the code to be more highly cohesive.
  • Background worker simplifiedMar 03, 2008. This article looks at the Background Worker Technology and encapsulates it into a simple form that can be used over and over to run your background tasks.
  • Functional Programming with C# - CompositionMar 05, 2008. In this article we'll look at using a couple different functional approaches to implementing a basic formula through composition including using monads.
  • Consolidate Your Binding CodeMar 22, 2008. I've noticed that in data driven UI projects there is often lots of repeated code wherever there is data binding. In this article we'll look at consolidating all the binding code in a helper class to make projects much easier to maintain by reducing the amount of code we have to dig through.
  • F# Types and the Forward Pipe OperatorMar 22, 2008. Looking at F# Types (Especially Functions) and the Forward-Pipe Operator.
  • Enumerable, Enumerator, and Yielding a "Free" State MachineApr 15, 2008. In this article we look at the power of the "yield" keyword in C#.
  • An Introductory look at the ASP.Net 3.5 Model-View-Controller FrameworkMay 14, 2008. In this article we will take a brief look at the Model View Controller Framework extension for ASP.Net 3.5.
  • Overriding the System.Object class methodsJun 03, 2008. In this article you will take a look on the Object class the base class for all data types in the .NET Framework. You will see also how to give your custom type a new look by overriding the Object class virtual methods.
  • To be a Business AnalystAug 29, 2008. The Business Analyst (BA) is one of the key roles in any software development project. Many times it is their work which makes or breaks a software project. This article provides an insight of what we need to look at for a BA
  • Using Lightbox in an ASP.NET Application (C#)Nov 17, 2008. The article describes Lightbox as, "... a simple, unobtrusive script used to overlay images on the current page." It delivers a nice, professional looking method for displaying images as overlays through the use of hyperlinks.
  • Creating nice tab feature in SilverlightNov 26, 2008. This article uses cool animation in silverlight to create a tab bar like look.
  • Coding Better: Using Classes vs. InterfacesJan 18, 2009. Using the .NET framework we basically have two ways to provide abstraction for our code: Classes and Interfaces. This article will look at the use of each and cover some things to consider when choosing between them in different situations.
  • Coding Better: Programming From the Outside In for Fluent Interfaces. Part IIFeb 01, 2009. In this article we’ll cover building a Fluent Interface in order to write readable code that closely models spoken/written language.  In a previous article I discussed how we can be more efficient and write better code by developing from the outside-in.  Now we’ll look at a new trick to make this approach even more effective, the Fluent Interface and Method Chaining.
  • 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.
  • Introduction to Visual Studio Add-insMar 03, 2009. This article explains about Visual Studio 2008 Add-ins.
  • Introduction to Interfacing Win Forms with VS Add-insMar 04, 2009. This article explains about integration of Windows Forms with Visual Studio Add-ins.
  • LINQ FAQ for Newbie's Mar 05, 2009. In this article we will run through basics of LINQ and then see 5 basic LINQ queries which you will always need in your project for queries. While looking at the basics we will also try to learn what problem LINQ solves from the perspective of middle tier business objects.
  • Paging and Sorting ListViews with ASP.NET MVC and jQueryMar 23, 2009. This article provides a simple example of using jQuery along with the jQuery tablesorter and tablesorter.pager plug-ins to provide sorting and paging support for a listview within the context of an ASP.NET MVC application. JQuery has partnered with Microsoft and is now integrated within the IDE to include the availability of intellisense support.
  • Financial Calculation using .NET: Part IIMar 23, 2009. In this article we will look how we can use “Microsoft.VisualBasic” namespace to do single line and double line depreciation calculation.
  • F# Data Abstraction Layer For C#Apr 06, 2009. In this article I'll take a look at building a data abstraction layer in F# and consuming it with C#.
  • WCF Tracing FAQApr 30, 2009. In this article we will look how we can trace and debug information in WCF services. There are some ready made tracelisteners provided by WCF. The base of these ready made trace listeners is .NET trace listener. So we will first understand the basic concept of trace listener and then go through the ready made tracelisteners provided by WCF.
  • How to Prepare Quotations (Project Estimates) Using Use Case Points May 17, 2009. Quotation (Project Estimation) is one of the important aspects of software cycles. Any prediction less or more will affect the project a lot. Let's look at how basically day to day businesses manage their ways of handling quotations.
  • Cell Merging In GridViewMay 19, 2009. In many asp.net applications, we use the GridView control for displaying data. It is a very helpful control and powerful indeed. Many operations can be done using the grid view control but the UI presentation is more important as it is the look-n-feel that matters a lot. In this small article, I will demonstrate how the cells of the grid can be merged as I have been asked to do the same in one of my recent projects.
  • 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.
  • 7 Simple Steps to Enable HTTPS on WCF WsHttp BindingsJun 23, 2009. When we talk about WCF security there are two ways one is the transport level security and the other is message level security. Transport level security is nothing but built in security by protocols itself. In message level security we need to encrypt the data, in other words security is injected in the data itself. In this article we will look in to how we can implement transport level security using WsHttp bindings. We do not need to do extra development for transport level security because it’s more of the protocols inherent security model. In this article we will implement WsHttp using HTTPS as transport security.
  • LINQ FAQ for Newbie's Jul 13, 2009. In this section we will run through basics of LINQ and then see 5 basic LINQ queries which you will always need in your project for queries. While looking at the basics we will also try to learn what problem LINQ solves from the perspective of middle tier business objects.
  • How to improve your LINQ query performance by 5 X times ?Jul 17, 2009. LINQ has been criticized by many early adopters for its performance issues. Well if you are just going to drag and drop using DBML code generator I am sure you will land up in to mess. Try doing this make a simple LINQ to SQL project using DBML and see your SQL profiler, I am sure you will never like to touch DBML code generator again. In this article we will first look in to how LINQ queries are executed, and then we will touch base on how compiled LINQ queries can help us improve our application performance at least 5 times. My numbers can be 10% up and down as I had come to that figure using my environmental situations.
  • Developing a New Control Using VSM in Silverlight 3Jul 31, 2009. Silverlight provides a Visual State Manager (or VSM) that manages different states as users interact with controls. For example, you might want to change the background of the Button as the user mouses over it and make it look slightly bigger or smaller when a user clicks it. All of this can be done using the Visual State Manager. The discussion that follows will walk through show how custom templates and VSM states can be created visually.
  • Look at Code Definition Window in Visual Studio 2008Aug 21, 2009. This article explains about Code Definition Window and its features in Visual Studio 2008.
  • The Architecture of Visual SourceSafe 2005Sep 11, 2009. In this article, I want to take a look at the architecture of Visual SourceSafe 2005; an important package which can be used in software development projects as a source control system.
  • .NET 4.0 FAQ: Part I - The DLROct 13, 2009. In this section we will look in to new features provided by .NET 4.0 framework. We have a glance on some important features, DLR, subsystems of DLR, dynamic object and expand objects.
  • 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.
  • GridView in WPFNov 09, 2009. If you are looking for a GridView control in WPF, you will be disappointed. WPF does not have a GridView control. But the good news is you can achieve a GridView like functionality with a ListView control available in WPF. This article demonstrates how to generate a GridView like ListView control in WPF.
  • Simple 5 steps to run your first Azure programJan 07, 2010. In this article we will look in to 5 basic steps which will help us to run our first azure program. In this article we will understand how to create a simple web role application and while doing the same we will understand some development concepts of Azure.
  • SQL Query Optimization FAQ Part 1 (With video explanation)Feb 02, 2010. In this article we will first try to understand what is a SQL plan, how is it created and then we will move towards understanding how to read the SQL plan. As we read the SQL plan we will try to understand different operators like table scan, index seek scan, clustered scan, RID lookup etc. We will also look in to the best practices associated with clustered and non-clustered indexes and how they function internally. We will practically see how indexed views increase performance and in what scenarios we should use the same.
  • SkewTransform in WPFFeb 14, 2010. SkewTransform is used to skew or shear an element. Shear can be used to add depth to elements to give them a 3-D look.

About Metro-Look-in-Visio-2013

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