Recent Posts

6
Comments

Single Key Multiple Values Data Structure for one to many mapping by nijhawan.saurabh

For updated version of the article please visit www.agnosticdevs.com Dictionaries are good, they are great to store Key / Value pairs but what if you want to store multiple values for a single key? Dictionaries would not allow duplicate keys. You can...
Filed under: , ,
4
Comments

The Template Method Design Pattern using C# .Net by nijhawan.saurabh

For updated version of the article please visit www.agnosticdevs.com First of all I'll just put this pattern in context and describe its intent as in the GOF book: Template Method: Define the skeleton of an algorithm in an operation, deferring some steps...
3
Comments

Implementing Linked Lists in C# by nijhawan.saurabh

For updated version of this blog/post, please visit www.agnosticdevs.com Why? The question is why you need Linked Lists and why it is the foundation of any Abstract Data Structure. Take any of the Data Structures - Stacks, Queues, Heaps, Trees; there...
18
Comments

Difference between Factory Method and Abstract Factory design patterns using C#.Net by nijhawan.saurabh

For updated version of the article please visit www.agnosticdevs.com First of all I'll just put both these patterns in context and describe their intent as in the GOF book: Factory Method: Define an interface for creating an object, but let subclasses...
0
Comments

Debugging not working in ASP.NET Browser showing errors like , Page cannot be displayed. by nijhawan.saurabh

For updated version of the article please visit www.agnosticdevs.com Quick Checks: Is it a .aspx page or by mistake you are trying to open a masterpage or a user control. Just check once. Also try to clean and recompile your solution. Make sure to close...
Filed under: , ,
1
Comments

Object Oriented JavaScript using Prototype Object by nijhawan.saurabh

For updated version of the article please visit www.agnosticdevs.com Object Oriented JavaScript using Prototype Object   This document describes the benefit of using Object Oriented Approach in JavaScript Codes and implements Calendar Management...
2
Comments

Setting AlterNateRow BackColor For Two Rows At A Time In GridView by nijhawan.saurabh

This was part of a question asked on asp.net forums, i thought of sharing it here as well. “How can i have first two rows with one color in a GridView and another color for the next two rows and so on.”   Here’s The Code:   protected void Page_Load...
8
Comments

Creating a N/3-Tier/Layered Application by nijhawan.saurabh

For updated version of the article please visit www.agnosticdevs.com   “In most of the Business Solutions, we tend to implement good-reusable code. There are a lot of different ways to achieve the same. So, we are here to discuss one of those ways...
23
Comments

Sending HTML Mail Using Gmail SMTP (using System.Net.Mail namespace) by nijhawan.saurabh

INTRODUCTION: Sending emails requires SMTP server and hence usually you won’t be able to send emails from your local machine [In case you have SMTP server configured on your local machine, you can surely send emails using that!]. The other way out would...
2
Comments

ASP.NET Authorization Vs Authentication by nijhawan.saurabh

For updated version of the article please visit www.agnosticdevs.com Authorization: in contrast to Authentication implies, "What resources are accessible to the users". This means that once the user logs in (or hasn't logged in), we need to...
More Posts