Category Archives: Enterprise .NET

.NET File Compression in Memory

File compression is nothing new to .NET.  However, in many solutions it requires the developer to establish a file folder which they will write the compressed file to and later read from.
This solution cannot work if you want to compress and use the file in memory without writing to disk.  An example of this [...]

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

Modularizing .NET Training Part 2

In our previous post we introduced the idea of sub-modularizing our training modules. In the course of developing for this blog posting our focus shifted to a bigger picture for this type of training.  Instead of presenting the differences between training in ASP.NET and MVC, we are now focused on proper architecture of an application, [...]

Also posted in .NET Framework | Leave a comment

Using Table Valued Variables instead of Dynamic SQL

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

Also posted in Business Intelligence, SQL Server | Tagged , , | Leave a comment

Display NuGet Console Results in a new Window

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

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

Screencast Completed: What’s new in MVC3–Part 1: Framework and Tools

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

Also posted in .NET Framework, Presentations | 3 Comments

What’s New in ASP.NET MVC 3

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

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

Identity Developer Training Kit and an issue with missing dependencies

If you are learning about Windows Identity Foundation, you should install these components in the following order:

WIF runtime
WIF SDK
Identity Developer Training Kit

Note that there is a version of the SDK and Training Kit for Visual Studio 2008 SP1 (.NET 3.5) and one for Visual Studio 2010 (.NET 4.0.)
Note: Side by side installation of the WIF [...]

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

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 , , , | 6 Comments