Category Archives: Enterprise .NET

Using Atalasoft DotImage to create blank Tiff image

Atalasoft DotImage is a great library for working with all kinds of images. I recently had the need for a Tiff image which met the following specification:
300 x 300 dpi
Print at regular letter size (8 1/2 x 11)
Encoded using Group 4 compression
I created this Tiff file using only the following 5 lines of code:

AtalaImage atalaImage [...]

Also posted in .NET Framework, Uncategorized | Tagged | Leave a comment

Multi Tenant Architecture via Dependency Injection: Part 3

Using Ninject and Dependency Injection to enhance your ASP.Net MVC application’s Multi-Tenant Application.

Also posted in .NET Framework, General | Tagged , , , | Leave a comment

Multi Tenant Architecture via Dependency Injection: Part 2

Using Ninject and Dependency Injection to enhance your ASP.Net MVC application’s Multi-Tenant Application.

Also posted in .NET Framework, General | Tagged , , , | 3 Comments

Multi Tenant Architecture via Dependency Injection: Part 1

Discover how to use Inversion of Control and Dependency Injection to enhance your web application’s Multi-Tenant Application.

Also posted in .NET Framework, General | Tagged , , , | 2 Comments

Intro to PLINQ

I recently had the opportunity to attend the Microsoft launch event for the new Visual Studio 2010. I was impressed with everything 2010 is bringing to the table, but what really caught my eye is the new Parallel FX library. Parallel FX provides developers with a set of tools which promises faster and [...]

Also posted in .NET Framework | Tagged , , , | Leave a comment

Learning WPF

As a .net developer that has recently spent over a year helping to design and build a SCSF winforms application, I have been looking to branch out into different techniques and technologies to improve my skill set.  With Visual Studio 2010 coming out, the latest support for WPF and a push, by Microsoft, toward its [...]

Also posted in General | Leave a comment

Handle asp.net MVC session expiration

Here is a really simple way to handle a session expiration in asp.net MVC using a base controller.  Having all controller inherit from a basecontoller and overriding the OnActionExecuting event allows for checking the session before all actions are executed.
Here is the code

public class BaseController : Controller

{

protected override void OnActionExecuting

[...]

Also posted in .NET Framework | Tagged | Leave a comment

EF4 and WCF Data Services presentation materials from Hartford Code Camp 3

As some of you know, I presented on Entity Framework 4 and WCF Data Services 4 at Hartford Code Camp back on June 19th. I have posted the material from the code camp here.

Also posted in .NET Framework, Presentations, User Groups, WCF | Tagged , , , , , | 1 Comment

ASP.NET MVC Primer – Presentation Materials

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 [...]

Also posted in .NET Framework, Presentations, User Groups | Tagged , , | 3 Comments

S#arp Architecture

I have been doing some work and research with ASP.NET MVC 2.0.  My first interest was to try to figure out how to get Dependency Injection working with ASP.NET.  I started doing investigating how to link in Springframework.net.  This direction led me down a track that required some manual configuration.  This is when i found [...]

Posted in Enterprise .NET | Tagged , , | Leave a comment