I recently installed SharePoint 2010 on my client machine to investigate some of the BCS and Search features for a client project. SharePoint 2010 now allows a standalone installation on Vista x64 SP1 or higher and Windows 7 x64, which is a major improvement over the remote development nightmare that existed with MOSS 2007.
For instructions [...]
Action Filters are a great way to handle cross-cutting concerns in ASP.NET MVC such as Logging, ExceptionHandling, etc. In previous versions of MVC3, action filters have to be explicitly added to each controller.
MVC3 adds the concept of Global Action Filters which allow you to apply action filters globally without the need for explicit declaration. [...]
A common requirement for websites that allow user registration is the uploading of user profile images. In many cases, this can be a bother for both user and developer. The implementation of image cropping functionality has traditionally been somewhat cumbersome for developers, and users are generally pained by having to crop an image offline before [...]
There’s many cases when you may want to watermark images on your website including:
Protecting copyrighted content
Showing previews of premium content
Identifying the origin of original content
And many more..
We’ll take a look at using the Razor WebImage helper to watermark images on your website easily and efficiently.
Adding the Microsoft.Web.Helpers Library
To add the Microsoft.Web.Helpers library, [...]
I had a situation today where I have a stored procedure that is structured as follows:
1 CREATE PROCEDURE _Entity_GetByKeywordTypeDateRange(
2 @keyword varchar(255) = null,
3 @typeA bit = 0,
4 @typeB bit = 0,
5 @typeC bit = [...]
I caught a pretty awesome tip over Twitter today.
One of the annoying things about using the “Package Manager Console” in NuGet is that you’re constantly scrolling up and down the list of results. If you’re like me, and you keep your console in the lower panel in VS2010, it’s not exactly easy to see a [...]
Visual Studio 2010 has built in support for –vsdoc files, which add Intellisense support for javascript libraries. This is a great feature and is suprisingly easy to get set up.
Setting up jQuery Intellisense
Prerequisite for Visual Studio 2008 users
If you’re using Visual Studio 2008, make sure you’re as SP1 and install this patch to enable vsdoc [...]
UPDATE: Streaming Video Solution Added!!!
I’ve completed my first screencast on what’s new in MVC3, covering new features such as Razor View Engine, NuGet, and Multiple View Engine support.
I’m working on getting a streaming solution worked out, but until then, I’m including a link to download the screencast in High Definition .mp4 format. The file is [...]
I did a tech talk (an internal presentation for Tallan) on 11/30 with the intent to do a quick demonstration of the new features of ASP.NET MVC3. Unfortunately (or fortunately, depending on how you look at it), there’s are just too many new features to cover in a 45 minute presentation.
I’m writing a series of [...]
Here are the links to the material from the ASP.NET MVC 2 Primer presentation given at the 3rd Annual Hartford Code Camp on Saturday, June 19, 2010:
Powerpoint Slides: Primer.pptx
Source Code: PrimerDemoSource.zip
Disclaimer:
I have done some Very Bad Things™ in this code in order to speed up the presentation that are always considered bad practice. The most [...]