Please enable Javascript to correctly display the contents on Dot Net Tricks!

Dot Net Tricks Tutorial - For Beginners & Professionals

.net article,c# tutorial,asp.net tutorial,linq tutorial,wcf tutorial,mvc tutorial,entity framework tutorial,sqlserver tutorial,jquery tutorial,visual studio tutorial
 
Posted By : Shailendra Chauhan, 06 Jun 2013
Updated On : 13 Jul 2013

Prototype pattern is used to create a duplicate object or clone of the current object to enhance performance. This pattern is used when creation of object is costly or complex.

 

 

Posted By : Shailendra Chauhan, 04 Jun 2013
Updated On : 18 Aug 2013

Builder pattern builds a complex object by using simple objects and a step by step approach. Builder class builds the final object step by step. This builder is independent of other objects. The builder pattern describes a way to separate an object from its construction. The same construction method can create different representation of the object.

 

 

Posted By : Shailendra Chauhan, 02 Jun 2013
Updated On : 24 Jun 2014

Abstract Factory method pattern falls under Creational Pattern of Gang of Four (GOF) Design Patterns in .Net. It is used to create a set of related objects, or dependent objects. Internally, Abstract Factory use Factory design pattern for creating objects. It may also use Builder design pattern and prototype design pattern for creating objects.

 

 

Posted By : Shailendra Chauhan, 28 May 2013
Updated On : 13 Jul 2013

In Factory pattern, we create object without exposing the creation logic. In this pattern, an interface is used for creating an object, but let subclass decide which class to instantiate. The creation of object is done when it is required. The Factory method allows a class later instantiation to subclasses.

 

 

Posted By : Shailendra Chauhan, 25 May 2013
Updated On : 14 Feb 2014

In 1994, four authors Erich Gamma, Richard Helm, Ralph Johnson and John Vlissides published a book (Design Patterns: Elements of Reusable Object-Oriented Software) for explaining the concept of Design Pattern in Software development. These four authors are collectively known as Gang of Four (GOF).

 

 

Posted By : Shailendra Chauhan, 25 May 2013

Design patterns provide solutions to common problems which occur in software design. Design patterns are about reusable designs and interactions of objects.

 

 

Posted By : Shailendra Chauhan, 25 May 2013
Updated On : 07 Aug 2013

Software design principles are a set of guidelines that helps developers to make a good system design. The most important principle is SOLID principle. The key software design principles are as:

 

 

Posted By : Shailendra Chauhan, 14 Apr 2013
Updated On : 07 Nov 2013

In previous articles, I have explained the IoC, DI pattern and DI containers. I hope, you understand well the IoC, DI pattern and and DI containers. Now you will learn how to apply it in ASP.NET MVC 4. In this article, I am going to use e>Unit DI Container in MVC4.

 

 

Posted By : Shailendra Chauhan, 14 Apr 2013
Updated On : 15 Apr 2013

The terms Dependency Injection (DI) & Inversion of Control (IoC) are generally used interchangeably to describe the same design pattern. Hence some people says IoC Container and some people says DI container but both terms indicate to the same thing. So don't be confused from the terminology.

 

 

Posted By : Shailendra Chauhan, 13 Apr 2013

Sometimes, you required to find a the existence of a small string with in a string. This article will demonstarte, how could you do by using plain JavaScript.

 

 

Posted By : Shailendra Chauhan, 12 Apr 2013
Updated On : 13 Apr 2013

ASP.NET Web API is one of the most powerful recent addition to ASP.NET framework. Sometimes, you have to post a form data using jQuery JSON to Web API or MVC method, which have multiple input fields.Passing each and every input field data as a separate parameter is not good practice, even when you have a strongly typed-view. The best practice is, pass a complex type object.

 

 

Posted By : Shailendra Chauhan, 12 Apr 2013
Updated On : 04 Feb 2014

Dependency Injection (DI) is a software design pattern that allow us to develop loosely coupled code. DI is a great way to reduce tight coupling between software components. DI also enables us to better manage future changes and other complexity in our software. The purpose of DI is to make code maintainable.

 

 

Posted By : Shailendra Chauhan, 10 Apr 2013
Updated On : 15 Apr 2013

So many developers are confused about the the term Dependency Injection (DI). The confusion is about terminology, purpose, and mechanics. Should it be called Dependency Injection, Inversion of Control, or Service Locator? Over the Internet, there are a lot of articles, presentations and discussion but, unfortunately, many of them use conflicting terminology.

 

 

Posted By : Shailendra Chauhan, 05 Apr 2013

While developing your web application using MVC, many developers got confused when to use Web API, since MVC framework can also return JSON data by using JsonResult and can also handle simple AJAX requests. In this article, you will learn when to use Web API with MVC.

 

 

Posted By : Shailendra Chauhan, 05 Apr 2013
Updated On : 13 Apr 2013

The .Net framework has a numer of technologies that allow you to create HTTP services such as Web Service, WCF and now Web API. There are a lot of articles over the internet which may describe to whom you should use. Now a days, you have a lot of choices to build HTTP services on .NET framework. In this article, I would like to share my opinion with you over Web Service, WCF and Web API.

 

 

 
 
21 SEP
ASP.NET MVC with AngularJS Development (online)

MON-FRI 09:30 PM-11:00 PM IST

More Details
17 SEP
ASP.NET MVC with AngularJS Development (offline)

SAT,SUN 05:00 PM-06:30 PM IST

More Details
17 SEP
MEAN Stack Development (online)

MON-FRI 09:00 PM-10:30 PM IST

More Details
17 SEP
ASP.NET MVC with AngularJS Development (online)

Weekend (Sat, Sun) 03:00 PM-05:00 PM IST

More Details
17 SEP
PPC Marketing (offline)

Sat, Sun 03:00 PM-05:00 PM IST

More Details
9 SEP
ASP.NET MVC with AngularJS Development (online)

Weekdays (Mon-Fri)     07:30 AM-09:00 AM IST

3 SEP
NodeJS Development (offline)

Sat, Sun     11:00 AM-12:30 PM IST

29 AUG
NodeJS Development (online)

Mon-Fri     06:00 AM-07:30 AM IST

12 AUG
ASP.NET MVC with AngularJS Development (online)

Mon-Fri     09:30 PM-11:00 PM IST

24 JUL
ASP.NET MVC with AngularJS Development (offline)

Sat, Sun     09:30 AM-11:00 AM

11 MAY
.NET Development (offline)

Mon-Fri     9:00 AM-11:00 AM IST

BROWSE BY CATEGORY
 
SUBSCRIBE TO LATEST NEWS
 
LIKE US ON FACEBOOK
 
+