C# Corner

Related resources for Net 4.0
  • WCF Discovery in .NET 4.09/30/2019 1:38:27 AM. Windows Communication Foundation has introduced a new feature of WCF; Discovery and with the help of this feature we can access the other service.
  • New Features of WCF 4.0: Part V9/26/2019 5:28:49 AM. Illustrating WCF 4.0 feature explaining the principles and showing some examples.
  • WCF Routing Service in .NET 4.09/20/2019 3:28:54 AM. WCF Routing Service is a new feature in .NET 4.0 frameworks. The most basic use of the Routing Service is to aggregate multiple destination endpoints to reduce the number of endpoints exposed to the c
  • Send SMS Using C# .Net5/21/2019 4:34:51 AM. Here you can send SMS using the way2sms client library from your very own C# .Net Web/Window Application
  • JIT (Just-In-Time) Compiler3/29/2019 5:28:34 AM. JIT is the just in time compiler, it is quite different with other compilers. It compiles the source code just in time, and it does not compiles hole code, only the code is to be executed is compiled.
  • Bundling in ASP.Net 4.08/29/2018 5:08:31 AM. In ASP.Net 4.5 there is a new feature called Bundling. Bundling bundles multiple files into a single file.
  • Introduction to WCF8/21/2018 1:05:12 AM. This article explains WCF and with an evaluation. WCF is a platform for building distributed businesses and deploying services among various endpoints in Windows.
  • Canceling Long Running Task Using Cancellationtokensource In .NET7/17/2018 10:20:12 AM. In this article, we will learn How to cancel or interrupt the Long Running Task using a Cancellationtokensource method in .NET 4.0.
  • URL Rewriting In ASP.NET 4.0/ 4.5 WebForm3/8/2017 4:01:26 PM. In this article, you will learn about URL rewriting in ASP.NET 4.0/ 4.5 WebForm.
  • Creating Multiselect DropDownList Control in ASP.NET 4.0 Using Bootstrap9/7/2015 2:02:13 PM. In this article you will learn how to create Multiselect DropDownList Control in ASP.NET 4.0 using Bootstrap.
  • Charting in ASP.Net 4.04/22/2015 3:28:21 PM. This article shows how to do Charting in ASP.NET 4.0.
  • Checked Keyword in C# 4.010/17/2014 3:27:29 PM. This article is all about understanding the “checked” keyword in C# 4.0.
  • Graphics in Silverlight 5: Part III9/4/2014 6:44:27 AM. In the third part of this series, we shall continue exploring other Shape elements. We begin with the Polygon.
  • How to Change Web Configuration7/7/2014 6:10:15 PM. I am trying to explain how to automate the process of changing a Web Configuaration in ASP.NET.
  • Parallel Task in .Net 4.07/2/2014 7:02:03 PM. Today I will be talking about a new feature of Parallel Programming that was added to .Net 4.0.
  • Various Ways to Disable ViewState in ASP.Net 4.07/12/2013 2:13:52 PM. This article descibes various ways to disable ViewState and also define the ViewStateMode Property in ASP.Net.
  • URL Routing in ASP.Net 4.07/10/2013 5:20:27 PM. URL Routing is the process of intercepting an incoming Web request and automatically redirecting it to a different URL. This article discusses the various techniques for implementing URL Routing.
  • Nested Repeater Control in ASP.Net 4.06/11/2013 11:45:15 PM. Toady in this article we are basically going to learn about how we can nest repeater control within one another.
  • EmptyDataTemplate in GridView Or Data Controls in ASP.NET 3.5 or 4.04/24/2013 4:47:12 AM. How to display a table when no records are present in the database.
  • SignalR - Simple Chat Application in C#12/18/2012 2:57:08 AM. Hello friends, today I am going to explain to you how to create a simple chat application using SignalR.
  • ClientIDRowSuffix in .NET 4.011/2/2012 2:10:51 PM. Today, in this article let’s play around with one of the interesting and most useful concepts in .NET 4.0.
  • Complex Class in .NET10/28/2012 3:50:55 PM. Today, in this article let’s play around with one of the interesting and most useful concepts in C#.
  • Creating 3D plane animated video in Expression Blend10/3/2012 9:06:25 AM. In this article I have explained how to create an animated video in a 3D plane that resizes to window size on clicking.
  • Customizing the site settings in Expression Web10/3/2012 8:23:39 AM. In this article you will learn how to customize the settings of the site we created in the last article.
  • Parallel Computing – Visual Studio 2010 - .NET 4.0 9/30/2012 2:47:12 AM. Microsoft's Visual Studio 2010 & .NET Framework 4 provided a way to achieve this by using the Parallel Library and Parallel LINQ in it.
  • How to Upload Files in ASP.NET9/27/2012 7:38:49 AM. This code demonstrates how to upload files in ASP.NET 4.0 using FileUpload control.
  • jQuery Function With HTML Control9/24/2012 5:54:59 PM. This article briefly talks about jQuery function calling from a HTML control.
  • Lazy Initialization in .NET 4.09/22/2012 3:26:47 AM. Lazy initialization of an object means that its creation is deferred until it is first used.
  • Features in ASP.NET 4.07/17/2012 8:20:24 AM. ASP.NET 4.0 includes enhancements in many areas. This article is an overview of the new and major improvements that are included in the ASP.NET 4.0.
  • Creating a Dynamic Data Web Site in ASP.NET 4.07/5/2012 3:31:42 PM. You can create Dynamic Data Web sites in Visual Studio by using ASP.NET Dynamic Data templates.
  • Caching Support All Types of .NET 4.0 Application7/2/2012 5:36:40 PM. This article shows how to implement data caching in a Console Application, Windows Presentation Foundation Application and other .NET Applications other than ASP.NET application using the .NET 4.0 and above framework.
  • Creating Custom Validation Attribute For Data Annotation6/27/2012 8:52:25 PM. In .net 4.0, namespace System.ComponentModel.DataAnnotations allow you to create new attribute and with the help of this you can validate the data as per your requirement.
  • Portable Class Library in .NET 4.0/4.56/18/2012 10:17:13 PM. Few days back I was working windows phone application as usual I created class library project for keeping separate business login. But I realize we cannot add as a reference normal class library in the Windows Phone 7 Application.
  • 6 Steps to Implement DUAL Security on WCF Using User Name + SSL5/15/2012 6:59:14 PM. 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.
  • Introduction to New Methods in System.IO.File in .Net 4.05/15/2012 1:51:43 PM. In this article we are looking the improvements made as part of .NET 4.0 which made the file handling more flexible and fast using File class.
  • .Net 4.0 Code Level Enhancements5/15/2012 1:27:35 PM. I am publishing here some features which is mainly meant to get a quick start for developers.
  • .NET 4.0 MEF FAQ (Socket, Plug and Extension)5/15/2012 1:23:26 PM. This FAQ deep dives in to .Net 4.0 MEF fundamentals (Import and Export) and also explains when to use MEF over DI / IOC. This article also explains step by step on how to use MEF in various technologies like Silverlight, WPF and ASP.NET.
  • 3 Ways of Doing Optimistic Locking in .NET5/15/2012 1:21:58 PM. In this article we will touch base 3 ways of doing optimistic locking i.e. Using ADO.NET dataset, SQL Server Timestamp check and old / new value check.
  • 6 Ways of Doing Locking in .NET (Pessimistic and Optimistic)5/15/2012 1:19:55 PM. This article talks about 6 ways of doing locking in .NET. It starts with concurrency problems and then discusses about 3 ways of doing optimistic locking.
  • Let's Play Around With Main Interrelated Concepts of Delegates in C#5/15/2012 1:07:20 PM. Today, in this article we will dig out and play around by creating simple delegate program and let’s see how better we can perform in this single program only. I mean, in this program I will cover everything all stuff required for delegate from all the possible ways. So I will be covering simple delegate creation, multi-cast delegate, use of named methods, use of anonymous methods, use of lambda expression and finally much better implementation about all of these and generic delegates as well.
  • Using The Complex Type to Solve Quadratic Equations5/15/2012 12:26:00 PM. One of the more interesting types introduced in .NET Framework 4.0 is the Complex structure which models the mathematical entity known as a 'complex number'. This is a number of the form a + bi where i represents the square root of -1.
  • Using Tuples With .Net 4.05/15/2012 12:15:06 PM. In this article let me explain the tuples world in a C# 4.0 scenario.
  • Query Through File System Using .Net 4.0 Enumerable Collections5/15/2012 12:12:53 PM. This article describes a new method introduced in .NET 4.0 using which developers can interact with file systems very quickly, especially for searching files and folders.
  • Using Memory-Mapped Files5/13/2012 3:00:13 AM. MemoryMappedFile is an interesting new class in version 4.0 of the .NET Framework which resides in the System.IO.MemoryMappedFiles namespace.
  • Parallel Programming Using New TPL Library in .Net 4.05/13/2012 2:56:53 AM. With the .Net 4.0, you are provided with the brand new parallel programming language library called “Task Parallel Library” (TPL). Using the classes in the System.Threading.Tasks namespace, you can build fine grained, scalable parallel code without having to work directly with threads.
  • PLINQ Powered by TPL in .Net 4.0 C#5/13/2012 2:55:31 AM. My previous post discussed the TPL library and its uses to create the scalable applications. Another way to incorporate the parallel task into your .Net applications is through PLINQ.
  • Support for Lazy Initialization in .Net 4.05/13/2012 2:49:42 AM. The Lazy initialization can be seen in designing the singleton pattern where we can have static readonly property in a nested class that initializes the singleton object in a Lazy way.
  • Managed Extensibility Framework (MEF)5/13/2012 2:47:32 AM. MEF is a component of .NET framework 4.0, to create lightweight, extensible applications. It avoids hard dependencies and lets the application developer discover and use extensions without any configuration required.
  • SharePoint 2010 - Using Lists3/28/2012 11:39:39 AM. In this article we can focus on Lists in SharePoint. We can create multiple lists in SharePoint 2010. The limit can be configured through Central Administration.
  • Association in Entity Framework2/16/2012 11:00:24 PM. Association defines a relationship between two entities in Entity Framework. Association is defined in a conceptual model by the “Association” Element and each relationship contains two ends that describe the entity type and multiplicity type (one to one, zero-or –one, one to many, many to many).
  • Inter-process Communication Between Managed Process1/9/2012 4:35:02 PM. This article explains Memory Mapped Files for inter-process communication.
  • Diagnostic And Performance Monitoring in .Net 4.01/9/2012 11:16:16 AM. In this article we will have a look at what is newer in .Net 4.0 to help determine the problem area or scope for improvements in your program.
  • Page Tracing in ASP.NET 4.012/21/2011 12:53:58 AM. Visual Studio debugging tools and ASP.NET detailed error pages are very helpful when we have testing a web application. But, sometimes we need a way to identify problems after we have deployed the application, while we don’t have Visual Studio IDE on that Computer.
  • Access Events via Methods or Handlers11/29/2011 12:34:49 AM. Today, we will dig on simple well known concepts called Events. The simple definition is message sent by some particular object to intimate that there is some action will be generated.
  • Getting started with Expression Web11/23/2011 12:51:58 PM. In this article you will be introduced to Expression Web and its key features.
  • Adding vector objects to the artboard in Expression Blend11/2/2011 8:36:38 AM. This article gives a clear view of adding vector objects to the artboard with in Blend.
  • Cookies in ASP.NET 4.010/31/2011 9:10:20 PM. Cookies are one of the State Management techniques, so that we can store information for later use. Cookies are small files that are created in the web browser’s memory (if they’re temporary) or on the client’s hard drive (if they’re permanent).
  • Creating Data binding controls in Expression Blend10/24/2011 11:18:39 PM. In this article I have emphasized upon creating data binding controls through Element properties.
  • Logging Application Block10/13/2011 8:23:35 PM. In this article we will see how to configure logging.
  • Silverlight Animations9/29/2011 4:25:06 AM. In this article we are going to see how we can create animations in Silverlight .
  • Creating Code Snippets in Visual Studio 20109/28/2011 8:08:45 PM. In this article we will be seeing how we can create Code snippets in Visual Studio 2010.
  • Improve your productivity with VisualStudio 2010- Productivity Power Tools9/22/2011 7:38:29 AM. Are you a smart visual studio 2010 developer? If you want to be then this post is for you. This post is for Visual Studio 2010 users to get productive while working.
  • Introduction to MEF9/12/2011 4:20:25 AM. MEF stands for Managed Extensible Framework. It is part of .Net 4.0 and is useful for building extensible applications.
  • Asynchronous Tasks and Synchronization on UI TPL .Net 4.09/9/2011 3:10:45 AM. Using TPL for parallel programming is now a cup of cake. It made life easier for those who are new to multithreaded programming.
  • Quick Steps to URL Rewriting in Asp.net 4.0 8/26/2011 2:05:40 AM. In this article you will learn URL Rewriting in Asp.net 4.0.
  • Start working with Workflow 4.0 in Visual Studio 20108/12/2011 2:00:18 AM. Start working with Microsoft’s Workflow Foundation. The WF 4.0 represents a whole new paradigm for building workflow-based applications, it is a visual designer and debugger for the graphical construction.
  • MEF Features .NET 4.07/28/2011 9:38:39 PM. In this article I am explaining some of the useful features MEF provides.
  • Model View Control (MVC) Pattern Using C# - Real Life Example7/20/2011 2:05:07 PM. Here you will see how to use Model View Control (MVC) Pattern using C# - real life example.
  • How to Access Custom Control in LightSwitch7/18/2011 11:20:10 PM. In this article we shall see how to access the custom control added to the LightSwitch screen in Part I.
  • Data Binding With Custom Control in LightSwitch7/18/2011 11:19:02 PM. In this article, we shall see how to bind the added custom control with the screen property in LightSwitch.
  • How to Add Custom Control in LightSwitch7/18/2011 11:18:09 PM. Today we shall see how to handle custom controls in LightSwitch as a series of articles.
  • How to Save Records at The Time of Adding in LightSwitch Beta 27/12/2011 12:27:39 PM. Here we will discuss how to save records to the database at the time of adding it.
  • System.Lazy(Of T) Class2/16/2011 4:36:19 AM. With .Net 4.0 we  can enable lazy initialization for any custom type by wrapping the type inside a System.Lazy(Of T) class.
  • Basics of Managed Extensibility Framework8/5/2010 2:28:04 AM. The objective of this article is to present a new feature of .NET 4.0 which is known as Managed Extensibility Framework.
  • Gradient Effect in Silverlight5/19/2010 6:32:18 AM. In this article I am going to show how we can show gradient effect in silverlight.
  • Lazy Initailization in .NET 4.05/17/2010 12:25:19 AM. Lazy initialization or lazy instantiation means that an object is not created until it is first referenced. Lazy initialization is used to reduce wasteful computation, memory requirements. Following is an example where Lazy initialization is particularly useful.
  • ASP.Net 4.0 ClientId5/13/2010 12:04:13 AM. ASP.Net 4.0 provides four algorithms to generate the ClientId for controls. In this article we will see each of them in detail.
  • Method Parameters in .NET 4.04/20/2010 5:48:21 AM. In this article I explain about optional parameters and named parameters.
  • Big Integer in .NET 4.010/14/2009 8:23:27 AM. This article introduces Big Integer added to .NET 4.0 and C# 2010.
  • Dynamic Programming in .NET 4.010/14/2009 8:18:45 AM. Dynamic programming is new addition to .NET 4.0 and C# 2010.
  • .NET 4.0 FAQ: Part I - The DLR10/13/2009 7:13:17 AM. 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.