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



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

Answer / 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

More Design Patterns Interview Questions

How do you ensure quality of code ?

3 Answers   Infosys,


What is a behavioral design pattern?

0 Answers  


Tell us about some of the projects that have been your favorite.

1 Answers  


i have file(ps),dont know how many records are there. move half of the records to 2 files. how can we do

1 Answers   IBM, Infosys,


What is the difference between factory and abstract factory design pattern?

0 Answers  






What is your research methodology?

1 Answers  


What are the most important software design patterns?

0 Answers  


What is the use of repository pattern?

0 Answers  


When should design patterns be used?

0 Answers  


What are the advantages of asynchronous architectures?

1 Answers   Microsoft,


Tell us the kind of features that you add to your design.

1 Answers  


What is the difference between architecture and design?

0 Answers  


Categories