DEV Blog


Cassandra with C# Fluent Query Builder

Cassandra is a popular NoSQL database technology which allows an easy configuration of many instances (nodes) providing high scalability and performance. This short article describes how to deal with C# and Cassandra database. Full text is avaliable here


Installing Cassandra on Linux – Ubuntu

First, you should install Oracle Java from PPA Repository with following commands sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer Verify installed version java -version Install the package setting environment variables sudo apt-get install oracle-java8-set-default Now we’are ready...


Sql Server Reset Table Identity Value

If you want to reset identity value, just execute this command declare @tableName varchar(100) = ‘tableName’; declare @value int = 0; DBCC CHECKIDENT (tableName , reseed, @value) The next value will be 1, but you can choose any natural number.


404 Not Found Error when using IIS (7.5)

While deploying a mvc5 application on Windows server 2008 r2, I had an annoying 404 error. The solution was re-register ASP.NET with aspnet_regiis -i with the command prompt: c:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -i Works like a charm!


Log collector – logging on steroids

Logging is a necessary part of any well-designed system. In this article, I would like to present a component that will make it easier to work with any application logs. In one of my projects, it was the perfect approach...

Simple Backend solution based on Command Pattern

In this post I would like to present a simple backend system based on the Command Design Pattern where each command has own independent scope. While designing a quite complicated system with many different functions – I tried to come...



Few months ago I was preparing to 70-486 MVC exam and I found a great way of exception handling in Exam ref Book. I decided to make a quick note based on this material. Introduction First chance exception is debugging concept...


TSQL Merge statement

SQL Server 2008 offers us an interesting feature called MERGE function that allows you to perform multiple actions in one query. I noticed, however, that many of my fellow programmers did not use it. That is why I decided to...


Global Configuration inProc

In many applications, we are struggling with performance issues. One of the most basic practices is to try to limit database connections, especially where data rarely changes. We can load them once into memory when the application starts and refresh...