December 22, 2008
.NET Zone's Top 10 Articles of 2008 Today I opened DZone, one of my favorite developer sites, and looked at the .NET zone top 10 articles of 2008 post which was published recently by Alvin Ashcraft. For my surprise, five of ten articles were my own. I hope to continue and write interesting materials for you to read.
December 19, 2008
Creating Associations Between Objects in ADO.NET Data Services In today’s post I’m going to show how to create an association between two objects from a ADO.NET Data service .NET client and how simple it is. Creating Associations Data services expose resources (entities) and links (associations). When we generate a .NET client proxy the links (associations) are built as properties of the objects. When we associate an object to...
December 16, 2008
When Good Developers and Bad Code Collide
I’m currently working on a major project in Bank Hapoalim. The project is a mortgage pre and post sale web application which was written five years ago and as such is full of legacy code. Also, I can tell that the project was badly designed. Two years ago I started to work there with a new team and we had a primary secretmission – clean the code from the horrors we saw there. Also, we tried and succeeded to build a standard architecture and infrastructure from the rubbish that was there before. In...
My Developer Academy Experience Yesterday I participated in the Microsoft Developer Academy 3 conference. Microsoft Developer Academy is an annual Microsoft Israeli developers conference which is dedicated to deliver knowledge about current technologies and about best practices. I went to the following sessions: ASP.NET Ajax Internals, Dan Amiga. Great lecture! Dan is a great performer and the subject isn’t easy to deliver… (Try...
December 5, 2008
Eager Loading and Lazy Loading in ADO.NET Data Services
In today’s post I’m going to explain how to achieve eager loading and lazy loading functionality with ADO.NET data services .NET clients.
What are Eager Loading and Lazy Loading?
Lazy loading is a design pattern that is commonly used to defer initialization of an object up until it is needed by the program. The gains of using the pattern include efficiency (if it’s used right) and sometime performance. Eager loading is the opposite pattern of lazy loading. In this pattern we initialize the object before hand and don’t wait to the second we...
December 3, 2008
Building a Host for ADO.NET Data Service
After you built your data service you will probably want to deploy it. In the following post I’m going to explain how you can build a simple host for an ADO.NET data service without the use of svc file.
Data Service Hosting
The ADO.NET data services are not autonomous server entities. They live in the context of their service host such as WCF or ASP.NET. The data service host is handling the direct interactions with the network and supports caching, scalability and authentication modules for the data service.
The first thing to know if...
ADO.NET Data Services Slide Deck
Today I had an ADO.NET data services session in the The Israel Visual Basic User Group (IVBUG). The session agenda:
Why ADO.NET Data Services at All?
Data Services Architecture in a Nutshell
Creating and Consuming Data Services
As promised the slide deck and demos (in C# and in VB) can be downloaded from here. I want to thank Jackie Goldstein for the opportunity to lecture in IVBUG. Also, I want to thank all the participants of the session. I really had a good time.
P.S. – a backup of the database that I used in the...