Introduction In this post we are going to take a look at some of the events that are raised by various parts of the Microsoft ADO.NET Entity Framework (EF). I’m using the recently released Beta 1 of Visual Studio 2010 / .Net Framework 4.0 for this demo but most of the information also applies to … Continue reading Entity Framework (EF) – Events
.Net Framework
NTier with Entity Framework (EF) 4 Beta 1 – (VS2010 / .Net 4.0 Beta 1)
Introduction My blog has been feeling very neglected after my move to the US and I thought with the recent release of Visual Studio 2010 / .Net Framework 4.0 Beta 1 it would be a good time to get back into a regular blogging rhythm. So for the first post I thought I’d run through … Continue reading NTier with Entity Framework (EF) 4 Beta 1 – (VS2010 / .Net 4.0 Beta 1)
Emailing an SSRS Report using ReportViewer
Introduction SQL Server Reporting Services (SSRS) is Microsoft’s offering in the reporting space, if you install SSRS as part of a SQL Server install you get a nice web front end through which users can navigate and view reports. But SSRS is not restricted to this online portal style access, reports can be embedded into … Continue reading Emailing an SSRS Report using ReportViewer
Programmatic ASP.Net Post Back
Introduction This post is somewhat related to my last post that discussed using the Web Dev Server, that ships with VS, to hit ASP.Net web pages from a unit test. In this post I’m going to cover how to fake a user initiated post back from C# code, this example will mimic a button click … Continue reading Programmatic ASP.Net Post Back
ASP.Net Website Tests using Web Dev Server
Introduction One of the great features that came with VS2005 was the Web Dev Server which allows us to run and debug web applications on our development box without the need to install IIS. As with most cool gadgets used by Visual Studio the web dev server is actually also a standalone component that we … Continue reading ASP.Net Website Tests using Web Dev Server
SSRS Custom Code (Expressions, Embedded Code & External Assemblies)
Introduction In this article we will look at the options for using custom .Net code in our Microsoft SQL Server Reporting Services (SSRS) reports. This post assumes you have a working knowledge of SSRS. There are three main ways to use code to help generate our reports, in increasing order of complexity (and therefore flexibility) … Continue reading SSRS Custom Code (Expressions, Embedded Code & External Assemblies)
Adjusting WCF default message limits
Introduction So if you are reading this post you’ve probably discovered that when publishing a WCF service there are certain default limits imposed on the messages being sent and received. For example arrays are limited to 16384 elements, strings are limited to 8192 characters and the total message is limited to 64K. Now of course … Continue reading Adjusting WCF default message limits
Programmatically generating web service calls
Introduction I recently wanted make a call to a third party web service without the use of a proxy class. The code shown in this post will allow you to programmatically build and submit a web service call using the HttpRequest class. Import Namespaces Add the following lines to import the required namespaces Build an … Continue reading Programmatically generating web service calls
Transmitting Images in WCF – Databinding Images in WPF
Introduction This was an interesting scenario I came across; I had a WPF application consuming a WCF service that was returning information about employees. I needed to add the ability to display a thumbnail photo of the employee. The thumbnails in question were stored alongside the other employee data in an MSSQL 2005 database using … Continue reading Transmitting Images in WCF – Databinding Images in WPF
WPF Databinding Overview
Introduction Data binding in WPF seems to be much like skinning a cat (although hopefully a lot less painful… for the cat at least), there is usually more than one way of achieving the result you want. The purpose of this blog is to quickly detail some of the many ways you can bind data … Continue reading WPF Databinding Overview