Bernie Cook's Blog

Azure, C#, .NET, Architecture & Related Tech News


Leave a comment

Put ReSharper In Your Toolbox

ReSharperReSharper, the productivity tool which extends the Visual Studio IDE, is one development tool that I would certainly not want to live without. It’s one thing to have a strong skill set and another to compliment it with a great set of tools.

I’d seen ReSharper in action a number of times back in early 2012 but was never sold on it – I mean Visual Studio is an amazingly rich IDE, how could you ever hope to make it better? Well JetBrains (the minds behind ReSharper) have done just that. ReSharper is designed as an extension to Visual Studio providing an array of productivity benefits for both teams and individual developers.

I’m conscious that by now I’m starting to sound like a salesman, but do bear with me. What I’ve done is bundle together a few ReSharper features in this post. Hopefully it’s enough of a introduction to convince you of it’s necessary place in your toolbox. Continue reading

Advertisements


5 Comments

Repository Caching with Aspect Oriented Programming

Repository Caching with Aspect Oriented ProgrammingThis post provides a walkthrough of how to implement basic cache handling at the repository layer using Aspect Oriented Programming (AOP). I’ve chosen PostSharp’s AOP framework and built a relatively simple Domain-Driven Design (DDD) solution in .NET to illustrate how it all ties together.

I want delve into too much AOP detail up front other than to reiterate the usual AOP pitch – that it’s an incredibly useful programming paradigm which addresses cross-cutting coding concerns within application development. What does that mean in English? Once you’ve mastered the basic AOP terminology and implementation requirements you can use it to remove a lot of duplicate code that appears throughout your solution. If you’re not familiar with AOP then take a quick moment to watch one of PostSharp’s many introductory screencasts or browse through their documentation. Keep in mind that AOP isn’t OOP as you work your way through the following code, it complements OOP extremely well but doesn’t follow object-oriented principles. Continue reading


Leave a comment

Free eBook: 50 Ways to Avoid, Find and Fix ASP.NET Performance Issues

50 Ways to Avoid, Find and Fix ASP.NET Performance IssuesRedgate just released a free ASP.NET eBook which contains 50 highly condensed, and highly practical, ASP.NET performance tips spanning a number of related topics; ORM, MVC, LINQ, SQL, async, string manipulation etc. Worth mentioning is that all of the tips came from developers in the .NET community.

The eBook can be downloaded in PDF format, and all it requires is your name, email and a number.

I’m a big fan of reading abbreviated “best of” tips on any framework in the Microsoft web stack and was quite impressed with the content and it’s presentation. I’d highly recommend this to any junior to intermediate-level ASP.NET developers.