concept basic in category .net

appears as: basics, basics, The basics
AOP in .NET

This is an excerpt from Manning's book AOP in .NET.

I’ll be using Visual Studio and PostSharp. Both Visual Studio 2010 and Visual Studio 2012 should work fine. Visual Studio Express (which is a free download) should work, too. I’m also using NuGet, which is a great package manager tool for .NET that integrates with Visual Studio. If NuGet is not part of your arsenal, you should definitely download it from NuGet.org and install it. It will make your life as a .NET developer much easier. Appendix B outlines the basics of NuGet, but you can read more about it at NuGet.org.

We’ll get to some examples of real behavior that you might want to use in an aspect later in this chapter. For now, let’s write to Console to demonstrate the basics. To start adding some intercepting behavior with PostSharp, override the base class’s OnInvoke method:

Entity Framework 4 in Action

This is an excerpt from Manning's book Entity Framework 4 in Action.

You’ve learned the basics of data access using ready-to-use structures like datasets and data readers, and why they’re used in some environments and discouraged in others. In scenarios where tabular structures aren’t applicable, an object/domain model is the obvious replacement, because the use of classes lets you take advantage of the power of object-oriented programming.

Now that you’ve designed the first piece, it’s time to move on to the second requirement: the products. Most of the considerations we made for the customer and supplier are valid in this situation too. There are little differences, but you’ll find that creating the model and mapping it in this scenario is quite easy, now that you have learned the basics.