Thursday, 21 May 2015

RESTful Day #2: Inversion of control using dependency injection in Web API's using Unity Container and Bootstrapper

Introduction

My article will explain how we can make our Web API service architecture loosely coupled and more flexible. We already learnt that how we can create a RESTful service using Asp.net Web API and Entity framework in my last article. If you remember we ended up in a solution with a design flaw, we’ll try to overcome that flaw by resolving the dependencies of dependent components. For those who have not followed my previous article, they can learn by having the sample project attached as a test application from my first article.




Share/Bookmark

Tuesday, 12 May 2015

RESTful Day #1: Enterprise Level Application Architecture with Web API’s using Entity Framework, Generic Repository Pattern and Unit of Work

Introduction

I have been practicing, reading a lot about RESTful services for past few days. To my surprise I could not find a complete series of practical implementations of ASP.NET Web API’s on the web. My effort in this series will be to focus on how we can develop basic enterprise level application architecture with Web API’s.


Share/Bookmark

Sunday, 14 September 2014

A Practical Approach: News

A Practical Approach: News: Vote for my article on code project for best c# article of August 2014. Hi Friends, It gives me immense pleasure to share that my artic...

Share/Bookmark

Thursday, 11 September 2014

Diving in OOP (Day 6): Understanding Enums in C# (A Practical Approach)

Introduction

My article of the series “Diving in OOP” will explain enum datatype in C#. We’ll learn by doing hands on lab and not only by theory. We’ll explore the power of enum and will cover almost every scenario in which we can use enum. We’ll follow a practical approach of learning to understand this concept. We may come across complex examples to understand the concept more deeply.


Share/Bookmark

Saturday, 12 July 2014

News: VOTE FOR MY ARTICLE ON CODE PROJECT.

News

It gives me immense pleasure to share that my article (http://www.codeproject.com/Articles/792326/Diving-into-OOP-Day-All-About-Csharp-Access-Modifi) has been nominated in one of the category " Best C# article of the month July 2014" on codeproject.com


You can vote on this articles if it helped you by any means.

Share/Bookmark

Friday, 11 July 2014

Diving into OOP (Day 5): All About C# Access Modifiers (Public/Private/Protected/Internal/Sealed/Constants/Static and Readonly Fields)

Introduction

Thanks to my readers for their tremendous support which has motivated me to continue this OOP series further.
We have already covered almost all the aspects of Inheritance and Polymorphism in C#. My article will highlight almost all the aspects/scenarios of access modifiers in C#. We’ll learn by doing hands on lab and not only by theory. We’ll cover my favourite topic Constants in a very different manner by categorizing the sections in the form of “Labs”. My effort in this article will be to cover each and every concept of the related topic, so that at the end of the article, we can confidently say that we know “All about access modifiers in C#”. Just dive into OOP.


Share/Bookmark

Thursday, 5 June 2014

Diving in OOP (Day 4): Polymorphism and Inheritance (All About Abstract Classes in C#)

1. Introduction

We learnt a lot about polymorphism and inheritance. In this article of the series “Diving in OOP”, we’ll discuss about the most hot and exciting topic of OOP in C#, i.e., Abstract Classes. The concept of Abstract classes is the same for any other language, but in C# we deal with it in a bit different way. Abstract classes play a different and very interesting role in polymorphism and inheritance. We’ll cover all the aspects of abstract classes with our hands-on lab and theory as an explanation to what output we get. We’ll also list down points to remember at the end of the article.


Share/Bookmark

Sunday, 18 May 2014

Diving in OOP (Day 3): Polymorphism and Inheritance (Dynamic Binding/Run Time Polymorphism)

1. Introduction

This part of the article series will focus more on run time polymorphism also called late binding. We’ll use the same technique of learning, less theory and more hands-on. We’ll take small code snippets to learn the concept more deeply. To master this concept is like learning more than 50% of OOP.



Share/Bookmark

Friday, 16 May 2014

Diving in OOP (Part 2) : Polymorphism and Inheritance (Inheritance)

Introduction

In our first part of the article, we learned about different scenarios of method overloading and did lots of interesting hands on too. My article in the second part of the series will focus solely on inheritance concept in OOP. Let’s define Inheritance using some bullet points:


Share/Bookmark

Sunday, 11 May 2014

Diving in OOP (Part 1) : Polymorphism and Inheritance(Early Binding/Compile Time Polymorphism).

Introduction

I have been writing a lot about advanced topics like MVC, Entity Framework, Repository Patterns etc, my priority always remains to cover the topic as a whole, so that a reader does not have to search for missing links anywhere else. This article will cover almost every OOPS concept that a novice/beginner developer may hunt for, and not only beginners, the article’s purpose is to be helpful to experienced professionals who may need to brush-up on their concepts or who prepare for interviews.
I will take the topics in a manner that we cover them in a simple, straightforward way giving code snippets as example wherever needed. We’ll take C# as our programming language throughout our readings.
We’ll play with tricky questions and not go for enough theory. For theory you can refer MSDN.



Share/Bookmark

Tuesday, 17 December 2013

Complete End to End CRUD Operations Using Knockout.JS and EntityFramework 5 in MVC4 Application

I) Introduction

I have been browsing multiple sites to check if I could find a complete end to end tutorial or article upon CRUD operations using Knockout.JS and MVC 4. Unfortunately, all the ones I found were incomplete or had too short an explanation. In my last article we learned CRUD in ASP.NET web forms using MVC and EntityFramework. This article is the continuation to the same series. This article will be a kind of tutorial to explain how we can set up a Knockout.JS environment in an MVC4 application that is also capable of performing CRUD operations.

Share/Bookmark

Introduction to Knockout.js and CRUD Operations in ASP.Net Web Forms Using Knockout.JS

Download Source Code

I) Introduction

The development paradigm has been changing rapidly for a last few years. The out of the box technologies have been introduced to develop applications with fast, scalable, extensible structure, easy to maintain and easy to use. Knockout.JS is also one of the examples of such emerging technologies. I take an opportunity to explain the concept and topic my way.
We’ll be discussing the technology from basic to advanced level by just following a road-map.

II) Our Road-map



Share/Bookmark

Monday, 16 December 2013

Complete CRUD Operations in MVC 4 using Entity Framework 5 Without Writing a Single Line of Code

Introduction

In this article, I’ll describe how to perform basic CRUD operations in an MVC4 application with the help of Entity Framework 5 without writing a single line of code. EF and MVC had advanced themselves to the level that we don’t have to put effort in doing extra work.

Share/Bookmark

Monday, 16 September 2013

Learning LINQ and Introduction to Important C# Features (All in One)

Table of Contents 

  • I. Introduction
  • II. Pre-requisites
  • III. Overview
  • IV. What is Linq?

Share/Bookmark

Saturday, 14 September 2013

Web Services and Windows Services Interview Questions

WebServices And Windows Services

Can you give an example of when it would be appropriate to use a web service as opposed to non-serviced .NET component
Web service is one of main component in Service Oriented Architecture. You could use web services when your clients and servers are running on different networks and also different platforms. This provides a loosely coupled system. And also if the client is behind the firewall it would be easy to use web service since it runs on port 80 (by default) instead of having some thing else in Service Oriented Architecture applications.
What is the standard you use to wrap up a call to a Web service
"SOAP.

Share/Bookmark