Naweed Akram's Blog
<sharing: Knowledge />
XGENO.DBMapper - A new way of OR/DB Mapping

XGENO.DBMapper is a simple, easy-to-use and powerful OR Mapper (just 15KB) for your database queries. It is set of extension methods (on the SQL Connection), which execute a SQL query (simple, parameterized, stored procs etc.) and return the data as a list of .NET objects (classes that you have created).

 

Note: This is not a replacement for existing ORMs (Linq/NHibernate/XGENO.ORM etc.). This is useful when there are lots of stored procedures or dynamic SQL queries are involved, and performance is a critical factor.

More ...
Tags:  .NET,  C#,  VB.NET,  ASP.NET,  MVC,  Silverlight,  ORM Viewed:  3833       Comments:  1      


RSS Feed Result for ASP.NET MVC

In this post, we look at creating a RSS Feed Result in ASP.NET MVC (similar to the one implemented on this site). This will allow your MVC site to expose its data (news, blog posts, articals etc.) as RSS feed.

More ...
Tags:  C#,  ASP.NET,  MVC Viewed:  23513       Comments:  2      


Date Badge - Revisited

In my previous post, we looked at creating a date badge for the posts in ASP.NET MVC (similar to the one on the side). However, it suffered from the issue of explicitly defining CSS styles, plus there was no strongly typed HTML helper to work with the model. 

 

Let's revise the code and build a better exntension.

More ...
Tags:  C#,  ASP.NET,  MVC Viewed:  2955       Comments:  0      


Creating a Date Badge for your Posts in ASP.NET MVC

Ever wanted to create a date badge for your posts in ASP.NET MVC (similar to the one on the side). It is actually very easy to do so.

 

Let's look at how this can be achieved with the help of simple CSS and a helper extension.

More ...
Tags:  ASP.NET,  MVC Viewed:  4350       Comments:  0      


RSS Feed
Newsletter


Quick Links

Tags