Tag: MVC

  • Some Model Properties Not Binding in ASP.NET MVC Core

    Some Model Properties Not Binding in ASP.NET MVC Core

    [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. Every time that…

  • Slides & Code from VSLive Austin 2018: “Unit Testing for Mere Mortals”

    Slides & Code from VSLive Austin 2018: “Unit Testing for Mere Mortals”

    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) arguably mean…

  • VSLive Orlando 2017: Unit Testing for Mere Mortals Slides & Code

    VSLive Orlando 2017: Unit Testing for Mere Mortals Slides & Code

    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) arguably mean…

  • VSLive Redmond 2017: Unit Testing for Mere Mortals Slides & Code

    VSLive Redmond 2017: Unit Testing for Mere Mortals Slides & Code

    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) arguably mean…

  • VSLive Vegas 2016: Unit Testing for Mere Mortals Slides & Code

    VSLive Vegas 2016: Unit Testing for Mere Mortals Slides & Code

    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…

  • Fix for ASP.NET MVC Broken Editor Templates: EditorFor() shows DynamicProxies

    Fix for ASP.NET MVC Broken Editor Templates: EditorFor() shows DynamicProxies

    Quick fix to a problem that I just hit.  I’m writing an application in ASP.NET MVC with Razor and I wanted to use an editor template for a collection on my model.  In this case, I’m trying to edit a Person object that has a PersonPhones collection off of it and I wanted to display a custom editor…