Entity Framework Code First Caching

As I was playing around with Entity Framework code first and ASP.NET MVC, it became pretty obvious that caching of some of the EF query results would be pretty handy.  For example, if you look at my post that includes a simple ASP.NET MVC blogging application, you could see that I have to keep fetching …

Continue reading ‘Entity Framework Code First Caching’ »

Repository Pattern with Entity Framework

Repository pattern is a popular architecture pattern that is used to create data access code / layer for an application.  Basic principal behind the pattern is that business object in your application never talks to database directly, but instead talks to repository that takes POCO classes and also returns POCO classes as results of a …

Continue reading ‘Repository Pattern with Entity Framework’ »

Hosting WCF Data Services on Third Party Hosting Provider

Today I am going to talk about how to create a WCF Data Service and host it using a hosting provider.  My specific example will be using GoDaddy (www.GoDaddy.com).  This is the site where I host my blog.  I already posted on this topic, but was using Azure instead.  If you have a subscription to …

Continue reading ‘Hosting WCF Data Services on Third Party Hosting Provider’ »

CodeStock – Voting for Sessions is Now Open

The CodeStock website is now open for registrations and the voting on sessions has begun.  Selections will be announced after March 21st, 2011. I submitted a number of sessions.  If you would like to see me speak at CodeStock, vote for my sessions please. Here is my full list: Using Code First (Code Only) approach …

Continue reading ‘CodeStock – Voting for Sessions is Now Open’ »

Enterprise Library Database Logging and TransactionScope

I have recently worked on a project that was using enterprise library logging capabilities.  Enterprise Libiary information can be viewed on pattern and practices web site.  These library includes a number of useful components,  The one I am going to cover here is database logging capabilities. Logging features allows an application to be configured to …

Continue reading ‘Enterprise Library Database Logging and TransactionScope’ »

Working with Data on Windows Phone 7 – Part 2

In this part I am going to use WCF Data Services (formerly known as project Astoria and ADO.NET Data Services) to accomplish the same couple of tasks I did in WCF custom service.  I am going to get a list of people and add a person. I will use exact same project as I did …

Continue reading ‘Working with Data on Windows Phone 7 – Part 2’ »

Quick Start Guide for Windows Phone 7 Database

I have a CodePlex project for Isolated Storage based database for Windows phone 7.  You can check out this project at http://winphone7db.codeplex.com/   First step is to download the project and build it on your copter.  Visit the download page for the latest recommended download.  Unzip the source code on your machine, open it up …

Continue reading ‘Quick Start Guide for Windows Phone 7 Database’ »

Working with Data on Windows Phone 7 – Part 1

I am starting a short series of blog posts that will go over various techniques of working with data on Windows Phone 7.  I am going to create a Silverlight application for the phone that gets local and remote data in a number of ways. I this first post I will build a WCF service …

Continue reading ‘Working with Data on Windows Phone 7 – Part 1’ »