Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying ASP.NET 3.5 Social Networking
  • Table Of Contents Toc
ASP.NET 3.5 Social Networking

ASP.NET 3.5 Social Networking

By : Andrew Siemer
4.1 (10)
close
close
ASP.NET 3.5 Social Networking

ASP.NET 3.5 Social Networking

4.1 (10)
By: Andrew Siemer

Overview of this book

Table of Contents (19 chapters)
close
close

Factory pattern using StructureMap


We discussed the factory pattern (under the Factories section) to help us in our efforts for loosely coupled objects of our application. We have also said that we plan to use a Test- Driven Development process. In order to achieve both of these easily, we will be using a framework called StructureMap. Get more information on http://structuremap.sourceforge.net/Default.htm. StructureMap is a dependency injection framework. Its primary goal is to help us to reduce the mechanical costs of good object-oriented design. It also helps us to have a more flexible application for testing purposes.

StructureMap is very easy to use. I have mostly covered how to get it set up in Appendix A at the end of the book. But if you don't want to read that now, I will give you a down and dirty here. Once you have downloaded the StructureMap files, add them to your bin directory. Then add a reference to the StructureMap in your projects. Add an XML file to your solution and share...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
ASP.NET 3.5 Social Networking
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon