• DevToArch
  • DbStudio
  • Re:Link
  • shameel.net
  • Newsletter
  • Telegram Channel

The Developer Space

Building better code, together

  • Cloud
  • AI/GenAI
  • Database
  • Open Source
  • Programming
  • Python
  • QuickRef
  • 5-minutes
  • Home
  • Database
  • DbStudio Is Now Open Source — A C# Database Studio for PostgreSQL and SQL Server

DbStudio Is Now Open Source — A C# Database Studio for PostgreSQL and SQL Server

Shameel Ahmed - .NET, C#, Database, Open Source, PostgreSQL, Programming, SQL Server
May 23, 2026May 23, 2026 No Comments
DbStudio open source database studio for PostgreSQL and SQL Server built in C# .NET C# Database Developer Tools Open Source postgresql SQL Server Windows
0 0
Read Time4 Minute, 56 Second

After years of private development, I’m excited to announce that DbStudio is now open source. The full source code is available on GitHub at github.com/zshameel/DbStudio, and contributions from the developer community are very much welcome.

Contents

  • What Is DbStudio?
  • Key Features
  • A Look at the Codebase
  • Getting Started with the Source
  • How to Contribute
  • Links
  • Related Articles

What Is DbStudio?

DbStudio is a Windows desktop database management tool — your database companion, as the tagline goes — built to make working with PostgreSQL and SQL Server fast, familiar, and frictionless. If you’ve spent time in SQL Server Management Studio or similar tools, DbStudio will feel right at home: it follows the same conventions Microsoft developers are used to, without the overhead.

You can try it right now without even building from source. The latest release (v0.6.1 beta) ships as a single, xcopyable EXE — no installer, no setup wizard. Just unzip and double-click.

Key Features

  • Multi-database support — connects to both PostgreSQL and SQL Server from a single application.
  • Native drivers — DbStudio talks to databases using native drivers rather than abstraction layers, keeping query execution fast.
  • Familiar UI for Microsoft developers — the interface follows conventions developers already know: a Server Explorer panel, query windows, dashboards, and a connect dialog that behaves predictably.
  • Persistent query windows — open query tabs survive application restarts without requiring you to save them manually. Your work is always there when you come back.
  • Auto-connect on startup — the Server Explorer can be configured to reconnect to all previously used servers automatically, so you’re ready to query the moment the app opens.
  • Zero-install deployment — the release build is a single EXE, making it easy to drop on a developer machine or carry on a USB drive.

A Look at the Codebase

The solution is structured as a standard Visual Studio 2019 C# project (solution format version 12.00, targeting VS 16.x). It contains two projects:

DbStudio (Main/) — the core application. This is the WinForms-based shell that handles the UI, database connections, the Server Explorer, session management, and the overall application lifecycle.

ICSharpCode.TextEditor (TextEditor/) — the embedded text editor component powering the query windows. This is a well-known open-source syntax-highlighting editor that has long been a staple in C# desktop tooling. Bundling it directly into the solution rather than pulling it as a NuGet package keeps the build self-contained and makes it straightforward to modify the editor’s behavior — for example, adding syntax highlighting rules for database-specific SQL dialects.

The codebase is almost entirely C# (99%), with a small amount of HTML (1%), and targets Any CPU, so both Debug and Release configurations build without platform-specific concerns.

Getting Started with the Source

If you want to build and run DbStudio locally:

  1. Clone the repository: git clone https://github.com/zshameel/DbStudio.git
  2. Open DbStudio.sln in Visual Studio 2019 or later.
  3. Build the solution (Ctrl+Shift+B) — both projects (DbStudio and ICSharpCode.TextEditor) will compile together.
  4. Run the DbStudio project.

No external NuGet package restore should be needed for the TextEditor component since it lives in the repo. You will need a reachable PostgreSQL or SQL Server instance to test connections against.

How to Contribute

This is early days for DbStudio as an open-source project, which means it’s a great time to get involved — there’s real room to shape the direction. Here are some areas where contributions would make a meaningful difference:

  • Database support — adding support for MySQL, SQLite, or other popular engines.
  • UI improvements — the interface works well, but there’s always room for polish: dark mode, improved result-set rendering, column resizing, export options.
  • Editor enhancements — better SQL autocomplete, keyword highlighting, query formatting.
  • Cross-platform — the current build targets Windows via WinForms. Exploring .NET MAUI or Avalonia for cross-platform support would be a significant and exciting contribution.
  • Documentation — a proper README, contribution guide, and architecture notes would go a long way for onboarding new contributors.
  • Bug reports — open an issue on GitHub if you find something broken. Reproducible bug reports are always appreciated.

Links

  • GitHub Repository: github.com/zshameel/DbStudio
  • Website & Downloads: dbstudio.shameel.net
  • Latest Release: v0.6.1 beta — available as a zip on the downloads page.

If you work with PostgreSQL or SQL Server on Windows and have been looking for a lightweight, developer-friendly studio tool, give DbStudio a try. And if the codebase sparks an idea, fork it, open an issue, or send a pull request — every contribution helps.

Related Articles

How ReLink Works: A Deep Dive into Design Patterns and Best Practices

Share

Facebook
Twitter
LinkedIn
Email

Post navigation

How ReLink Works: A Deep Dive into Design Patterns and Best Practices

Related Articles

ReLink open source browser router — C# desktop app routing links from email and desktop apps to Chrome, Firefox, Edge and Brave using rule-based pattern matching .NET C# Design Patterns Desktop Development Open Source Software Architecture Windows Forms

How ReLink Works: A Deep Dive into Design Patterns and Best Practices

Shameel Ahmed - .NET, C#, Design Patterns, Patterns, Programming
May 19, 2026May 19, 2026 No Comments
SQL for Beginners - Part 6

SQL for Beginners – Part 6: SQL Constraints and Data Integrity

Shameel Ahmed - Database, MySQL, PostgreSQL, Programming, SQL, SQL Server
July 19, 2025July 21, 2025 No Comments
SQL for Beginners - Part 5: VIEWS sql views

SQL for Beginners – Part 5: VIEWS

Shameel Ahmed - Database, MySQL, PostgreSQL, Programming, SQL, SQL Server
June 30, 2025June 30, 2025 1 Comment

Average Rating

5 Star
0%
4 Star
0%
3 Star
0%
2 Star
0%
1 Star
0%
(Add your review)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Subscribe to our newsletter!

Categories

.NET 5-minutes Agentic AI Architecture Artificial Intelligence ASP.NET AWS Azure Books C# Career Cloud CodeProject Conversational Bots Database Data Security DynamoDB Encryption Facade GCP Generative AI IDEs Java Microservices Mobile MongoDB MySQL NoSQL Open Source Patterns PostgreSQL Programming Python Quantum Computing Redis Security Serverless SQL SQL Server Tools Tools Uncategorized Version Control Web Development Windows Phone

Recent Posts

  • DbStudio Is Now Open Source — A C# Database Studio for PostgreSQL and SQL Server May 23, 2026
  • How ReLink Works: A Deep Dive into Design Patterns and Best Practices May 19, 2026
  • Cloud 3.0: Hybrid, Multi-Cloud & Sovereign Architecture Guide May 16, 2026
  • AWS Networking for Developers: The Complete Series Guide December 31, 2025
  • AWS Networking for Developers: Part 6 – Developer Best Practices December 31, 2025

Archives

  • May 2026 (3)
  • December 2025 (2)
  • October 2025 (1)
  • August 2025 (3)
  • July 2025 (2)
  • June 2025 (2)
  • May 2025 (4)
  • April 2025 (2)
  • February 2025 (4)
  • January 2025 (4)
  • December 2024 (2)
  • November 2024 (5)
  • October 2024 (1)
  • September 2024 (2)
  • August 2024 (2)
  • January 2024 (2)
  • September 2023 (1)
  • June 2023 (1)
  • March 2023 (1)
  • February 2023 (2)
  • January 2023 (2)
  • December 2022 (1)
  • October 2022 (1)
  • July 2022 (2)
  • February 2022 (1)
  • November 2021 (1)
  • July 2021 (1)
  • June 2021 (1)
  • September 2020 (1)
  • May 2020 (2)
  • April 2020 (1)
  • October 2019 (1)
  • September 2019 (4)
  • July 2019 (2)
  • May 2018 (1)
  • September 2017 (1)
  • April 2017 (1)
  • April 2014 (1)
  • August 2011 (1)
  • June 2009 (1)

Links

  • DevToArch
  • DbStudio
  • Re:Link
  • shameel.net
  • Newsletter
  • Telegram Channel
Copyright 2025. The Developer Space | Theme: OMag by LilyTurf Themes
  • DevToArch
  • DbStudio
  • Re:Link
  • shameel.net
  • Newsletter
  • Telegram Channel
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie settingsACCEPT
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are as essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
SAVE & ACCEPT