Dispose Pattern

Resource management is one of the most important concepts in .NET development. While the .NET Garbage Collector (GC) automatically manages memory, it does not immediately release unmanaged resources such as file handles, database connections, network […]

Share Button

Vertical Slice Architecture in .NET Core

Vertical Slice Architecture is an architectural pattern where the application is organized by feature (business capability) instead of technical layers such as Controllers, Services, and Repositories. Each feature contains everything it needs: Instead of navigating […]

Share Button

Create .net project from command line in windows

Open CMD in the folder Type the following – 1. mkdir MySolution 2. cd MySolution 3. dotnet new sln –name MySolution 4. dotnet new webapi –output src/MyProject 5. dotnet sln add src/MyProject/MyProject.csproj 6. dotnet run […]

Share Button

GitHub Actions with CI CD pipeline for .Net app on Shared Hosting

In this article we will deploy our .Net app to shared hosting like hostgator windows service via Github actions and FTP credentials of the shared hosting server. We will create and push our application to […]

Share Button