C# Corner

Resources  
  • Mobile Fun with XMLMay 24, 2001. Here is something really wonderful in Mobile field .This example is for authenticating the Mobile Users against his settings stored in XML file. This is really good where all the ease of XML is applied. Function open the XML file and particular node data validate it against user inputs and do the specified.
  • Multi-threaded Web Applications - Case II: Port ScannerMar 12, 2002. This article continues the 4-parts series of Multi-threaded Web Applications. In the first part, I have demonstrated how you can use multi-threading with ASP.NET to make a web based search engine more responsive, and to reduce the time required to compose the result. In this article, I will demonstrate how you can apply the same technique to a web based port scanner.
  • Speedometer: Applying GDI+ TransformationsFeb 10, 2003. This zip file contains two folders - one folder contains speedometer control and the other contains the application that uses the control. Put both folders in the same location and open the application in VS and run it.
  • W23 ProtectorNov 24, 2003. The attached project is a W23 Protector. This program protects with a Windows registry code by applying 8 various types of protections. The program also has a security account with 3 types of user system accounts which are saved in an XML file.
  • Introduction to GDI+ Transformations Apr 01, 2004. A transformation is a process that changes graphics objects from one state to another. Rotation, scaling, reflection, translation, and shearing are some examples of transformation. Transformations can be applied not only to graphics shapes, curves, and images, but even to image colors.
  • Color Transformations and the Color MatrixApr 10, 2004. This article discusses the color transformations and how to apply Color Matrix on image colors to provide various effects such as gray scale effects, reduce or increase the contrast, brightness, or redness of an image.
  • Significance of Transformation OrderApr 27, 2004. When applying a composite transformation on graphics objects, the order of transformations plays a vital role. This article shows you various aspects of the transformation order and the results.
  • Text Transformation using GDI+ and C#Apr 27, 2004. This article shows you how to use GDI+ classes defined in the .NET Framework class library to apply transformations on text.
  • ASP.NET 2.0 Xml Control Oct 09, 2005. The Xml control of ASP.NET 2.0 is used to display an XML document and apply XML transformations to transform the data. This article shows how to use Xml control.
  • Exception ManagementFeb 02, 2006. Correct exception handling in your Web pages prevents sensitive exception details from being revealed to the user. The following recommendations apply to ASP.NET Web pages and controls.
  • A Glance at Web Application SecurityMar 07, 2006. Web application security involves implementing protective measures against potential threats, malicious or unintentional, that exploit exposed vulnerabilities. Security is best implemented using the defence-in-depth technique by applying protective measures at network, host, and web application levels. This article will focus on security at the application level by exploring IIS and ASP.net authentication, authorization and secure communication.
  • 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.
  • Building the Address control: Part IJun 12, 2006. Reusability and component oriented development is one of the features of .NET development. This approach may be applied to any project. In this article, I share how you can build your own Address Windows controls and use it from a Windows Forms client application.
  • Building the Address control: Part IIJun 15, 2006. Reusability and component oriented development is one of the features of .NET development. This approach may be applied to any project. In this article, I share how you can build your own Address Windows controls and use it from a Windows Forms client application.
  • Building the Address control: Part IIIJun 17, 2006. Reusability and component oriented development is one of the features of .NET development. This approach may be applied to any project. In this article, I share how you can build your own Address Windows controls and use it from a Windows Forms client application.
  • Applied MS Reporting Services 2005 101 using Smart ClientAug 25, 2006. An applied approach to get you started with MS Reporting Services using Smart Client host.
  • Building control derived from Windows Forms control in Visual Studio 2005: Part ISep 13, 2006. Reusability and component oriented development is one of the features of .NET development. This approach may be applied to any project. In this article I share how you can build your own Windows control derived from an Windows Forms control in Visual Studio 2005. The examples are written using C#.
  • Building control derived from Windows Forms control in Visual Studio 2005: Part IISep 14, 2006. Reusability and component oriented development is one of the features of .NET development. This approach may be applied to any project. In this article I share how you can build your own Windows control derived from an Windows Forms control in Visual Studio 2005. The examples are written using C#.
  • Tip: Disable Validation Controls in ASP.NET Sep 28, 2006. This tip shows how to enable and disable validation control if controltovalidate is visible or invisible?
  • Cannot perform '>' operation on System.DateTime and System.DoubleFeb 22, 2007. I get error "Cannot perform '>' operation on System.DateTime and System.Double" when applying a filter on DataView.
  • XML Data Binding in WPFApr 11, 2007. This article describes how to bind XML data using a data template in WPF and XAML. For ease of demonstration, the XML is defined as a resource within the XAML document.
  • Spell check enabled RichTextBox custom controlMay 16, 2007. This article describes a quick and simple approach to applying a spell check function to the rich text box control and bundling both features into a single custom control. Of course there is nothing novel or particularly interesting about performing spell checking upon a selection of text using the Word.DLL.
  • Step by Step Guide for Creating Your Own "Windows Explorer"Dec 27, 2007. This article explains a step by step procedure for creating an application similar to Windows Explorer.
  • Writing Better Code - Keepin' it ExtensibleFeb 21, 2008. In a previous article I talked about how to keep code cohesive by applying the Single Responsibility Principle. I wanted to explore part of another principle of software engineering that will help our code be extensible and can handle growth and change.
  • Get the machine configuration file information using ConfigurationManager classApr 17, 2008. This article tells you how to retrive information of configuration file which is applied to the entire application.
  • Implementing a Custom Zoom Bar with Map SuiteAug 29, 2008. this article I will show you how to build a custom zoom bar using the prebuilt zoom levels defined within Map Suite Web Edition (with concepts that also apply to Map Suite Desktop Edition).
  • Data Binding Techniques Using Visual Studio.NET and JDeveloperDec 08, 2008. Today data binding techniques are very easy to apply using IDE such as Microsoft Visual Studio.NET and Oralce JDeveloper. In this article, I will show how to develop a client/server enterprise application by applying the Model-View-Controller (MVC) design pattern and using development tools such as Microsoft Visual.NET and Oracle JDeveloper.
  • Ajax DropShadowExtenderDec 09, 2008. DropShadow is an extender which applies a "Drop Shadow" to a Panel.
  • The Two Interceptors: HttpModule and HttpHandlersDec 23, 2008. Many times we want to implement pre-processing logic before a request hits the IIS resources. For instance you would like to apply security mechanism, URL rewriting, filter something in the request, etc. ASP.NET has provided two types of interception HttpModule and HttpHandler.
  • Custom Theme Creation and applying in SharePoint (MOSS 2007)Jan 05, 2009. This article will explain step by step procedures to create a custom site theme and how to apply custom site theme to SharePoint site.
  • SharePoint Quick Start FAQ: Part IIJan 14, 2009. In the previous session of SharePoint article we had discussed about the basics of SharePoint. In this session we will - create site / site collection, understand the ready made functional reusable modules, learn how we can display a simple page and later apply master pages of SharePoint, host a Inline code and behind code page in SharePoint, understand the concept of features and understand step by step how to enable / disable a feature, how do display a feature in Admin.
  • Applying Multiple Transformations using the TransformGroup in Silverlight 2.0Jan 22, 2009. In this article we will see how to apply multiple transformations to a single object in Silverlight 2.0 using the TransformGroup class.
  • Interfaces + Factory pattern = Decoupled architectureFeb 13, 2009. In this tutorial we will try to understand how we can use interfaces and factory pattern to create a truly decoupled architecture framework. In this sample we will take up a simple three tier architecture and apply interfaces and factory pattern to see how we can transform the three tier in to a truly decoupled architecture.
  • Custom paging in ASP.NET 2.0 and SQL Server 2005 using ObjectDataSourceApr 13, 2009. This article is intended to show how to apply the paging mechanisms in Web applications using ASP.NET 2.0 and SQL Server 2005 as well as using the ObjectDataSource components.
  • Applying gray scale on an Image in WPFJun 22, 2009. The code snippet in this article shows how to apply gray scale affects to images using WPF and C#.
  • Applying Themes From Silverlight 3 Toolkit in Silverlight 3 ApplicationJul 28, 2009. In this article we are going to see how to use the Themes.
  • Data Validation in DataGrid in silverlight 3 ApplicationAug 10, 2009. This article shows how to apply data validation in DataGrid in silverlight 3 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.
  • DataGrid in WPFSep 28, 2009. This article is a part 1 of my WPF DataGrid series. In this part, you will learn how to create a DataGrid using XAML and C# and set its properties. The article will also show you how to apply data binding on a collection.
  • Hatch Brushes in GDI+ Jan 25, 2010. In this article I will explain about Hatch Brushes in GDI+.
  • 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+.
  • As Operator in C#Feb 24, 2010. The As operator in C# is used to convert from one type to another. You can use casting to cast one type to another but if you apply casting on incompatible types, you will get an exception.
  • LINQ to Object Part #4: Querying Non- IEnumerable collectionsMar 15, 2010. In this article, I am going to show, how we could apply LINQ to query non-IEnumerable<T> Collections.
  • 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.
  • 6 Steps to Implement DUAL Security on WCF Using User Name + SSLMay 20, 2010. In the article we will try to apply DUAL security using transport plus message on WCF services. So we will first try to understand the basic concepts of WCF security i.e. transport and message. Once we understand the concept we will move step by step to how to implement SSL and user name security on WCF services.
  • Creating Button Style at RuntimeMay 24, 2010. In this post, I will show how to apply a style at runtime to a button.
  • Silverlight Data Binding vs. WPFJun 02, 2010. In this article we will see how to Binding to Data Object, Binding to Collection Object , Data Conversion and DataTemplate in Silverlight.
  • Cursors in C#Jun 15, 2010. A cursor in Windows is an icon that is displayed when you move a mouse, a pen, or a trackball. This code shows how to apply and manage cursors in your Windows applications.
  • AJAX AutoCompleteExtender - DropDownList-Like BehaviorOct 26, 2010. An Ajax AutoCompleteExtender example having DropDownList-like behavior. Also an example of applying css styles for list items and how to use some of the properties of the extender.
  • Animation in WPF using DynamicResourceOct 29, 2010. Here I am describing about how to apply the animation for button control.
  • How to add holiday details within calendar controlNov 19, 2010. In this article, I will show you, how to add holiday details within control and apply some style for those dates.
  • Page Navigation and Passing, Sharing and Retaining Data in Windows Phone 7 Nov 24, 2010. Page navigation would seem to be an advanced Silverlight programming topic, and a topic that applies only to Silverlight programming rather than XNA programming. However, there are issues involved with navigation that are related to the very important topic of tombstoning, which is what happens to your Windows Phone 7 application when the user navigates to another application through the phone’s Start screen.
  • Working with Elements and Properties in Windows Phone 7 Dec 01, 2010. This article explores text and bitmaps in more depth, and also describes other common elements and some important properties you can apply to all these elements, including transforms.
  • How to Handle Manipulation Events and Properties in Windows Phone 7 Dec 02, 2010. This article describes common elements and some important properties you can apply to all these elements, including transforms. This lays the groundwork for the subject of Panel elements that provide the basis of Silverlight’s dynamic layout system.
  • ASP.NET Menu Control - .NET 4 ImprovementsDec 08, 2010. In ASP.NET menu control, it will be difficult to apply the styles, since the control will be rendered as HTML tables. There were other issues like losing the focus in asp.net menus.
  • Color of the Silverlight Scroll Bar - How to change it?Dec 14, 2010. This article guides you through a tutorial of how to change the default color of the Silverlight scroll bar and apply your own styling to the same.
  • How to Work with Databases, Business Objects and DataTemplates in Windows Phone 7Jan 06, 2011. In general, you’ll be filling an ItemsControl or ListBox with those vague but ubiquitous entities known as business objects. I’m going to spend the remainder of the chapter focusing on programs that use a database of high school students.
  • Retention Policy for a document library in SharePoint 2010Jan 18, 2011. In this article we will be seeing how to apply the retention policy for the document library in SharePoint 2010.
  • Understanding XAML Namespace in SilverlightJan 21, 2011. Extensible Application Markup Language (XAML) is a markup language used to instantiate .NET objects. Although XAML is a technology that can be applied to many different problem domains, it was initially designed as a part of Windows Presentation Foundation (WPF).
  • Applying Custom Filtering with AutoCompleteTextbox in SilverlightFeb 02, 2011. The AutoCompleteBox fuses a text entry with a drop-down list of suggestions. This feature is a common sight on the Web, powering everything from the search box on the Google homepage.
  • 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.
  • Apply/Change CSS dynamicaly using JavascriptFeb 28, 2011. Here you will see how to Apply/Change CSS dynamicaly using Javascript.
  • Benefits of SharePoint 2007 Service Pack 2Mar 01, 2011. In this article I am describing the benefits of applying Service Pack 2 of SharePoint 2007. I received a lot of emails asking about the benefits of it and why we should go with Service Pack 2. So I thought it would be nice to write an article about that.
  • Filling The Gap Between The Academic Life And The Professional LifeMar 13, 2011. Here you will learn how to fill the gap between the Academic Life and the Professional Life.
  • Using Windows Controls and PropertiesApr 17, 2011. In this article we will see how to bind a single event to multiple controls and also use of the tag property. With this article we will clearly see how we can avoid redundancy of code and how to apply re-usability.
  • Implicit DataTemplates in Silverlight 5, With practical case studyApr 20, 2011. As we know Silverlight 5 Beta has been released with some exciting features for developers. Based on the priority and the importance for a LOB application I am trying to cover the features. In my last article we discussed XAML binding debugging option and in this artiucle we are going to have a look into the new implicit DataTemplate feature.
  • Transparency using Opacity in XAML SilverlightApr 25, 2011. In this article, you will learn how to apply transparency by using Opacity in Silverlight arts.
  • Transparency using Alpha Channel in XAML SilverlightApr 25, 2011. In this post, you will learn how to apply transparency by using Alpha Channel in Silverlight arts.
  • Applying Image in TextBlock Foreground in XAML SilverlightMay 06, 2011. In this article, you will learn how to apply an image to a TextBlock Foreground.
  • What is MEF?May 16, 2011. In this article I will be trying to simplify the importance of MEF and where can MEF be applied. Let me ask a question before explaining the uses of MEF.
  • Changing Style Sheet DynamicallyJun 15, 2011. In this article I am posting code about applying style sheets dynamically in an ASP.Net web application.
  • Conditional CellTemplete controls at Runtime in Silverlight DataGridAug 08, 2011. Approaches available to bind various controls, to different cells of a particular column inside a Datagrid, using IValueconvertor and with a bit of common-sense applied.
  • Web Service Design for Chunked Transfer of Large Quantities of DataAug 18, 2011. In this article we are going to demonstrate design techniques which can be used to produce such Web service. Solution which will be developed along the course of this text is for demonstration purpose only and cannot be applied to practical, real world problems as is. But we hope that methods used to develop it can be applied to much more complex cases.
  • General Formatter for .NET 4/4: ExamplesAug 24, 2011. In this article we will see the examples of using custom formatter when applied to different objects of different complexities. Custom formatter produces output which is most appropriate for each of the objects supplied.
  • Understanding In and Out of XAML in WPFSep 19, 2011. Extensible Application Markup Language and pronounced “zammel” is a markup language used to instantiate .NET objects. Although XAML is a technology that can be applied to many different problem domains, its primary role in life is to construct WPF user interfaces.
  • FSharp for Beginners: What is the List.Map Function?Oct 01, 2011. Here you will learn how the List.map function creates a new collection by applying a function to the given collection.
  • Accessing Controls from DataGrid ColumnHeader - SilverlightDec 02, 2011. Access the controls defined in Data Template from the code behind .
  • Sort technique in AJAXDec 04, 2011. In this article I will demonstrate how to apply a Sort technique in AJAX.
  • Applying XSLT stylesheet to an XML file at runtimeDec 05, 2011. This article explains how to transform an XML file at runtime by applying an XSL stylesheet.
  • Microcontroller Based Robotic Garbage CollectorDec 06, 2011. In this article a light has been thrown on how can we make a garbage collector by using C# algorithm and to apply it in different hardware components.
  • WPF MaskedTextBox ControlDec 09, 2011. A MaskedTextBox allows us to apply mask to a TextBox. This article demonstrates how to use the MaskedTextBox control in a WPF application using C# and XAML.
  • Disply Data on Grid in ASP.NET MVC 3 ApplicationDec 27, 2011. We have created a simple application to help to bind the data in a Grid using the properties. This article helps to bind the data on the Grid and apply the sorting or paging in an ASP.NET MVC 3 application.
  • Windows 8: Adding Shortcuts to Metro UIFeb 08, 2012. In this article we learn how to create a shortcut in Windows 8 and how to apply this shortcut.
  • InputScope For TextBox in Windows Phone 7Feb 20, 2012. Simply speaking, InputScope is an attribute that can be applied to a TextBox control to change the default SIP layout (i.e when user enters text into a TextBox).
  • Control Style in WPFFeb 21, 2012. Control Styles in WPF are used to share the structure and a reusable format, which we can apply in most of our controls.
  • Paging in a DataGrid Using DropDownListMar 07, 2012. In this article we learn how to do paging in a DataGrid using a DropDownList.
  • Validation in PHPMar 13, 2012. Using this article one can easily understand how to apply validation in a PHP form.
  • Crystal Reports Dynamic Text FormatMar 14, 2012. In this article, I describe how to dynamically apply a format to Crystal Reports text.
  • Concept of View in SQL ServerMar 14, 2012. A View is virtual; the data from a View is not stored physically. It is a set of queries that, when applied to one or more tables, is stored in the database as an object.
  • A Simple Example of WCF ServiceMar 22, 2012. Here we look at an example of a WCF Service in which we create a service for applying simple calculator functions.
  • Linear Search in JavaMar 25, 2012. In this article we are going to discuss or describe Java linear searches. This is the simplest method of searching. In this method, the element to be searched is sequentially searched in the list. This method can be applied to a sorted or an unsorted list.
  • Animated Hide and Show of Paragraph Tag Using jQueryApr 12, 2012. This article shows how to create a simple animated hide and show application in ASP.NET using jQuery that lets us hide a paragraph tag by animating. We will learn how to apply Speeding, Fading and Sliding animations.
  • Applying Slide in DIV Using jQueryApr 26, 2012. In this quick article, you will learn how to apply a slide in a DIV tag using jQuery. We will first look at the animated image (working example) and then the code.
  • Import Metadata Into Term Store SharePoint 2010Apr 30, 2012. I am explaining about how to create a new term store, groups, term sets, and terms. I am trying to show you how to apply synonyms to terms and create a hierarchy of terms. Then we will see how we can import metadata into Tem Store.
  • Working With Text in Canvas Using HTML5May 03, 2012. In this Article we will see the different styles that can applied on the Canvas text using HTML5.
  • Data Validation in Windows Store AppMay 21, 2012. Validation is the process of ensuring the validity of data before applying an action to it.
  • Color Slider in Windows Store AppJun 05, 2012. In this article we will use a slider control in a Windows Store Application. We are going to implement a color slider, which will be applied on an ellipse control of a XAML control.
  • Image Reflection in Windows Store AppJul 03, 2012. To day we will talk about the reflection effect in windows store application. This effect is implemented through Render Transform and Transform Group tag in Xaml page applied on the target control where you want to make effect.
  • How to Use Own Style in Windows Store AppJul 26, 2012. In this article we are going to explain how can we use our own style in Windows store application and the style code is separated from the Main xaml page.
  • Validation Apply in ASP.NET MVC 3 Using Razor ViewJul 30, 2012. In this article I will explain how to apply validation to the Razor view application.

About Applying-DataTemplate

NA

SPONSORED BY

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