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...

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


Please Help Members By Posting Answers For Below Questions

What is jade template engine?

1034


What is tracing? Where is it used?

1161


What is the asp.net control toolkit?

1067


What are navigation controls? How many navigation controls are there in ASP.NET 4.0?

948


Explain the boxing and unboxing concept in .net?

854


How to you can limit Access to Web API to Specific HTTP Verb?

1179


what are the ihttphandler and ihttphandlerfactory interfaces ?

938


What is Web API?

1155


How to prevent client side validation from the ASP.NET validation controls?

1093


What do you mean by serialize?

969


How does asp page work?

975


Explain client-side scripting?

974


Explain the procedure to handle the process request using mhpm events fired? : asp.net mvc

992


Can we use MSSql as backend in asp.net...if yes then How.?

1031


What parameters can you pass in the url of the api? Can get and post use the same url?

984