Differed Execution (vs) Immediate execution in LINQ

Recently while understanding LINQ, many things unfurled from MSDN. The main theme of .NET is lazy binding (or) lazy loading. And it is evolving in all the ways within the .net Framework. I recollect in one of my previous posts about the mainly concentrated theme for every version that is released. I could be wrong from the insider perspective, but what I’ve observed is what I’ve written. Anyhow, coming back to the main purpose of this post, which is all about the lazy loading and the point behind various execution mechanisms that are available within LINQ. Before I proceed further, … Continue reading Differed Execution (vs) Immediate execution in LINQ

CheckBoxList validation

Within our current project, we faced a requirement such that there are multiple checkboxes and the user is required to select any one of them (at least one of them). So as there are multiple checkboxes, decided to go with CheckBoxList control. Now the problem is that, we need to show a error message if the user is not selected any one of them. The problem also extends not just there, but the display text should be culture specific. So the story started long after I’ve written this post. But editing this entire post due to a simple non supportive … Continue reading CheckBoxList validation

VS 2008 and .NET 3.5 Training Kit

The Visual Studio 2008 and .NET Framework 3.5 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2008 features and a variety of framework technologies including: LINQ, C# 3.0, Visual Basic 9, WCF, WF, WPF, ASP.NET AJAX, VSTO, CardSpace, SilverLight, Mobile and Application Lifecycle Management. I’ve downloaded this, if any one require this, you can drop me a mail or can collect from me.

ASP.NET 3.5 Extensions Preview

The ASP.NET 3.5 Extensions Preview provides a glimpse of new, powerful functionality being added to ASP.NET 3.5 and ADO.NET next year. This release delivers features that enable high-productivity data scenarios and creates the best server for rich clients. The release includes an ASP.NET model-view-controller (MVC) framework, ASP.NET Dynamic Data, Silverlight controls for ASP.NET, ADO.NET Data Services, an Entity Framework runtime, new features for ASP.NET AJAX and a wide variety of API References as hosted at ASP.NET Official site. You can download the ASP.NET 3.5 Preview, which contain all the Siliverlight controls, ADO.NET Data Services and many more. There is a … Continue reading ASP.NET 3.5 Extensions Preview

Calling .NET Component from a classic ASP page

After a long time, today, got a requirement from ASP page. Our current client has a major application written in classic ASP 2.0, and we have given him an extension functionality written in .NET with VB as programming language. Now, we have 2 different applications running at the same box with 2 different technologies, ie., an ASP application and an ASP.NET application. For both of the applications, there is a common functionality talking to the database via a webservice written in Java. The current situation demand a common library that will be reused at both ASP.NET pages as well as … Continue reading Calling .NET Component from a classic ASP page

C# 3.0 – What’s New : {Properties}-Part2

Property of the class can be considered as the mechanism of accessing the private variables of the class. In other words, properties act as wrappers to the private variables. Though, the new feature related to this is not so great from the point of technology, but highly meaningful from the developer point of view. In a large class code, having many fields and exposed as Properties, it is really difficult to remember the private fields association with the respective definition of properties. The new feature of Properties in C# 3.0 language specification says that the developer doesn’t require to define … Continue reading C# 3.0 – What’s New : {Properties}-Part2

The importance of ‘Return’ keyword at JavaScript

Recently, while coding for a Text Field value padded with left zeros, realised the importance of the RETURN key word for the FUNCTION written in JavaScript. Before i mention the actual importance, let me describe you the situation. Scenario: A Text box need to be padded with zeros and should have the length of 7 digits, even the data entered is less than 7. Ex: When the key board input being 88, the text box should show 0000088. Note the ZEROs padded on left. So, started with a JavaScript function as mentioned below function PadZeros(x) { var v = x.value; … Continue reading The importance of ‘Return’ keyword at JavaScript

C# 3.0 – What’s New : {Implicit}-Part1

Recent development in my technical life is that, started working out with Orcas Beta 2. So, thought to blog about the latest happenings with C# language. The idea emerged to start a series of posts related to C# new features. This is the first of ever such kind of blogging specific to a topic. C# 3.0 has many-a-new features. To start with, let me take a concept of Implicitly Typed Variables. Implicitly Typed Variables In the good old days, the developer has to worry about the type of the variable. Say for instance, whether to use long or double for … Continue reading C# 3.0 – What’s New : {Implicit}-Part1

Runtime Polymorphism

One of the frequently seen situations from a technical standpoint in a large scale of Business Layer objects is, invoking methods from different objects when they contain same method name. Today, am going to make it simple to give an example for Runtime Polymorphism. Leave your comments if am mistaken At this stage, I don’t think to mention about “Polymorphism”, as hope that you are aware of how polymorphic behavior can be fused using C#. If you want a start up, in simple words, implementation of one Method with many definitions, as mentioned below. class Employee{/// <summary>/// Invoked for the … Continue reading Runtime Polymorphism