March 2009 - Posts

Programmatically generating SQL(DDL) from M by Mehfuz's WebLog

In this post, i will show how you can generate SQL programmatically from M. Now, so far i have learnt that MGrammer is a contract that converts user’s input into MGraph. Now, Oslo by default comes with MSchema. Through MSchema you can define a type and...
Filed under: , ,

Implementing Audit Trail using Ado.net Entity Framework : Part -1 by Morshed Anwar's Blog

Entity framework keeps track for those entire objects and relationships which have been deleted, added and modified in the container. EF keeps the state of the object and holds the necessary change-information and all these track information for each...
Filed under:

Type conversion - Using Expression in place of reflection ( C#.net ) by Morshed Anwar's Blog

Here I write a very simple method (you can make it more generic if you want) that get source object, target Type and a dictionary. First two parameters need not any explanation and the dictionary contains the mapping definition where the key holds the...
Filed under:

Generic method to query in Ado.net Entity Framework by Morshed Anwar's Blog

Here I am going to talk about the generic method and expression to query using Ado.net Entity Framework. I know it’s not a big deal but I choose simple thing to share my very little knowledge (!!) about expression and entity framework.Ok, here I consider...
Filed under:

Hello world! by Morshed Anwar's Blog

This is your first post. Read More...
Filed under:

Submitting my first bug after ASP.NET MVC 1.0 RTM Release by Kazi Manzur Rashid's Blog

The Controller class of ASP.NET MVC Framework has few overloaded methods to return json result from the controller actions. Internally it uses the JavaScriptSerializer which was introduced in ASP.NET AJAX Framework. But unlike the DataContractJsonSerializer...
Filed under: , ,

Memory Leak with delegates and workflow foundation by Omar AL Zabir blog on ASP.NET Ajax and .NET 3.5

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...
Filed under: , , ,

Optimize ASP.NET Membership Stored Procedures for greater speed and scalability by Omar AL Zabir blog on ASP.NET Ajax and .NET 3.5

Last year at Pageflakes, when we were getting millions of hits per day, we were having query timeout due to lock timeout and Transaction Deadlock errors. These locks were produced from aspnet_Users and aspnet_Membership tables. Since both of these tables...

Unit Testable HttpModule and HttpHandler by Kazi Manzur Rashid's Blog

With the new System.Web.Abstraction namespace we can now easily write unit testable HttpModule and HttpHandler . In this post, I will show you how to write unit testable HttpModule and HttpHandler . Prior the release of System.Web.Abstraction the problem...
Filed under: , ,

The Open Source Projects on ASP.NET MVC by Kazi Manzur Rashid's Blog

Last night the forehead four head has released the 1st chapter of their upcoming Wrox book along with a sample project NerdDinner and I think this is the best application to check if anyone is trying to lean the new ASP.NET MVC framework. And this is...

History of MS Data Access Technologies by Nazmul weblog

Many years I am working with MS technology. Using different technique & technology (Microsoft) I am doing my all data access work from different data store. Now Microsoft introduces a new data access technique call Entity Framework . One day I was...
Filed under:

Linq to SQL solve Transaction deadlock and Query timeout problem using uncommitted reads by Omar AL Zabir blog on ASP.NET Ajax and .NET 3.5

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...
Filed under: , , ,

Use Event Aggregator to make your application more extensible by Kazi Manzur Rashid's Blog

Recently, in KiGG / DotNetShoutout we have integrated Twitter , nothing complex, very basic thing like when a story is submitted or appears in the front page it will broadcast in Twitter and like our feed it will post the short url of the original story...

Unit Testable Configuration Manager by Kazi Manzur Rashid's Blog

If you are a TDD purist, you should know that accessing file system in Unit Test is violating the rule. But in our application, our infrastructural code often requires to access the configuration values form web.config/app.config. In this post, I will...
Filed under: , , ,
Powered by Community Server (Non-Commercial Edition), by Telligent Systems