1

Does MS have a sample enterprise application that demonstrates the use of different Enterprise library blocks (Logging, Dataaccess, Exception, Validation etc)?

I am looking for something that uses best practices in using and integrating all these blocks in a single application.

3 Answers 3

2

I'm not aware of one grand, overarching sample application that shows everything about Enterprise Library.

In terms of fairly straight forward use of the blocks, I recommend installing the source code and taking a look at the Quickstarts that come along with Enterprise Library. It will show many common scenarios, how to use the block and how to set up the configuration. Some of the scenarios will have integration aspects (e.g. Exception Handling block using the Logging block).

Across most of the blocks, Enterprise Library is very flexible so that it can cover a wide variety of usage scenarios. Unfortunately, this also means that there are many ways you can use the blocks. e.g. when using the logging block you need to define your categories (what categories make sense for your application?), will you even use priority, etc. For many of these decisions there is no right or wrong or "best" answer. For many choices it could be personal preference or a specific requirement that needs to be addressed. For example, I rarely see a need for using the Exception Management Block but I can imagine scenarios where it would offer some value.

Sign up to request clarification or add additional context in comments.

Comments

0

Have you tried this:Hands-On Labs for Enterprise Library 4.1

1 Comment

Yes. I am looking for a sample enterprise app (something like StockTrader for WCF) that uses the Enterprise Library
0

I came across this one recently - have you checked out Kigg on CodePlex, which uses the following:

  • ASP.NET MVC
  • Linq To SQL or Entity Framework
  • MS Patterns & Practices – Enterprise Library (Logging & Caching)
  • MS Patterns & Practices - Unity
  • jQuery

1 Comment

Is there any other open source application which is using enterprise library? I could not find one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.