As a coder when I face a problem the first thing that i do I use the coder’s best friend Stackoverflow to search for a solution for the my problem, and that’s a good thing, the problem that emerges that we can’t remember everything, once we fix the problem most of the time we forget what we have did to fix it and which thread on stackoverflow helped us to solve it, so when we have the same problem in another project we will repeat the same process we did the first time.
personally when i solve a problem i keep a reference of the solution in a separate txt file so i can check it again when i have the same problem again, but with time files will accumulate, and we will be facing the same problem of looking for the right file that have the solution.
So, I have decided to write a small application where I can save all the important codes and quick fixes i need,
I have developped the application in C# WPF core, I have chooses this framework to get my more familiar with it, and to have the ability to benifit from then new capability of Core framework “PublishSingleFile” which make the developers able to compile the application and its DLL into a single file, and even a self-contained application! which is pretty awesome.
for the database I have choosen Sqlite as it self contained, and don’t need anything to be installed on the client PC.
The application have the following features:
- The ability to write codes in RTF format, so we can format the text (Font, Size, color,Bold, Italic) and also to insert pictures inside it if needed.
- The ability to search all the saved codes or notes using the search field, which will search in the in the title and the body of the notes.
- The ability to browse codes/notes by category.
- The ability to manage categories by adding/deleting categories.
- The application is portable and self contained. all you need is the .Net Core 3.1 runtime libraries which can be installed using this link.