Now that we have a Blazor app and test projects, we will create an automated build that will build our code whenever changes are committed into Azure DevOps. Automated builds ensure that any code check-ins always build on clean systems and all of our tests continue to run and pass continuously. Automated builds are an … Continue reading Lesson 1.9: Azure Build Pipeline
Month: June 2020
Lesson 1.8: bUnit to Test Blazor Components
Testing source code is one part of what we need for our game. Since we're building on Blazor, we're going to need a way to test Blazor components as well. And while a lot of Blazor is just plain C# classes that extend and render controls. There is an infrastructure in place to render those … Continue reading Lesson 1.8: bUnit to Test Blazor Components
Lesson 1.7: Adding Unit Test Project
Before we get too far along in coding the Simple RPG game, we need to enable building and running unit tests for our project. I've followed various forms of TDD (test-driven development) over the years. And I'm not a purest about writing tests prior to writing code. But I do firmly believe in creating tests … Continue reading Lesson 1.7: Adding Unit Test Project
Lesson 1.6: Basic Screen Layout
We've done a lot of setup to this point. Let's change gears for a lesson and focus on setting up the basic layout of the game screen. We want to segment the screen up into several areas, which we will do by using the grid concept in Bootstrap CSS. Updating MainLayout Our game looks more … Continue reading Lesson 1.6: Basic Screen Layout
Lesson 1.5: Using Blazorise Component Library
Components are the basic unit of development in Blazor. A component is a self-contained chunk of user interface (UI), such as a page, dialog, or form. A component includes HTML markup and the processing logic required to inject data or respond to UI events. Components are flexible and lightweight. They can be nested, reused, and … Continue reading Lesson 1.5: Using Blazorise Component Library
Lesson 1.4: Create Initial Blazor Project
Now that we have a source repository (from lesson 1.3) for our work, we're going to create the initial Blazor application project. Let's start by launching Visual Studio 2019. The first thing we will see is a dialog where we can clone code, open projects, create projects, etc. We are going to start by cloning … Continue reading Lesson 1.4: Create Initial Blazor Project
Lesson 1.3: Setting up Azure DevOps
Azure DevOps is a tool for managing source code, work items, test plans, and CI/CD pipelines. When we are building production software, we need to manage our code and work efficiently. Azure DevOps gives us the tools to do that. And it supports industry-leading tools, like Git, Docker, and Kubernetes, so we can use the … Continue reading Lesson 1.3: Setting up Azure DevOps
Lesson 1.2: The Prerequisites
To follow along with these lessons, we are going to need some basic knowledge and tools. This in not an introductory tutorial on programming or the basics of C#. If you would like some of those there are a lot of materials and tutorials for that. But you can certainly pick things up along the … Continue reading Lesson 1.2: The Prerequisites
Lesson 1.1: The Background
Over the past years, I have worked in the software industry. As I've been learning new technologies and techniques, I've always used side projects to become familiar with new technologies. In the past, I followed the Build a C#/WPF RPG by Scott Lilly to learn some new techniques since I enjoy games and RPGs. That … Continue reading Lesson 1.1: The Background