This is your work, valued
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)
383InlineMapping. Using the Compiler API for object mapping
65AutoDeconstruct. A library that automatically adds support for object deconstruction in C#.
42Presentations. If I've done a presentation, I'll have the slide deck here (probably....no guarantees)
25SpackleNet. Spackle is a project that contains a number of helper methods I've used to supplement the core classes in .NET.
16BlazorTopToBottom. This contains code and other assets related to the "Blazor Top to Bottom" VSLive workshop.
13EmitDebugging. 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.
12EditorConfigGenerator. Creates an .editorconfig file for you based on your style!
11DynamicProxies. This is an assembly that creates proxy classes on-the-fly using the Reflection.Emit API. Generics are supported.
8CompilerAPIBook. Sample code for my ".NET Development Using the Compiler API" book
8BlazingTheWeb. Demo code for my "Blazing the Web - Building Web Applications in C#" presentation
8Injectors. A code injection framework for .NET
7SourceGeneratorDemos. Demo code for my "Using Source Generators for Fun (and Maybe Profit)" talk
7CslaGeneratorSerialization. A custom CSLA serialization formatter that uses C# source generators.
6Deregionizer. Want to remove regions from code in your solutions? Check out this code!
6CachingOptions. Demo code for my "Caching Options in .NET" presentation
6ExpressionEvolver. A program to evolve expressions to fit a set of data.
5AnalyzingCodeInDotNet. Demo code for "Analyzing Code in .NET" talk
5PartiallyApplied. Partial function application in C#
5Transpire. A .NET package containing Roslyn-related artifacts, such as analyzers and refactorings
4IntroToTypeScript. Code Samples for my "Introduction to TypeScript" session
4WhatsNewInCSharp10. C#
3LOLCode.net. A LOLCODE compiler written in C#.
3IronBefunge. IronBefunge is an interpreter (written in .NET) for Befunge programs.
3FileGenerator. FileGenerator for Reflector
3BenchmarkInvestigations. A random collection of performance tests I've done using Benchmark.NET
3UsingUsings. A .NET tool that provides statistics on how much you use a using directive
2AssemblyVerifier. 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.
2WritingModernCSharp. Demo code for my "Writing Modern C#" presentation
2StaticCast. Casting types to call implemented static abstract members
2Quixo. An implementation of the board game Quixo.
2ExceptionalDevelopment. Demo code for the "Exceptional Development" talk
2MockingBlazorDependencies. Demo code that looks at mocking types set as dependencies in Blazor projects
2ConcurrentProgramming. Concurrent Programming in .NET
2WhatsNewInCSharp9. Demo code for my "What's New in C#9" presentation
2BustingDotNetMyths. Sample code for my "Busting .NET Myths" talk
2ExploringActorsWithOrleans. Sample code for "Exploring Actors with Orleans"
2BuildingBlazorApplications. My demo code for the "Building Blazor Applications" workshop
2DependenciesDemystified. Code for my "Dependencies Demysitified" talk
2WhatsNewInNET6APIs. Demo code for my "What's New in .NET 6 APIs" talk
2WhatsNewInNET7APIs. Demo code for my "What's New in .NET 7 APIs" talk
1AdventOfCode2024. My code for [Advent of Code 2024](https://adventofcode.com/2024).
1ExceptionFinder. ExceptionFinder for Reflector
1ExceptionalStatistics. Using Roslyn to gather statistics on exception handling
1SpansMemoryPipelines. Code samples for my "Spans, Memory, and Pipelines - Making .NET Code Fast" presentation
1InstantAPIs. A library that generates Minimal API endpoints for an Entity Framework context.
1Collatz. Creates a sequence of numbers based on the Collatz Conjecture.
1WebAssembly.Generators. Source generators for the WebAssembly package.
1NUnit.Experimental.TestAdapter. An experimental idea to use a source generator to handle test discover and execution in NUnit
1CodeSnippets. A collection of VS snippets I've created.
1