Skip to main content

Posts

Creating .GIFs in C#

It's almost the season for Christmas , and what a fun way to tie in the season with some programming than learning how to make .GIF files with C#. We are going to be making a Christmas tree as shown below! Merry Christmas Christmas doesn't last for  just one day , so let's prepare to celebrate it when it comes! What's in a .GIF? The .GIF file format is made up of many different parts , but this picture does the best job at explaining that at a glance. The .GIF file format Each section is a collection of bytes written to a file in a particular format. By following the specification , we can write these bytes to a file and create for us our own .GIF file by hand. No, you don't have to create .GIF files by hand. You can use different libraries  to do the same thing we are about to do. In fact, if you are intending to use any .GIF - related code in production , you should be using a library. Libraries are better tested and have better perf...

Changing the background image of the Visual Studio editor

I happened to be browsing on a discord server , which happens to be the now, go-to VOIP platform for gamers (but is also rapidly growing for other interest groups likewise) and saw this image: Woah, super cool! If you had any response like I had, you would be saying right now; how do I get that in my editor?! ClaudiaIDE If you go over to the Visual Studio Marketplace, you will find a tool named ClaudiaIDE  (I assume as some ode to a lady named Claudia). Download and install the tool (close Visual Studio before installing). Let's get ready to load some images, Claudia Please just be wary, this isn't an official tool by Microsoft. If any bugs or issues happen, please go and report them in the tool author's github . I am also not responsible for anything that might happen after you install this (but I feel this is generally safe to install or otherwise it wouldn't be on the Visual Studio Marketplace, right?) Configuration To configure ClaudiaID...

[Fix] - ASUS PCE-AC68 adapter (no internet)

There seem to be a lot of problems with this adapter, even with such strong performance . Why so many issues? I'm not quite sure, but I needed to find a fix because I kept on losing wifi. The ASUS PCE-AC68 The fix Keeping it short - this is how I fixed the issue: Downloaded the driver for my OS from ASUS's support page -  https://www.asus.com/us/Networking/PCEAC68/HelpDesk_Download/ (in my case it was Windows 10 64-bit). Open Device Manager by holding the Windows key and pressing R, then typing "devmgmt.msc" and hitting Enter. (Don't worry, this isn't a scam . We are simply opening Window's Device Manager through the Microsoft Management Console snap-in .) Navigate to the yellow warning sign sitting under Network adapters and right click it. Select Update driver . Select Browse my computer for driver software  and choose the following path of the OS that you have installed on your computer. (The path for the driver on my computer was C...

[Automatically] minifying .cshtml files in .NET Core

What gets me more excited than anything? Performance. Performance level 100 Its always exciting to me to perform at max efficiency , because why should you be performing any less? What's even better than efficiency than setting it and forgetting it ? Nothing. Fact of the matter is while you may not be caring about efficiency , you should - because your business does. Lack of efficiency costs dollars and time. You aren't off the hook even if you are doing programming as a hobby or are self-employed. We are going to explore how to minify your .cshtml files in a .NET Core web application, and why you should care to do so. Why you should care Do your reading ;   read this too . Time is a limited resource, and we are tending to be more impatient nowadays,  these people think so too. The bottom line is that if you want a chance for your web application to be successful, you can't skimp on quality and hope that you will be a success. Your applications need to...