— New online course!  Getting Started with Azure DevOps — Special launch price 50% off —
Posts Currently viewing the tag: "C#"
[TL/DR? – skip to the bottom] I ran into a problem with an ASP.NET MVC Core app today and it took me a while to figure it out. Here’s the problem: on an extremely simple and straightforward form, I couldn’t get a field in my model to POST back to the server…(Read More)


Update: June 20, 2019 — Here’s an updated version of this post and the snippets including support for Visual Studio and Visual Studio for Mac. A couple of months ago, I got inspired to really learn .NET Core and Visual Studio Code (VSCode).  But I didn’t just want to learn it from Windows — the…(Read More)


I just wrapped up my talk at VSLive Austin 2018 — “Unit Testing & Test-Driven Development (TDD) for Mere Mortals”.  Thanks to all the attendees for the great questions. As promised, here are my slides and code samples. Unit Testing & Test-Driven Development (TDD) for Mere Mortals Unit Testing and Test-Driven Development (TDD…(Read More)


I just wrapped up my talk at VSLive Orlando 2017 — “Unit Testing & Test-Driven Development (TDD) for Mere Mortals”.  Thanks to all the attendees for the great questions. As promised, here are my slides and code samples. Unit Testing & Test-Driven Development (TDD) for Mere Mortals Unit Testing and Test-Driven Development (TDD…(Read More)


I just wrapped up my talk at VSLive Redmond 2017 — “Unit Testing & Test-Driven Development (TDD) for Mere Mortals”.  Thanks to all the attendees for the great questions. As promised, here are my slides and code samples. Unit Testing & Test-Driven Development (TDD) for Mere Mortals Unit Testing and Test-Driven Development (TDD…(Read More)


I just wrapped up my first talk at VSLive Las Vegas 2016 — “Unit Testing & Test-Driven Development (TDD) for Mere Mortals”.  Thanks to all the attendees for the great questions — especially the discussion we got in to about unit testing private methods. As promised, here are my slides and code samples. Unit Testing…(Read More)


If you’re writing a WPF application or some other XAML-based application, you’re probably using the Model-View-ViewModel (MVVM) pattern.  If you’re being “good” about your MVVM implementation, you’re putting all your button click handling code into ICommand properties on your ViewModels.  (What!? You’re not doing that?  Naughty naughty…(Read More)


I spoke at VSLive Orlando 2013 last month and did a talk called “How to Be a C# Ninja in 10 Easy Steps”.  How to Be a C# Ninja in 10 Easy Steps Are you new to C# and want to get awesome? Are you pretty good at C# and want to raise your…(Read More)


It’s tough to work on a project that doesn’t involve XML.  XML is everywhere and I kept needing to do the same things again and again from project to project.  I took my C# XML utility methods, converted them to extension methods, and then put them into a class that I…(Read More)


I just wrapped up at VSLive Chicago 2013 and, as promised, here are my slides and code samples from the “Design for Testability: Mocks, Stubs, Refactoring, and User Interfaces” talk.  Design for Testability: Mocks, Stubs, Refactoring, and User Interfaces You’re sold on unit testing. You’re even doing “test first” development – but there…(Read More)