Bernie Cook's Blog

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


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.

Advertisements


Leave a comment

Book Review: “Professional ASP.NET MVC 4”

Professional ASP.NET MVC 4A few months after the official release of MVC 4 I decided to go hunting for an MVC 4 book that was less of an introduction to MVC 4 and written more for the seasoned MVC developer. I’d recently delivered an MVC 3 solution so was looking to work my way through a MVC 4 book that was (a) written by some respected authors, (b)  would provide a comprehensive guide to the latest iteration of this particular framework, (c) draw attention to those features new to version 4, and (d) provide a structure that easily permitted me to skim over the more familiar concepts.

So I did some research and ended up purchasing Wrox’s Professional ASP.NET MVC 4 by Jon Galloway, Phil Haack, Brad Wilson and K. Scott Allen. Having recently finished it I thought I’d share a review for the benefit of those who are in a similar situation to myself several months ago. Continue reading


1 Comment

Web API is the New WCF

Mads Kristensen is a Program Manager at Microsoft and during his Tech Days 2012 talk on “What’s new in ASP.NET 4.5 + Visual Studio 11” he made a statement that “Web API is, kind of, the new WCF” – it’s about an hour in if you want the exact spot. Putting the “kind of” part to the side for the moment, this is something of interest as two key questions I ask myself, out of many that I consider when designing a new Microsoft solution, are (1) have I identified the right technologies, i.e. MVC, SQL, Azure, etc. and (2) what type of commitment is Microsoft making to the technologies I’ve chosen. Continue reading


Leave a comment

ASP.NET MVC 4 Beta – TechDays 2012 Video

Scott Gu gave a talk at TechDays 2012 this week (end Feb 2012) and covered a lot of new features being released as part of ASP.NET MVC 4.  The talk runs for just over 1 hour and 15 minutes and covers the main highlights currently available in the ASP.NET MVC 4 Beta (22.8MB), currently available for download.

This is yet another round of updates Microsoft is making to one of it’s key frameworks and it was an exciting talk to watch … well for the geeks anyway. Continue reading


Leave a comment

Adding reCAPTCHA to an ASP.Net Website

I recently implemented a reCAPTCHA control into an ASP.NET website (a Windows Azure web role to be exact) and it was so incredibly easy I thought I’d write a post about it.

In the event that you don’t know what a reCAPTCHA control is Google’s official reCAPTCHA website describe it as:

A CAPTCHA is a program that can tell whether its user is a human or a computer. You’ve probably seen them — colorful images with distorted text at the bottom of Web registration forms. CAPTCHAs are used by many websites to prevent abuse from “bots,” or automated programs usually written to generate spam. No computer program can read distorted text as well as humans can, so bots cannot navigate sites protected by CAPTCHAs. – “What is reCAPTCHA

Continue reading