Agile

New DimeCast Is Up: Spark Partials Part 1

A new DimeCast is up Working with Partials in Spark: Part 1.

In this episode we are going to take a look at how to use Partials within the Spark View Engine.

We will be taking a first look at partials and learn how we can setup our application to use partials as well as how to use them in your application. We will also be learning how partials will allow us to create clean, compartmentalized and well organized code.

Enjoy!

Suspending Resharper 5

For those of you who don’t know, ReSharper is no longer a Visual Studio add-in. Previously if you needed to disable ReSharper for whatever reason you could do so in the Add-In Manager in Visual Studio. You no longer can. Disabling ReSharper is now termed “Suspending” it. You can suspend ReSharper from the Tools > Options > Resharper options window. Press Suspend. ReSharper will now be suspended.

I know, why would I disable ReSharper? Well, at my current client I’m working on a VB.NET ASP.NET Web Forms application which talks to Microsoft CRM through the CRM WebService and LinqToCrm. The web service proxy that gets generated is over 94,000 lines long. Thats 94,000 lines of VB.NET. When ReSharper starts to analyze that file (as well as the other VB.NET files in the app) all hell breaks loose. The IDE locks up and I can’t do a single thing. Therefore I had to suspend ReSharper while working in this project.

Here’s the crux … the only VB.NET project is the Website, all other libraries are C# (thankfully) and I want to use ReSharper. Going through the tools menu each time I need to Suspend/Resume Resharper is a royal PITA. Thankfully ReSharper gave us a key command: Resharper_ToggleSuspend to assist in toggling the suspension of ReSharper. This is not mapped to any key combo by default. What I have done is mapped it to CTRL + ALT + F6. Now when I need to turn ReSharper On/Off when I enter/leave the VB.NET project I hit the key combo and I’m back in action (or out of action in regards to turning it off). Super easy. Booyakasha.

Materials from HDC09 – Testing With Mocks Talk

Below is a link to download the Testing With Mocks lightning round talk that I gave at the Heartland Developers Conference this last week.

In order to get the samples to run you will need to have TypeMock Isolator installed. If you do not own a license you can download an evaluation for free here.

The download includes full buildable source and the presentation.

Download: TestingWithMocks_HDC09.zip (~15MB)

MDC 2009 – Presentation

For anyone who attended this years MDC 2009 and came to my presentation “ASP.NET MVC w/ Spark View Engine” knows that we had some _major_ technical difficulties. We could not get the projector to present via my laptop. To make up for this I have decided to create a screen recording of the presentation. The presentation is about 67 minutes in length and can be watched by viewing the .swf file in your browser or downloading the mp4 file.

I have also included the source code, and presentation for you to download as well.

Screen Cast of Presentation: (~67 Mins / 102 MB) Click To View  (.swf file – should play/stream in browser)

Presentation: (485K) SparkViewEngine_MDC.pdf

Code: (6MB) aspnetmvc_spark_mdc_code.zip

MDC 2009 Presentation

For anyone who attended this years MDC 2009 and came to my presentation “ASP.NET MVC w/ Spark View Engine” knows that we had some _major_ technical difficulties. We could not get the projector to present via my laptop. To make up for this I have decided to create a screen recording of the presentation. The presentation is about 67 minutes in length and can be watched by viewing the .swf file in your browser or downloading the mp4 file.

I have also included the source code, and presentation for you to download as well.

Screen Cast of Presentation: (~67 Mins / 102 MB) Click To View  (.swf file – should play/stream in browser)

Presentation: (485K) SparkViewEngine_MDC.pdf

Code: (6MB) aspnetmvc_spark_mdc_code.zip