Electron.NET

#180 – November 12, 2017

sponsor

50% Discount on Bug Tracking for .NET Developers

.Net Error logging and reporting tools for developers – ErrLog.IO – 50% discount for C# Digest Readers

this week's favorite

Electron.NET

Electron.NET is a wrapper around a "normal" Electron application with a embedded ASP.NET Core application. Via our Electron.NET IPC bridge we can invoke Electron APIs from .NET. The CLI extensions hosts our toolset to build and start Electron.NET applications.

.NET IL Generation - Writing DeepCopy

Last time, we skimmed over some methods to generate code on .NET and one of them was emitting IL. IL generation lets us circumvent the rules C# and other languages put in place to protect us from our own stupidity. Without those rules, we can implement all kinds of fancy foot guns.

FlatFiles: Read and write CSV

Reads and writes CSV, fixed-length and other flat file formats with a focus on schema definition, configuration and speed. Supports mapping directly between files and classes.

Prompter

Prompter is a new program developed by RevDeBug team. It was created purely for enhancing the comfort of debugging. It allows you to see values right in your code during debugging. Bringing the end to tedious copying and writting everything into the watch.

A DoS Attack against the C# Compiler

When generating IL, the compiler always uses fully qualified names for types. You have cleverly found a way to refer to types with names whose lengths that grow at exponential rates. That is why as you increase the generic arity of Outer or add additional levels .Y to the field field in Inner the output IL size and compile time grow so quickly.

newsletters