Microsoft Enterprise Library: Caching Application Block

| 0 comments

This is a a second article on the topic of the Microsoft Enterprise Library. If you have not read the previous article titled Microsoft Enterprise Library: Data Access Application Block, I recommend you do so. Introduction to the Caching Application Block The Enterprise Library Caching Application Block lets developers incorporate a local cache in their applications. It supports both an in-memory cache and, optionally, a backing store that can either be the database store or isolated storage. The Caching Application Block can be used without modification; it provides all the functionality needed to retrieve, add, and remove cached data. Configurable expiration and scavenging policies are also part of the block. If you have been working with caching outside the Enterprise Library, I believe you will find this application block extremely powerful and easy to use. If you have not taken on the subject of caching before, I believe you also will find this easy to pick up and ultimately boost the performance of your applications. The Enterprise Library Caching Application Block includes the following features: You can use the graphical Enterprise Library configuration tools to manage configuration settings. You can configure a persistent storage location, using either isolated storage or …

Continue reading

Microsoft Enterprise Library: Data Access Application Block

| 0 comments

For those of you who have been using the Enterprise Library from Microsoft then I tip my hat to you. I admit that I have not used this library for a number of years and in most cases the reason is because I have honestly not been in a position to do so. It is a long story so don’t ask. There are a number of reason why you should seriously consider the use of the Enterprise Library and I cannot think of any better reason than those provided directly from Microsoft. The goals of Enterprise Library are the following: Consistency. All Enterprise Library application blocks feature consistent design patterns and implementation approaches. Extensibility. All application blocks include defined extensibility points that allow developers to customize the behavior of the application blocks by adding their own code. Ease of use. Enterprise Library offers numerous usability improvements, including a graphical configuration tool, a simpler installation procedure, and clearer and more complete documentation and samples. Integration. Enterprise Library application blocks are designed to work well together or individually. Now that the groundwork has been laid let us get started. Introduction to the Data Access Library The Data Access Application Block includes a …

Continue reading

UML Modeling and Visual Studio .NET 2010

| 2 Comments

First things first. If you have been living under a rock you may be surprised to learn that Visual Studio .NET 2010 RC is available for download. I have been looking at this IDE since the public beta was made available and the release candidate is fast and stable. Give it a spin for yourself. Microsoft even released a Visual Studio 2010 and .NET Framework 4 Training Kit just a few days ago that presentations, hands-on-labs, and demos. UML is not my favorite activity of software development but it is none the less important and Microsoft has made great strides with the integration of modeling and the Integrated Development Environment (IDE). If you stop and think out it for a moment you may realize that you can lower cost when it comes to purchasing third party modeling tools. However, only you can determine what works best in any given situation and if you are just beginning a project then you may want to rationalize the modeling capabilities of this next generation IDE. To start open the IDE and select “New Project” and choose “Modeling Projects”. Once you have completed this step you will notice this newly established project within the solution. …

Continue reading

Best Practices: Visual Studio .NET Project Naming Standards

| 0 comments

If you have not adopted a best practice when it comes to naming your solution and projects within Visual Studio .NET, I urge you to take a moment a think about this subject. As anyone will tell you best practices are worth their weight in gold and why would anyone not want to review what others has determined that works? By doing so you are not doomed to make the same mistakes. I believe a great place to start is the .NET Framework Class Library itself. By looking at this framework you will notice that the namespaces are grouped by commonality therefore you can apply the same thoughts to your projects. An unexpected perk of adopting this type of thought is you will now be promoting code re-use and efficient separation of logic. Face it, anything that reduces complexity and increases productivity is well worth the thought. Assume for a moment that you have the following components: Business Logic Data Access Common Logic Exception Management Utilities In most cases this holds true for any application. To break these out within Visual Studio .NET as meaningful projects I suggest following the standard format of companyname.tier and this helps immensely in keeping …

Continue reading

Professional Developer Conference (PDC) 2009

| 0 comments

Unfortunately I was not able to attend PDC2009 but I am keeping track with friends that I know who were as well I am keeping tabs on the speakers such as Scott Hanselman and Scott Davis,  via Twitter. Here are a number of topics that I find interesting and possibly you will also: Reactive Extions for .NET (Rx) ASP.NET MVC Beta 2 Windows Server AppFabric Windows Azure Tools and SDK Visual Studio .NET Functional Testing Open Data Protocol (OData) Be sure to visit Channel 9 and PDC2009 (which is streaming live) for further breaking news and for you folks in LA, keep the tweets a flowing. Update 18-NOV Microsoft Codename “Dallas” Microsoft Pinpoint Windows Identity Foundation Download Microsoft Sync Framework Power Pack for SQL Azure November CTP Download trials of Windows Server 2008 R2 and System Center Virtual Machine Manager 2008 R2 Details SharePoint 2010 Public Beta is now available for download Microsoft Silverlight Media Framework