Emailing From a Console App
Emailing using SMTP via a console app
May 11, 20212 min read


Create Excel Dynamically in Code
....some way to dynamically create a report based on some stuff in a database. And she needs it to be in Excel.
May 6, 20213 min read


Angular Setup Tips and Tricks
Hey kids! I am learning Angular and have come away with some small takeaways for folks that have limited coding knowledge so far. I am learning Angular 11, so any other version may not be accurately portrayed. I decided to start with the tutorials on the Angular site here and set up some test projects in StackBlitz. My first one is here if you want to check out the gloriousness https://angular-hqcgzp.stackblitz.io I ran into some things that weren't explained when I moved
Apr 7, 20213 min read


Switch Statement Fun
Hey kids! Let’s have a chat about how to properly use a switch statement. We are only able to use a switch is we are comparing a constant variable. Meaning - the value you are comparing must already be evaluated. There is not a limit to the amount of cases your constant can match, however it is a good idea to always list a default value in case the expected constant value comes through as something different. Always account for edge cases in your code. Let’s use our friend,
Jan 30, 20213 min read


Sitecore Stuff!
This year, the Sitecore Symposium went virtual, like all other conferences! They did offer some really interesting free content for current Sitecore developers. Keynote speakers and tons of breakout sessions can be accessed on demand until the end of 2020. Access it here: https://go.sitecore.com/e/857953/agenda/ycl9n/88231869 The conference was shaped around Sitecore 10 and moving into JSS 15. Take a look and see what’s new!
Nov 13, 20201 min read


NET MVC vs NET Core
I've been asked a few times if a new developer should focus on learning .NET MVC or .NET Core. The simple answer is: both. .NET Core is a framework, whereas MVC is a code architecture pattern. You can create a project / solution in Core and use the MVC pattern for your code. However, if you choose to begin a project with a base MVC project file, you cannot use the Core framework for it. MVC is Model View Controller pattern. A great resource to learn more from is Microso
Nov 6, 20202 min read


Visual Studio Built-In Refactoring Tool (Quick Actions)
Sometime in the last few iterations (years, probably .. I find things very late in the game) of the Visual Studio IDE, Microsoft introduced a refactoring tool. As much as I love searching StackOverflow for hours to find the answer to the super obscure coding issue I'm having, this refactoring tool saves me sooooooooo much time and irritation!! Whomever built this deserves the Nobel Peace Prize for helping developers refrain from killing people while raging on StackOverflow
Oct 23, 20202 min read


Guids
An implementation of the universally unique ID (see UUID) that is computed by Windows and Windows applications.
Sep 16, 20201 min read


Conversion failed when converting date and/or time from character string
Datetimes. They can be the hero or your worst enemy. This error is the bane of my existence as a programmer. This is worse than “Hi there! We just wanted to show an error for no reason. Restart Visual Studio. Love, Microsoft” ….. Every time this happens, I forget the fix so now it becomes a post I can Google and maybe save some troubleshooting time too. If you are like I am, you do a little ADO between your C# code and SQL data. I’m very good at not casting and converting
Sep 10, 20202 min read


LINQ
LINQ started as a simple way to query SQL data through code
Aug 4, 20202 min read






