Click here to Skip to main content
15,896,063 members

Articles by Gediminas Geigalas (Technical Blogs: 25)

Technical Blogs: 25

RSS Feed

Average article rating:

No articles have been posted.

Average blogs rating: 4.48

.NET
2 Dec 2014   Updated: 2 Dec 2014   Rating: 4.60/5    Votes: 9   Popularity: 4.39
Licence: CPOL    Views: 14,722     Bookmarked: 11   Downloaded: 0
Please Sign up or sign in to vote.
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,631     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
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
Please Sign up or sign in to vote.
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,481     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
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,080     Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
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,883     Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
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,270     Bookmarked: 0   Downloaded: 0
Please Sign up or sign in to vote.
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,820     Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
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,760     Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
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,891     Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
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,620     Bookmarked: 4   Downloaded: 0
Please Sign up or sign in to vote.
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,021     Bookmarked: 21   Downloaded: 0
Please Sign up or sign in to vote.
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: 21,976     Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
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,550     Bookmarked: 10   Downloaded: 0
Please Sign up or sign in to vote.
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,387     Bookmarked: 13   Downloaded: 0
Please Sign up or sign in to vote.
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,393     Bookmarked: 20   Downloaded: 0
Please Sign up or sign in to vote.
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,482     Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
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,238     Bookmarked: 3   Downloaded: 0
Please Sign up or sign in to vote.
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,351     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
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,751     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
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,541     Bookmarked: 9   Downloaded: 0
Please Sign up or sign in to vote.
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,654     Bookmarked: 6   Downloaded: 0
Please Sign up or sign in to vote.
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,251     Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
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,380     Bookmarked: 5   Downloaded: 0
Please Sign up or sign in to vote.
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,020     Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
ASP.NET MVC localization using ActionFilter

Average tips rating:

No tips have been posted.

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.
Software Developer (Senior)
Lithuania Lithuania
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.