Omar AL Zabir blog on ASP.NET Ajax and .NET 3.5

Working hard to enrich millions of peoples' lives

Sponsors

News

I am
Co-Founder and CTO of Pageflakes, acquired by LiveUniverse - founded by MySpace founder.

My Public Page
www.pageflakes.com/omar

View Omar AL Zabir's profile on LinkedIn

Read my blog on:

Omar AL Zabir

www.oazabir.com



Views:

Articles

Open source projects

Browse by Tags

All Tags » C# (RSS)
Simple way to cache objects and collections for greater performance and scalability
Caching of frequently used data greatly increases the scalability of your application since you can avoid repeated queries on database, file system or to webservices. When objects are cached, it can be retrieved from the cache which is lot faster and...
Posted: Nov 01 2009, 10:43 PM by oazabir | with 2 comment(s)
Filed under: , ,
AspectF fluent way to put Aspects into your code for separation of concern
Aspects are common features that you write every now and then in different parts of your project. it can be some specific way of handling exceptions in your code, or logging method calls, or timing execution of methods, or retrying some methods and so...
Posted: Sep 19 2009, 04:58 PM by oazabir | with no comments
Filed under: ,
Web 2.0 AJAX Portal using jQuery, ASP.NET 3.5, Silverlight, Linq to SQL, WF and Unity
Dropthings – my open source Web 2.0 Ajax Portal has gone through a technology overhauling. Previously it was built using ASP.NET AJAX, a little bit of Workflow Foundation and Linq to SQL. Now Dropthings boasts full jQuery front-end combined with ASP.NET...
Posted: Apr 09 2009, 01:32 AM by oazabir | with 1 comment(s)
Filed under: , , , , , ,
Memory Leak with delegates and workflow foundation
Recently after Load Testing my open source project Dropthings , I encountered a lot of memory leak. I found lots of Workflow Instances and Linq Entities were left in memory and never collected. After profiling the web application using .NET Memory Profiler...
Posted: Mar 14 2009, 04:37 PM by oazabir | with 4 comment(s)
Filed under: , , ,
Linq to Sql solve transaction deadlock and query timeout problems using uncommitted reads
When your database tables start accumulating thousands of rows and many users start working on the same table concurrently, SELECT queries on the tables start producing lock contentions and transaction deadlocks. This is a common problem in any high volume...
Strongly typed workflow input and output arguments
When you run a Workflow using Workflow Foundation, you pass arguments to the workflow in a Dictionary form where the type of Dictionary is Dictionary<string, object> . This means you miss the strong typing features of .NET languages. You have to...
Linq to SQL: Delete an entity using Primary Key only
Linq to Sql does not come with a function like .Delete(ID) which allows you to delete an entity using it’s primary key. You have to first get the object that you want to delete and then call .DeleteOnSubmit(obj) to queue it for delete. Then you have to...
Posted: Oct 30 2008, 01:22 PM by oazabir | with 4 comment(s)
Filed under: , ,
Solving common problems with Compiled Queries in Linq to Sql for high demand ASP.NET websites
If you are using Linq to SQL, instead of writing regular Linq Queries, you should be using Compiled Queries . if you are building an ASP.NET web application that’s going to get thousands of hits per hour, the execution overhead of Linq queries is going...
Posted: Oct 28 2008, 02:24 AM by oazabir | with 6 comment(s)
Filed under: , , ,
Desktop RSS Feed Aggregator client with Outlook Integration
Back in 2005, I built an open source RSS Feed Aggregator Desktop client which has been quite popular since its release. It has 48,672 downloads so far. From the activity I see on sourceforge statistics, it's being used about 20,000 times per day. http...
Posted: Feb 05 2008, 07:10 PM by oazabir | with no comments
Filed under: ,
Linq to SQL: How to Attach object to a different data context
After upgrading to Visual Studio 2008 RTM, you will have trouble updating Linq to SQL Classes which are read from one data context and then updated into another data context. You will get this exception during update: System.NotSupportedException: An...
Posted: Dec 08 2007, 07:00 PM by oazabir | with 10 comment(s)
Filed under: , ,
More Posts Next page »