Developer Log

How to organize Visual Studio projects

In my latest Youtube video, I talked about how to organize Visual Studio projects in a Visual Studio blank solution to support multilayered architecture. Why should you organize your application in a multilayered way? Well, so your app becomes more robust, easy to upgrade and maintain. This way you know where and how to look,…

Read More

Caching in DotNet Core WebAPI using Strategy Pattern

Let me write today about Caching, Repository pattern and finally about CacheRepository by using Strategy pattern. So, I’ve seen a lot of developers use caching pretty differently.  And mostly what I’ve seen, was, them using cache inside the Controller or BLL, if there is one. I don’t think this is a proper way of doing…

Read More

How to fix the IISExpress SSL certification issue

Let’s continue with DotNet stuff. One of the problems I’ve encountered when dealing with IISExpress and using Visual Studio was when I used SSL for application. If you are working in a team of developers, you probably agreed upon a valid port number for SSL.  In my case it was port number 5001. Since I’m…

Read More

Automapper Optimization

Today I’ll write about Automapper optimization when using Entity Framework. I won’t go into too much detail about what AutoMapper is and how to use it, I’ll give you just a short intro.  I will focus more on how to optimize AutoMapper if you are using Entity Framework. As I see some people tend to…

Read More

Javascript Splice VS Javascript Slice

Little chit-chat Hi! Let me keep you up-to-date with things that were rolling lately. As I’ve said previously, I finally updated my blog. I wanted to give it a more sleek and personal look. The old one was good but a little bit cold without any personal touch. So here it is, a new looking…

Read More

INTERVIEW JOB CODING TASKS – XML file manipulation

It’s been a while, once again, since my last post. But due to a much of stuff, I’m doing in the background, I guarantee you, it’s going to be worth it! Bunch of changes is going to be presented to you very soon as well as new content, in a much more professional way. Anyway,…

Read More

INTERVIEW JOB CODING TASKS – Calculate permutations

Today we are going to continue with interview coding tasks. I really do hope this, solved, coding task is going to help you during your interview. Task: Depending on input value i.e. (123) create all permutations i.e:(123,213,231,132,312,321) Solution: Cheers

How-To setup global exception handler in .NET Core?

Today I’ll try to be precise and straight to the point as possible.If you want to simplify your code by removing unnecessary try {} catch {} blocks of your code inside API Controllers, then you probably want to use some kind of global hook in which you are going to handle global exceptions. The way…

Read More