Egil Hansen on Blazor Testing with bUnit - Episode 169

Egil Hansen on Blazor Testing with bUnit - Episode 169

This week, Jeffrey is joined by Egil Hansen; a Principal Developer at Delegate, as well as a Microsoft MVP and a .NET Foundation member. Egil has a strong focus on creating maintainable software and loves DDD, TDD, Blazor, and clean code principle. He also streams his coding live on Twitch every Monday and Wednesday.

Egil is also the creator and maintainer of bUnit; an open-source library for testing Blazor components, and AngleSharp.Diffing; a library for semantic comparison of HTML in C#. In this episode, he's giving a rundown of bUnit, its capabilities, and the story behind its creation. He also shares his thoughts on Domain-Driven Design, the future of Blazor, and his background in the industry.

Topics of Discussion:

[:36] About The Azure DevOps Podcast, Clear Measure; the new video podcast Architect Tips; and Jeffrey's offer to speak at virtual user groups.

[1:12] About today's episode with Egil Hansen.

[1:30] Jeffrey welcomes Egil to the podcast!

[1:37] Egil shares his background and what initially led him to develop software.

[4:02] Why Egil took notice of Blazor and what led him to creating the testing library, bUnit.

[7:19] Egil describes what bUnit is and how it's used with Blazor.

[8:44] Egil shares his thought process with putting bUnit together (as well as specifically for testing UI code.)

[14:35] A word from Azure DevOps Podcast's sponsor: Clear Measure.

[15:13] Egil shares his approach to decomposition so that you run into difficulties with testing.

[20:14] Egil speaks about layout components with bUnit.

[23:57] Egil's thought process on component interaction with bUnit.

[25:49] Egil shares his predictions on where he sees the Blazor project going in the future.

[27:54] Egil summarizes what Domain-Driven Design is and what he likes about it.

[31:44] Jeffrey thanks Egil for joining the podcast and Egil shares how listeners can get in touch with him.

Mentioned in this Episode:

Architect Tips — New video podcast!

Azure DevOps

Clear Measure (Sponsor)

.NET DevOps for Azure: A Developer's Guide to DevOps Architecture the Right Way, by Jeffrey Palermo — Available on Amazon!

bit.ly/dotnetdevopsebook — Click here to download the .NET DevOps for Azure ebook!

Jeffrey Palermo's YouTube

Jeffrey Palermo's Twitter Follow to stay informed about future events!

DEVintersection Conference — Dec. 7th‒9th in Las Vegas, Nevada (Use discount code: PALERMO)

EgilHansen.com

Egil Hansen's LinkedIn

Egil Hansen's Twitter @EgilHansen

Egil Hansen's Twitch @EgilHansen

Egil Hansen on GitHub

bUnit on GitHub

Blazor

Domain-Driven Design: Tackling Complexity in the Heart of Software, by Eric Evans

Want to Learn More?

Visit AzureDevOps.Show for show notes and additional episodes.

Episoder(395)

Adrienne Braganza Tacke: Code Review Patterns & Principles - Episode 347

Adrienne Braganza Tacke: Code Review Patterns & Principles - Episode 347

Adrienne Braganza Tacke is an accomplished author and software engineer with a passion for educating others about software development. Choosing a path distinct from the expected trajectory of nursing...

28 Apr 202539min

April Yoho: GitHub in 2025 - Episode 346

April Yoho: GitHub in 2025 - Episode 346

April is a senior developer advocate and DevOps practice lead for GitHub, specializing in application transformation and DevOps ways of working. Her focus is working on Microsoft Azure to take custome...

21 Apr 202537min

Jerry Nixon: .NET Aspire and Databases - Episode 345

Jerry Nixon: .NET Aspire and Databases - Episode 345

Jerry Nixon is a Principal Program Manager on the SQL Server team focused on the Data API builder. He's also a fanatic for #CSharp, #StarTrek, and Etymology. He also serves as a professor at Colorado ...

14 Apr 202550min

Stephen Toub: AI in .NET  - Episode 344

Stephen Toub: AI in .NET - Episode 344

Stephen Toub is a Partner Software Engineer at Microsoft. Stephen has been at Microsoft for almost 24 years and has done it all. If it has to do with .NET, he's been in it. And today, he looks after a...

7 Apr 202537min

Bruno Capuano: AI Developer Training in .NET - Episode 343

Bruno Capuano: AI Developer Training in .NET - Episode 343

Bruno Capuano is a Principal Cloud Advocate at Microsoft where he empowers teams to build AI solutions with Azure using programming languages like C#, Python, and C++. His approach is to solve complex...

31 Mar 202538min

Per Kops: Architecture of Ollama and Local LLMs - Episode 342

Per Kops: Architecture of Ollama and Local LLMs - Episode 342

Per is an experienced software architect and developer with more than 19 years of experience in designing, developing, and testing software. He is currently serving as a Distinguished software develop...

24 Mar 202535min

Patrick Escarcega: Software Engineering Principles - Episode 341

Patrick Escarcega: Software Engineering Principles - Episode 341

Patrick Escarcega is the Chief Technology Officer (CTO) at Meserow Design, a company known for its excellence in developing and maintaining custom software solutions. His background is in software eng...

17 Mar 202532min

Daniel Roth: .NET 10 Preview 1 - Episode 340

Daniel Roth: .NET 10 Preview 1 - Episode 340

Daniel Roth is a Principal Product Manager on the ASP.NET team working on ASP.NET Core, Blazor, and other web features. He has previously worked on various parts of .NET, including System.Net, WCF, XA...

10 Mar 202540min

Populært innen Politikk og nyheter

giver-og-gjengen-vg
aftenpodden
aftenpodden-usa
forklart
lydartikler-fra-aftenposten
stopp-verden
popradet
fotballpodden-2
nokon-ma-ga
dine-penger-pengeradet
rss-gukild-johaug
det-store-bildet
rss-ness
hanna-de-heldige
aftenbla-bla
rss-dannet-uten-piano
rss-utenrikskomiteen-med-bogen-og-grasvik
frokostshowet-pa-p5
e24-podden
rss-penger-polser-og-politikk