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
What is difference between inproc and outproc?
What are the advantages of Web API?
What symbol specifies the beginning of a query string?
Can we have 2 web config files?
What is use of <% %> in asp.net?
Explain the Order of events in an asp.net page?
How can you enable impersonation in the web.config file?
To bind columns manually which tags do you need to add within the asp:datagrid ?
What is the main differences between asp and asp.net?
i develop a web application and i gave security setting i.e autherization and athentication now it work properly on my local system , now question is ,is this security setting ie autherization and athentication which i gave in web.config will it be enough strong to secure my application on internet or i have to use some 3rd party tool or software to get security .if yes --how ? if no--what is the alternate?
What is the parent class of all web server control?
Explain the difference between mvc (model-view-controller) and mvp (model-view-presenter)? : asp.net mvc
Define secured sockets layer.
What is boxing and unboxing in asp.net?
How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?