Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is design patterns? which design patterns mostly used
in .net? How it is used with examples?

Answer Posted / srivatsa h.g

Guys ... i cant post all of the DP samples ..nonetheless u
get it over the internet but i can just brief u bout the
Design patterns

1. Design patterns are the general solutions to the design
problems.... (Though they dont give you the code)

2. Design patterns show how to build systems with good OO
design qualities

3. Design patterns provide a shared language that can
maximize the value of ur communication with other developers

The patterns that are commonly used in .NET

1.Facade -- business obj invoked by UI thru Facade

2.Composite -- Menu ctrl designed thru Composite pattern

3.Strategy -- lets the algorithm vary indep'ly from
clients that use it

4.Observer -- Error logging and tracing implemented
using this pattern

5.Abstract Factory -- solves the problem of accessing diff
databases

6.Singleton -- one instance

7.Proxy -- Used in cases of Just in Time Loading..

Is This Answer Correct ?    17 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Using any system, product, or service your organization provides, identify the human system roles for the product.

2543


What is a lazy initialization in singleton?

1109


Is mvc a software design pattern?

1103


Explain what are 5 common problems in the software development process?

1056


Are singletons bad?

1004


What are the SDLC phases you have invloved ?

2718


what are the creational design patterns

1172


What is the behavioral design pattern?

1099


What is aop design?

996


Is mvc is a design pattern?

1051


What are the types of the proxy design you will get in the design pattern?

949


What are creational design patterns?

1051


What is meant by design pattern?

1010


What are structural design patterns?

1107


What are the categories in which the design patterns can be divided?

1096