Lance McCarthy

Lance McCarthy talking about Maui, VS2022, community contributions and much more.

Referenced sites and source:

Resource 1 – CommonHelpers

That is the CommonHelpers NuGet package I was referring to. It not only is a good helper in a .NET project, but you can also look at it’s GitHub Actions to see how to automatically built, test and publish  to NuGet.

Resource 2 – DevOpsExamples

That repo shows you how to build WPFASP.NET CoreWinFormsConsoleXamarin.Forms, .NET MAUIAngularReact and Vue projects in GitHub ActionsAzure DevOpsGitLab CI and AppCenter (see the build status badges here).

The workflows can be found here https://github.com/LanceMcCarthy/DevOpsExamples/tree/main/.github/workflows

Resource 3 – MediaFileManager a real-world CI-CD example for WPF

This repo is for MediaFileManager, one of my real-world WPF apps that is published to the Microsoft Store. It shows you how to use GitHub Actions to automatically build MSIX packages and publish to the Microsoft Store.

Not only does it build and upload to the Store, but I also show how to build an msixbundle with an appinstaller file that gets uploaded to Azure Blob Storage so you can host your own mini-Microsoft Store for your non-Store users. Check out the mini-store page here Media File Manager (windows.net)

Resource 4 (bonus) – AI Powered Toilet Flusher for my Cat

I built a full system that uses AI, SignalR, Windows IoT, and Xamarin.Forms to automatically flush the human toilet when my cat uses it. You can see the companion blog post here Using Windows IoT, SignalR, Azure Custom Vision and Xamarin Forms to Flush a Toilet – DVLUP

Posted in .Net 6, Essentials | Tagged | Comments Off on Lance McCarthy

Visual Studio 2022!!

Mads Kristensen talks about all the goodness in Visual Studio 2022

Posted in Essentials | Tagged | Comments Off on Visual Studio 2022!!

A Dozen Utilities I Use Every Day

Here are 12 utilities I use every day. They are in no particular order. I spend most of my day programming in Visual Studio 2019.

#0 – Resharper. I’m so ambivalent about this add on for Visual Studio. On the one hand it has some fantastic features for a serious programmer. On the other hand, it is a beast and can significantly slow both loading VS and building your app. I’ve loaded it and removed it a number of times. On balance, it is a killer utility.

Continue reading
Posted in Essentials | Comments Off on A Dozen Utilities I Use Every Day

Get Git in 45 Minutes

Presentation to the St. Pete’s user group

Posted in Essentials | Comments Off on Get Git in 45 Minutes

Mads Torgersen On C# 10

Mads comes back on show 200 (!) to talk about all things C# 10, which will be released November 2021.

Posted in C#, C# 10, Essentials, Languages, Podcast | Tagged | Comments Off on Mads Torgersen On C# 10

Tables Turned II – Unhandled Exception Podcast

Dan Clarke interviewed James World and me about Git and my new book, Git For Programmers. The podcast is here.

Posted in Essentials | Comments Off on Tables Turned II – Unhandled Exception Podcast

Git! Turn the tables

In this podcast the tables are turned, and I’m interviewed by Kate Strachni of Datacated

.

Posted in Essentials | Tagged | Comments Off on Git! Turn the tables

Video on Git

I was interviewed on Datacated about Git. The video is here

Thanks

Posted in Essentials | Comments Off on Video on Git

Don’t Miss Mads Torgersen on C# 8 and 9

A few weeks back we had Mads Torgersen on Yet Another Podcast. It is too good and too important to miss.

Posted in Essentials | Tagged | Comments Off on Don’t Miss Mads Torgersen on C# 8 and 9

Interactive Rebase

Following along from my previous blog post on rebasing, this post will cover interactive rebasing.

The first thing to know about interactive rebasing is that as far as the programmer is concerned it has nothing to do with rebasing. The principal purpose of Interactive Rebase is to clean up your commits before you push them to the server.

To see this at work, let’s create the world’s dumbest C# program. For this purpose I assume you have git installed along with Visual Studio 2019 and that you have an account on GitHub. If not, they are all free, so go get ’em and I’ll wait here.

All set? OK, let’s create a C# Console app called dumbApp on GitHub

Continue reading
Posted in Essentials | Comments Off on Interactive Rebase

You Already Know Git

In celebration of my newest book: Git For Programmers I’m starting a short series of blog posts on some of the more interesting features of Git.

You already know Git

These posts assume you know what Version Control is and why you want it. I even assume you’ve been exposed to Git because Stack Overflow says 93% of programmers have. So these posts will be the fun stuff.

Let’s dive in to one of the most confusing aspect of Git for many programmers: Rebasing. When you say rebasing, many programmers run from the room pulling their hair and crying.

But Rebasing is really not that bad. In fact, it is pretty straight forward.

Rebasing

Let’s say you are working on a branch (you do your work on a branch, right??) and you want to merge the main into your branch to reduce the probability of conflicts later.

If your feature branch branched off of the latest commit from main, no problem, you do the merge, and Git will do a fast forward for you…

Continue reading
Posted in Essentials | Tagged | Comments Off on You Already Know Git

Jeff Fritz on Blazor, Azure & Much More

Much is in .NET 5, much more is coming in .Net 6. Jeff and I explore all the new goodies.

Links will be posted soon.

Posted in Essentials | Tagged | Comments Off on Jeff Fritz on Blazor, Azure & Much More