Resolving 'Cannot access a disposed context instance' Error in ASP.NET Core

󰃭 2024-10-17 | #ASP.NET Core #Entity Framework #GraphQL #HotChocolate

Introduction When developing an ASP.NET Core application and using Entity Framework (especially when using HotChocolate GraphQL library) to manage your database, you may encounter the following error: Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere in your application. Cause This error typically occurs when a database context (DbContext) is attempted to be used after it has been disposed.

Continue reading 


Splitcat: My File Splitting and Merging App

󰃭 2024-10-16

Splitcat: An App for Easy File Splitting and Merging I’m excited to introduce my latest project – Splitcat! 🎉 After a lot of work, the app is now fully developed in Flutter and ready for download on GitHub and Flathub. About the App Splitcat is built entirely in Flutter, ensuring a smooth and responsive user experience on both desktop and mobile platforms. It simplifies file splitting and merging, making it easier to manage large files without needing complex command-line tools.

Continue reading 


Introduction

󰃭 2024-10-03

Welcome to the Geek Side: Linux, FOSS, and All Things Open Source Greetings, fellow nerds, coders, and open-source enthusiasts! 👋 Welcome to my humble corner of the internet, where we celebrate the beauty of Linux, embrace the power of Free and Open Source Software (FOSS), and dive deep into the art of coding. Whether you’re a seasoned command-line wizard or a brave soul just starting your Linux journey, this blog is for you.

Continue reading 