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

What is the prototype design pattern?

0 Answers  


What is the S/W model used in the project. What are the optimization techniques used. Give examples ?

2 Answers   Infosys, Symphony, Wipro,


how many types of cookies in php

1 Answers  


Quartus II software version 6.0 is available for which operating systems (OS)?

0 Answers  


Why is it important to use systems analysis and design methodologies when building a system? Why not just build the system in whatever way appears to be “quick and easy”? What value is provided by using an “engineering” approach?

1 Answers   DBU, KSV College, Sampson, University of Ibadan,






Which design pattern is mostly used in net?

0 Answers  


Write the code for a singleton class?

0 Answers  


What are 5 common problems in the software development process?

1 Answers   HP,


Give me example of chain of responsibility design pattern?

0 Answers  


Dd you useuse OOA/OOD methodologies?did you use design patterns?

1 Answers   HP,


Suppose we have file(ps), dont know how many records are there. Move half of the records to 2 files. How can we do?

0 Answers  


Can we use an equated value as operands for an MVC ? Reason for the same.

0 Answers   Ness Technologies,


Categories