List of Time Zones

The list of all time zones present on PC (Windows 10 Home). This is what you’ll get with the operation TimeZoneInfo.GetSystemTimeZones() in C#.

How To: Configuration of Azure resources

During configuring resources for the application of several tiers I met obscure points. This articles is just a note which describes those obstacles with the solutions I done. It covers configuring of database access, logging and deployment of Web App and API App.

How To: Giving Presentations

Since the first presentation I gave I’ve noticed several points to remember. There are a lot of articles about the subject “How to give good presentations” in the internet and all of them good. For example, this article on HBR. They give enough inputs to think about. The further text contains a summary of my […]

How To: Running Specflow features with Selenium in Jenkins

This is a short guide how to run Specflow features which use Selenium for interaction with a web site. In our building environment these tests are running in Jenkins. Implementing this you’ll get automated UI-test runner.

Shifty Responsibility of Repository Pattern

During a lot of discussions about the Repository Pattern I noticed that people are separated into two camps. For the purposes of the article I call them abstractionists and concretists. The difference between them is whether the repository is considered or not during development of a system. The first camp considers it is worth to have it because […]

Dependency Injection Frameworks: configuration via code

Many times I was asking myself what’s better IoC container for this or that project. Their performance is the one side of choice. You can find the complete performance comparison here. Another side of the choice is the simplicity and speed to learn. So I decided to compare several containers from this perspective and took Autofac, Simple Injector, Structure Map, […]

How to test WebAPI with In-Memory Hosting

In most cases you want to have integration tests for your WebAPI, but don’t deploy it on IIS. There is an option which allows to skip IIS pipeline and work only with ASP.NET one. You may create an HTTP server in memory and call the same endpoints as usual. This is easy and allows to cover […]

How to extract domain from URL

You want to extract a domain from URL. The list of URLs to support might be as below. For this list you expect the domain : For this list you expect the domain For this list you expect the domain […]

Rules of Bad company

I met not so much company cultures, but quite enough to understand some common rules. Some of them would make your company culture nice and warm, and some would make it opposite. So if you want your company to be stated in IT community as an example of bad culture follow these rules. Rules of bad […]

Replacing connection string for different environments

I’m using AppVeyor CI for my small open-source projects and bumped into an issue with integration tests which need a different connection string in different environments. I’ll describe how this can be solved in two ways. The 1st is a similar to web.config XML transformation. The 2nd one is a workaround for AppVeyor using and approach which is […]