Difference between abstract factory pattern and factory
method pattern in .NET with example.
Answer Posted / nitin
Abstract factory pattern is used when you do not want the user to change the existing factories, instead allow him to plugin his factory class to create abstract object. Aim is to keep default framework from changing.
Factory method is used when you give the control of the entire framework to user, and he can add new methods to the factory (inorder to create new object type)
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Explain the Session state management options available with ASP.NET?
What is enableviewstate in asp net?
What is _dopostback in asp net?
What is the purpose of session management?
Explain the difference between dataset and datareader.
In which event of the page life cycle, is the viewstate available?
What is session in web technology?
how can create login from create and written conde in asp.net
What is asp.net and its advantages?
What New Features comes with ASP.NET Web API 2.0?
How to manage different kinds of sessions in ASP.NET?
If we remove web.config or machine.config from the application then, is this application will works?
Explain the asp.net mvc request life cycle? : asp.net mvc
How many types of sessions are there in asp net?
Explain the concept of MVC Scaffolding?