Blog

Filter posts by Category Or Tag of the Blog section!

Technical Skills, Software Development, Real World Solutions, Enterprise Applications.
In order to validate some input of type object into numeric types, you can use System.Convert in C#. We have them in F# as well! Look at the following function:   open System let valid...

Thursday, 19 October 2017
There are lots of libraries out there to use paging in enterprise applications. I personally would prefer to write my own as it’s customizable and easy to maintain and modify. Look at the follow...

Sunday, 01 October 2017
HTTP/2 (Hypertext Transfer Protocol version 2) is a protocol for transmitting data over the internet. It is the successor to HTTP/1.1 and was developed by the Internet Engineering Task Force (IETF). T...

Thursday, 14 September 2017
Mapping in entity framework core has a little bit different configuration in comparison to the previous version of entity framework. Let's create a mapping for the following class:   ...

Monday, 04 September 2017
If you remember protected internal which was introduced in earlier versions of C#, it can be accessed by any code in the assembly in which it is declared, OR from within a derived class in anothe...

Thursday, 06 July 2017
I'm a Dot Net developer, but sometimes I jump on other programming languages and I think it helps me to comprehend my main field of activity easily. I was just working with the list in Python...

Saturday, 17 June 2017
Today I had to make a connection between an old windows service and SignalR client. After tackling for an hour I decided to reference the Microsoft.AspNet.SignalR.Client library to my web service...

Friday, 26 May 2017
In WCF, by using the MessageHeader attribute, you can add a soap header for messages:   [MessageContract]     public class SoapTest     {  &...

Thursday, 13 April 2017
Hangfire is a job scheduling framework that provides background processing without needing any windows service. That's the main point and competitive advantage of Hangfire in comparison to other s...

Wednesday, 22 February 2017
As I'm a beginner in Ruby, so don't expect me to write an advanced post about that. I'm writing for beginners like myself! I was just reading about inheritance in ruby. It is so funny! Loo...

Wednesday, 18 January 2017
  I want to introduce a simple command handler pattern in order to separate commands and queries of your applications if it’s needed. Sometimes especially in large-scale applications, yo...

Wednesday, 11 January 2017
There are a bunch of open source library for paging In C# but sometimes you need to have your own paging engine to have more control over. I've used the following simple custom paging in a few pro...

Friday, 16 December 2016
The IDocumentSession in RavenDb should be registered per lifetime scope while the DocumentStore should be resisted as a single instance in Autofac. It's my third time that I'm making a big mis...

Sunday, 04 December 2016
In my previews blog post I wrote about Z.bulkOperation. I migrated to sqlbulktools just because it's free with the same ability! (to be frank). Now to see the reason for my migration, fire up visu...

Wednesday, 16 November 2016
Today I was tackling with a problem. It was about inserting and updating 200000 records of data. I just wanted to find a solution rather than writing Store Procedure. I just searched on the web and fo...

Tuesday, 25 October 2016
JSON (JavaScript Object Notation) and YAML (YAML Ain't Markup Language) are both popular data interchange formats used to represent structured data in a human-readable and machine-readable way. Th...

Tuesday, 25 October 2016
Smart pointers are a type of C++ object that automatically manage the lifetime of dynamically allocated objects. They are designed to prevent common memory-related errors such as memory leaks and dang...

Thursday, 22 September 2016
   Multithreading: Based on Microsoft definition, multithreading is the ability of a central processing unit to execute multiple processes or threads concurrently.  In multithre...

Saturday, 18 June 2016