Jason Bock

Elite
@JasonBock

Jason Bock is a Staff Software Engineer at Rocket Mortgage and a Microsoft MVP (C#). He has 30 years of software development experience.

Rocks. A mocking library based on the Compiler APIs (Roslyn + Mocks)

383

InlineMapping. Using the Compiler API for object mapping

65

AutoDeconstruct. A library that automatically adds support for object deconstruction in C#.

42

Presentations. If I've done a presentation, I'll have the slide deck here (probably....no guarantees)

25

SpackleNet. Spackle is a project that contains a number of helper methods I've used to supplement the core classes in .NET.

16

BlazorTopToBottom. This contains code and other assets related to the "Blazor Top to Bottom" VSLive workshop.

13

EmitDebugging. This is an assembly that generates a .il source file for emitted code with the correct breakpoints built-in for debugging purposes. It has the same binary interface with the Builder classes in System.Reflection.Emit to make it relatively painless to replace current code with this API.

12

EditorConfigGenerator. Creates an .editorconfig file for you based on your style!

11

DynamicProxies. This is an assembly that creates proxy classes on-the-fly using the Reflection.Emit API. Generics are supported.

8

CompilerAPIBook. Sample code for my ".NET Development Using the Compiler API" book

8

BlazingTheWeb. Demo code for my "Blazing the Web - Building Web Applications in C#" presentation

8

Injectors. A code injection framework for .NET

7

SourceGeneratorDemos. Demo code for my "Using Source Generators for Fun (and Maybe Profit)" talk

7

CslaGeneratorSerialization. A custom CSLA serialization formatter that uses C# source generators.

6

Deregionizer. Want to remove regions from code in your solutions? Check out this code!

6

CachingOptions. Demo code for my "Caching Options in .NET" presentation

6

ExpressionEvolver. A program to evolve expressions to fit a set of data.

5

AnalyzingCodeInDotNet. Demo code for "Analyzing Code in .NET" talk

5

PartiallyApplied. Partial function application in C#

5

Transpire. A .NET package containing Roslyn-related artifacts, such as analyzers and refactorings

4

IntroToTypeScript. Code Samples for my "Introduction to TypeScript" session

4

WhatsNewInCSharp10. C#

3

LOLCode.net. A LOLCODE compiler written in C#.

3

IronBefunge. IronBefunge is an interpreter (written in .NET) for Befunge programs.

3

FileGenerator. FileGenerator for Reflector

3

BenchmarkInvestigations. A random collection of performance tests I've done using Benchmark.NET

3

UsingUsings. A .NET tool that provides statistics on how much you use a using directive

2

AssemblyVerifier. This is a simple wrapper around peverify. The nice thing about this assembly is that you can verify dynamic assemblies (generated via Reflection.Emit) directly in code so you'll know right away if something's wrong with your emitted code.

2

WritingModernCSharp. Demo code for my "Writing Modern C#" presentation

2

StaticCast. Casting types to call implemented static abstract members

2

Quixo. An implementation of the board game Quixo.

2

ExceptionalDevelopment. Demo code for the "Exceptional Development" talk

2

MockingBlazorDependencies. Demo code that looks at mocking types set as dependencies in Blazor projects

2

ConcurrentProgramming. Concurrent Programming in .NET

2

WhatsNewInCSharp9. Demo code for my "What's New in C#9" presentation

2

BustingDotNetMyths. Sample code for my "Busting .NET Myths" talk

2

ExploringActorsWithOrleans. Sample code for "Exploring Actors with Orleans"

2

BuildingBlazorApplications. My demo code for the "Building Blazor Applications" workshop

2

DependenciesDemystified. Code for my "Dependencies Demysitified" talk

2

WhatsNewInNET6APIs. Demo code for my "What's New in .NET 6 APIs" talk

2

WhatsNewInNET7APIs. Demo code for my "What's New in .NET 7 APIs" talk

1

AdventOfCode2024. My code for [Advent of Code 2024](https://adventofcode.com/2024).

1

ExceptionFinder. ExceptionFinder for Reflector

1

ExceptionalStatistics. Using Roslyn to gather statistics on exception handling

1

SpansMemoryPipelines. Code samples for my "Spans, Memory, and Pipelines - Making .NET Code Fast" presentation

1

InstantAPIs. A library that generates Minimal API endpoints for an Entity Framework context.

1

Collatz. Creates a sequence of numbers based on the Collatz Conjecture.

1

WebAssembly.Generators. Source generators for the WebAssembly package.

1

NUnit.Experimental.TestAdapter. An experimental idea to use a source generator to handle test discover and execution in NUnit

1

CodeSnippets. A collection of VS snippets I've created.

1
50
Apply