MockK: Objects, Top-Level, and Extension Functions [3/5]

This tutorial is a great example of why MockK is an excellent choice for Kotlin and how easy we can work with Kotlin features, such as the previously mentioned objects. Of course, you can find the rest of the series on my blog, too: Getting Started with MockK in Kotlin …

Verification in MockK [2/5]

To be more specific, we are going to work with both verification and capturing– MockK Kotlin features, allowing us to perform assertions against our mocks. To view other articles in this series, please take a look at: Getting Started with MockK in Kotlin [1/5] Verification in MockK [2/5] MockK: Objects, …

Getting Started with MockK in Kotlin [1/5]

Before we head there, we will take a quick look at what exactly mocking is, and the differences between several terms that often lead to confusion. Thanks to that, we will have a solid foundation before diving into the MockK and Kotlin topics. Getting Started with MockK in Kotlin [1/5] …

MongoDB with Kotlin Coroutines in Ktor

In this article, I will show you how to work with MongoDB and Kotlin coroutines in a Ktor application. Note: this article was created based on one of the services we implement in my Ktor Server Pro course. If you would like to learn how to expose a fully functional …

SQL Server Transaction basics

1. Microsoft SQL Server Transaction SQL Server Transaction creates a wrapper around the set of SQL Statements. Converts multiple SQL statements into a single unit of work. The single unit of work is entirely completed or completely undone. 2. Data Inconsistency The stored procedure execution doesn’t always complete as expected. …

Containerize .NET 8.0 Web API with Docker

1. Docker Docker is an open-source platform, and it is used to containerize the application. It packages the application along with the dependencies into the containers, which is easier to deploy. Read more about Docker and its CLI on Docker CLI 2. Setup Web API project in .NET 8 2.1 …

What are HTTP ETags?

At the end of this blog post, you will know: what problems do they solve? what is an ETag and how is it calculated? how do they relate to If-None-Match and If-Match headers? what do 412 Precondition Failed and 304 Not Modified got do to with all of that? Of …

PrimeNG setup in Angular 19

1. What is PrimeNG? PrimeNG is an open-source library with prebuilt and customizable UI components that speed up the development process for Angular. It comes under the free-to-use MIT license. 2. Find your Angular version Run the command ‘ng v’ in your terminal to find the Angular version. Fig 1: …

Performance Optimization for Django-Powered Websites on Shared Hosting

Running a Django site on shared hosting can be really agonizing. It’s budget-friendly, sure, but it comes with strings attached: sluggish response time and unexpected server hiccups. It kind of makes you want to give up. Luckily, with a few fixes here and there, you can get your site running …

Codersee Course Platform is Ready

I am writing this post, because I would like to share some exciting news with you- the Codersee course platform has been fully migrated to codersee.com What does it look like? What if I already joined a course purchased through the Teachable platform? What is coming next? Let’s figure out …