.NET
|
|
2 Dec 2014
Updated: 2 Dec 2014
Rating: 4.60/5
Votes: 9
Popularity: 4.39
Licence: CPOL
Views: 14,752
Bookmarked: 11
Downloaded: 0
This article compares delegate factories vs. Factory pattern for use with Dependency Injection.
|
All Topics
|
|
12 Feb 2011
Updated: 12 Feb 2011
Rating: 3.50/5
Votes: 2
Popularity: 1.05
Licence: CPOL
Views: 7,651
Bookmarked: 2
Downloaded: 0
How to avoid useless checks
|
|
12 Aug 2015
Updated: 12 Aug 2015
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 7,280
Bookmarked: 1
Downloaded: 0
Autofac OnActivated For All Registrations
|
|
27 Aug 2015
Updated: 27 Aug 2015
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 5,491
Bookmarked: 0
Downloaded: 0
Consider the following test code that is using Moq: Not going too much into details, what this method does is verify that _logRepository.LogRequest was never called.
|
Database Development
|
SQL Server |
28 Aug 2010
Updated: 28 Aug 2010
Rating: 3.00/5
Votes: 2
Popularity: 0.90
Licence: CPOL
Views: 17,130
Bookmarked: 3
Downloaded: 0
This article reviews how my opinion on Stored Procedures changed over time and what disadvantages they bring into your application.
|
|
28 Aug 2010
Updated: 28 Aug 2010
Rating: 5.00/5
Votes: 2
Popularity: 1.51
Licence: CPOL
Views: 16,903
Bookmarked: 6
Downloaded: 0
Learn how to serialize System.DateTime for use in SQL Server stored procedures
|
DevOps
|
Unit Testing |
28 Sep 2014
Updated: 28 Sep 2014
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 6,280
Bookmarked: 0
Downloaded: 0
Expose your mocks directly from the Fixture Object if possible. If there is no real need to complicate things by converting types and introducing extension methods, don’t do it.
|
Domain
|
|
15 Sep 2014
Updated: 16 Sep 2014
Rating: 5.00/5
Votes: 7
Popularity: 4.23
Licence: CPOL
Views: 14,840
Bookmarked: 4
Downloaded: 0
In your domain model, you often need to pass the same repetitive information to your domain entities or value objects. This article suggests a solution that I call "Domain Context".
|
|
22 Sep 2014
Updated: 22 Sep 2014
Rating: 4.60/5
Votes: 3
Popularity: 2.19
Licence: CPOL
Views: 8,770
Bookmarked: 1
Downloaded: 0
This article provides some insights into implementation of Domain Event handlers that contain non-transactional behavior.
|
Entity Framework
|
|
2 Jun 2015
Updated: 2 Jun 2015
Rating: 5.00/5
Votes: 8
Popularity: 4.52
Licence: CPOL
Views: 14,921
Bookmarked: 7
Downloaded: 0
I've been successfully using NHibernate as my first ORM for a few years. For the last year, I have decided to use Entity Framework instead. Here's what I liked and disliked.
|
Programming Languages
|
C# |
30 Aug 2010
Updated: 1 Sep 2010
Rating: 4.33/5
Votes: 3
Popularity: 2.07
Licence: CPOL
Views: 12,630
Bookmarked: 4
Downloaded: 0
I just came up with a hack for .NET ListView to react to users doubleclider separator to auto resize the column to fit column contents.
|
|
29 Aug 2010
Updated: 29 Aug 2010
Rating: 4.57/5
Votes: 7
Popularity: 3.86
Licence: CPOL
Views: 21,161
Bookmarked: 21
Downloaded: 0
This post explains how plugin architecture can be improved to allow better extensibility and provide backward compatibility after updates.
|
|
29 Aug 2010
Updated: 29 Aug 2010
Rating: 4.94/5
Votes: 16
Popularity: 5.95
Licence: CPOL
Views: 22,086
Bookmarked: 7
Downloaded: 0
This post talks about how #region directives are useful and when they are not appropriate.
|
|
29 Aug 2010
Updated: 29 Aug 2010
Rating: 4.29/5
Votes: 7
Popularity: 3.62
Licence: CPOL
Views: 11,560
Bookmarked: 10
Downloaded: 0
This article explains how Singletons can be replaced with dependency injection. It covers the advantages and how to refactor existing code.
|
|
29 Aug 2010
Updated: 29 Aug 2010
Rating: 4.86/5
Votes: 17
Popularity: 5.98
Licence: CPOL
Views: 39,487
Bookmarked: 13
Downloaded: 0
This article shows you how you can implement something similar to the SQL IN clause in your C# code.
|
|
30 Aug 2010
Updated: 30 Aug 2010
Rating: 4.79/5
Votes: 14
Popularity: 5.49
Licence: CPOL
Views: 22,493
Bookmarked: 20
Downloaded: 0
This post talks about how you can replace your conditional statements with inheritance to allow improved extensibility of your application's behaviour.
|
|
14 Oct 2014
Updated: 14 Oct 2014
Rating: 5.00/5
Votes: 8
Popularity: 4.52
Licence: CPOL
Views: 16,542
Bookmarked: 5
Downloaded: 0
Optional parameter visibility in C#
|
|
21 Jul 2011
Updated: 21 Jul 2011
Rating: 5.00/5
Votes: 2
Popularity: 1.51
Licence: CPOL
Views: 46,268
Bookmarked: 3
Downloaded: 0
Teleric MVC Grid ActionLink Column
|
Javascript |
8 Aug 2015
Updated: 8 Aug 2015
Rating: 5.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 9,361
Bookmarked: 2
Downloaded: 0
Using reCAPTCHA in Single-page applications
|
SQL |
4 Sep 2011
Updated: 4 Sep 2011
Rating: 3.50/5
Votes: 3
Popularity: 1.67
Licence: CPOL
Views: 21,781
Bookmarked: 2
Downloaded: 0
Logging NHibernate queries with parameters
|
|
22 Jan 2012
Updated: 22 Jan 2012
Rating: 5.00/5
Votes: 2
Popularity: 1.51
Licence: CPOL
Views: 24,591
Bookmarked: 9
Downloaded: 0
Creating .In and .NotIn Extension methods for NHibernate 3 Linq provider
|
XML |
29 Aug 2010
Updated: 29 Aug 2010
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 11,684
Bookmarked: 6
Downloaded: 0
Value objects are immutable, so how can we use XmlSerializer to serialize them? This article answers that question.
|
Web Development
|
ASP.NET |
29 Aug 2010
Updated: 29 Aug 2010
Rating: 5.00/5
Votes: 2
Popularity: 1.51
Licence: CPOL
Views: 21,281
Bookmarked: 5
Downloaded: 0
Implementing a custom RoleProvider using Unity IoC library to support custom roles in ASP.NET MVC
|
|
29 Aug 2011
Updated: 2 Sep 2011
Rating: 2.00/5
Votes: 1
Popularity: 0.00
Licence: CPOL
Views: 20,400
Bookmarked: 5
Downloaded: 0
MVC Mini Profiler is a great tool to profile your ASP.NET MVC apps.
|
HTML |
18 Sep 2011
Updated: 18 Sep 2011
Rating: 0.00/5
Votes: 0
Popularity: 0.00
Licence: CPOL
Views: 14,030
Bookmarked: 2
Downloaded: 0
ASP.NET MVC localization using ActionFilter
|