Regarding This Blog
Who even reads these, anyway?
Purpose of This Blog
Besides having free time, I wanted to touch up on my C# and ASP.NET. It's been a very long time since I used these technologies, and I hope working on this blog regularly acts as a sort of refresher. 2020 I believe? I'm sure I've dealt with either at some point in between, but as far as actual projects go, 2020 was the last time I opened a C# project in VSCode. From my mundane perspective, ASP.NET looks just as magical now as it did 3 years ago.
It's ideal that I started practicing with this blog because I have other projects that need documenting. What are these projects? Why do I mention them? I won't discuss these plans out of fear that I won't actually do them. But bruh, trust me bro, it's gonna be so sick bro, like... I also think making periodic blogs is a good way to look good in front of potential employers document my progress in an organized, yet casual fashion.
Current Build
The current setup is simple. It's a Blazor Server web application that retrieves blog data from an Sqlite database file. Blog creation is managed with a C# script that prompts the user for all relevant info, storing the strings into the database. That's a general overview of the technologies used, but here's a list of some of the more interesting aspects of this project's development:
- blog creation script
- automatically saves creation date
- only accepts blog content in the form of HTML
- automatically saves a blog's first 50, non-HTML characters as a preview to be used in the blog archive
- blog archive
- pulls all posts from the database
- css framework made from scratch thank you, thank you, please hold your applause
- pull only preview content to avoid extra overhead
- the css took a long time and I'm proud of how it turned out, okay? look at how responsive the site is to resizing
Future Features
I want to increase security and I want tags and I want to paginate the archive to decrease load times and I want to make the code cleaner and I want to unify the CSS and I want to be more reliant on static pages where possible.
Special Thanks
I'd like to thank ZetBit for making a great guide to blog with Blazor. Without him, I would have had to shamelessly copy study some one else's work, which may not have been as simple. Also, honorable mentions to freeCodeCamp.org and Raw Coding. Both made incredibly comprehensive and helpful guides for the ASP.NET framework, and though they were of great use, ultimately neither proved to be a match for my peerless stupidity. I gave up on finishing either of their tutorials.