By tag: Common
0
kicks
Use Event Aggregator to make your application more extensible
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 (Cant resist to do some shameless marketing f...
0
kicks
Implementing UnitOfWork Pattern In Linq To SQL Application
Implementing UnitOfWork Pattern In Linq To SQL Application
In my previous post, I have shown how to create Linq to Sql Repository which will have the maximum code coverage, In this post, I will show a simple UnitOfWork class which will flash the changes back to your database. I will be again use...
0
kicks
ASP.NET MVC, Unity and Common Service Locator
In this post, I will show you how can you extend Microsoft Patterns & Practices Unity Application Block and use it in ASP.NET MVC in conjunction with Patterns & Practices Common Service Locator. Extending Unity Unity is a dependency injection container from MS Patterns & Practices team. ...
0
kicks
SQL 2005 Server Side Paging using CTE (Common Table Expression)
When a application want to show the result from an SQL-query as a paged view, i.e. showing ten or fifteen result on first page, then have a "next" function to show the next page of results.
To minimize traffic over the network, it is best practice to do the paging on the SQL-server, so ...