Back to Basics – ASP.NET Page State Persister

April 28, 2009

Back to Basics – ASP.NET Page State Persister Yesterday I was consulting at a client. The main problems that the client currently has are performance issues. One of the problems I found was the abuse of ViewState without knowing the consequences. I was trying to reduce the ViewState for the pages and because of the spaghetti code of the client’s application I had no...
2 comments

Pro ADO.NET Data Services Book Review

April 22, 2009

Pro ADO.NET Data Services Book Review Lately I’ve been reading a lot. One of the books that I read is Pro ADO.NET Data Services - Working with RESTful Data from Apress which I’ll review in this post. Review The book isn’t long, its about 300 pages and has four major parts: ADO.NET Data Service Fundamentals ADO.NET Data Services in the Real World ADO.NET Data...

Starting a New Journey

April 21, 2009

Starting a New Journey As I wrote in a previous post, I left SRL Group, the company I worked for in the last two and a half years. Next week I’m starting a new  journey as a senior consultant and .Net instructor in E4D Solutions company. E4D Solutions company specializes in providing training services, consulting and developing in Microsoft technologies, products and tools. ...
6 comments

Making Cross-Domain Ajax Requests for a Data Service

April 20, 2009

Making Cross-Domain Ajax Requests for a Data Service One problem that exists when using ADO.NET data services is cross-domain requests. For security reasons, XMLHTTP requests don’t allow cross-domain HTTP requests. So what can we do if we want to make an Ajax call for a data service that isn’t located in our domain? this post will try to give a solution to this problem. Making a Cross-Domain Ajax Request for a Data Service As stated early in the post’s start, for security reasons, XMLHTTP requests don’t allow cross-domain HTTP requests. But sometimes we do want to consume data services that aren’t...

ADO.NET Entity Framework Extensions Library

April 10, 2009

ADO.NET Entity Framework Extensions Library As part of the MSDN Code Gallery you can find the ADO.NET Entity Framework Extensions library. The ADO.NET Entity Framework Extensions includes “utilities that make querying stored procedures, creating typed results from DB data readers and state tracking external data much easier in the Entity Framework. A sample application demonstrates several patterns using these utilities, including stored procedures...

Index Pages on My Blog

Index Pages on My Blog Lately, I received an e-mail from a reader of my blog which included an advice to make an index for my post series. I took his advice and made 3 index pages for the following subjects: ADO.NET Data Services ADO.NET Entity Framework Unity Application Block These index pages will be updated frequently whenever a new tutorial post will be added. Also, I’m going to add more index pages in the future for more post series. Thanks Marcellus. Enjoy!

Supporting Stored Procedures that Return Primitive Types in Entity Framework

April 3, 2009

Supporting Stored Procedures that Return Primitive Types in Entity Framework One drawback of Entity Framework designer is that it does not generate code in the object context for function imports of stored procedures that return a primitive type. This post will explain how to achieve this functionality up until the designer will support it in the next release of Entity Framework. Supporting Stored Procedures that Return...

Entity Framework Mapping Helper

Entity Framework Mapping Helper Entity Framework Mapping Helper is a very useful tool that was written by the Entity Framework team and can help you to get started with various of mappings scenarios. “Entity Framework mapping helper lets you create sample mapping files for the set of scenarios you are interested in. It’s a great tool for a deeper understanding for how schema files are defined for complex...

Creating Complex Types in Entity Framework

April 2, 2009

Creating Complex Types in Entity Framework The following post will explain what are complex types in Entity Framework and how to use them. What are Complex Types? Complex types are a way to encapsulate a set of entity’s properties inside a structure which isn’t an entity. You use them to organize properties into structures that make your design more understandable. For example, you can have a Customer entity which has properties that make...

Who Develop the Developers?

Who Develop the Developers? Sometimes I find myself wondering about the title’s question. During the years that I’m developing software I found out that this question isn’t trivial but holds a very  simple answer - you should. When I was a junior developer, my team leader gave me three books and said that my first mission is to read these books and then after three weeks he’ll give me my first assignment. As you expect, I read the books and got my first assignment. But something was missing. I didn’t get any help in the assignment even though I had...
4 comments