#96 Steve Gordon, Http Client Factory in .NET Core 2.1

Summary
Steve Gordon and I talk about the new Http Client Factory in .Net Core 2.1. We cover what's new, what's different and how to use Polly, the .NET resilience framework with it.

Details
Who he is, what he does, meetup group, Humanitarian Toolbox. What is wrong with Http Client, exhausting sockets; using a singleton, DNS problems. Http Client Factory, creates a client pool, using DI to create the clients, named and typed clients, testing. Http Client Handlers. Using Polly with Http Client, differentiating between policies for a given endpoint, wrapping, calling delegates.

Links
Steve's homepage

Steve's series on Http Client Factory.
Steve's twitter

Steve's MS Doc's page

Scott Hanselman's post on Http Client Factory.

Download mp3 of podcast

#95 Ben Watson, High Performance .NET

Summary
Ben Watson, software engineer at Microsoft working on Bing and author of Writing High Performance .NET Code talks to me about his book and how to improve your code.

Details
Who he is, what he does, working on Bing lead to the book, Bing is probably the biggest C# app in the world. Why worry about performance, pay for play, serverless; sometimes more machines are the best solution. Where to start with the CLR, the garbage collector, JIT, be careful of enum flags. More on GC, using generations to improve efficiency, aim for very short lived or very long-lived memory, memory efficiency is as important as CPU efficiency. What about the network, async await all the way down, Ben likes TPL, "immutability is key". LINQ hides allocations, closures delegates. Be careful with Func and Actions, delegates cause allocations. Spans. Concurrent collections. Just in Time, small methods compile faster, Bing loads thousands of dlls. Readability and maintainability vs performance. for vs foreach.

Links
Ben's homepage

Ben's book

Download mp3 of podcast

#61 Jon Skeet (part 2), Google Cloud Platform

Summary
This is part two of my interview with Jon Skeet, we continue from part 1 with some more on C# before discussing the Google Cloud Platform.

Details
.Net Core; is C# Jon's second language? starting on Spectrum, BBC Micro, writing his own language, c, Java was first professional language, took up C# in 2001, "Java is not that bad a language"; Google Cloud Platform, what differentiates Google from the other cloud platforms, Jon aims to make the best c# libraries; Stackoverflow "this could be my next form of addiction"; listener questions - why so many languages; keep it simple when learning and learn one thing at time; how Jon divides his time, work life balance, "don't do anything you don't enjoy or believe to be beneficial to the world".

Download mp3 of podcast

#60 Jon Skeet (part 1), Noda Time

Summary
This is part one of a two parter with Jon Skeet, here we talk about Noda Time and all things time, date, time zones and offsets. We also chat about the C# specification. In part two we cover the Google Cloud Platform.

Details
Who he is, what he does, Google briefly (more in part two); Noda Time, history, time libraries are bad, v1 is forever, databases store datetime badly too, what is wrong with current libraries, DateTime.Now is bad, time zones and offsets, how to store and transfer Noda Time, UTC and local times; C# specification, "Mads Toegensen is the nicest person in the world", C# standards bodies, how the language changes.

Download mp3 of podcast.

#50 Julie Lerman, Entity Framework Core 1

Summary
Julie Lerman tells me all about Entity Framework Core* and her love of learning.

Details
What's new with EF, whole new code base, no EDMX, no object context, EF 6 is not going away; in memory provider for testing, better disconnected scenarios, proof of concept for NOSql, batch updates; is it production ready; learning cool things; Julie has been working on EF since 2006; books on EF; using Aurelia; Julie Lerman uses a Mac now; domain driven design; demoware vs good practices; learning from Jimmy Bogard; Julie's hectic conference schedule.

* this podcast was recorded before the rename from Entity Framework 7 to Entity Framework Core 1.

Download mp3 of podcast

#44 Bill Wagner, C# 7

Summary
Bill Wagner, author, Microsoft MVP and member of the ECMA C# Standards Committee, tells me about his writing, C# 7, language standards and the move the open source.

Details
Who he is, how he writes, C# standardization, compiler implementations, .NET Foundation Advisory Council, the move to open source, port to Linux, .Net core, .Net foundation, C# 7 new features, async streams, non nullable types, better support for unity; quick tutorial on async - "go async all the way"; compiler analyzer.

Download mp3 of podcast

Book Recommendations
Essential C# 6.0

Effective C#

More Effective C#

Every Shot Must Have a Purpose

Quiet Strength: The Principles, Practices, and Priorities of a Winning Life