Matt Jenkins
Matt Jenkins
After running `cargo asm`, I am noticing a very significant performance drop when running my release build, which I do not understand. Given this, I wonder whether cargo asm is...
When using [Fody NullGuard](https://github.com/Fody/NullGuard), the following projection fails: ```c# dbContext.People .Select(p => new { // Address is a related entity, Label is [Computed] AddressLabel = p.Address.Label, }) .Decompile() .ToList(); ```...
Faced with seemingly inconsistent and inscrutable benchmark results, I followed a hunch and swapped the order of appearance of my two benchmark methods. The following results are consistently repeatable. ####...
["Query results don't contain any entity, which is added to the context but not yet saved to the database."](https://docs.microsoft.com/en-us/ef/core/querying/tracking#:~:text=Query%20results%20don%27t%20contain%20any%20entity%2C%20which%20is%20added%20to%20the%20context%20but%20not%20yet%20saved%20to%20the%20database.) This is confusingly written. Does this mean to convey that a...
I think it would be helpful to reference (or move) the section [Use ulong for timestamp/rowversion](https://docs.microsoft.com/en-us/ef/core/modeling/value-conversions?tabs=data-annotations#use-ulong-for-timestamprowversion), which is currently somewhat buried on the [Value Conversions](https://docs.microsoft.com/en-us/ef/core/modeling/value-conversions) page, to the page on...
This works: ```csharp [InjectLambda] public decimal Total => TotalExpr.Compiled(this); // **Property** private static CachedExpression TotalExpr { get; } = new(order => order.Rows.Sum(row => row.Total)); ``` But changing the property to...
I'm just Googling for C# websocket libs, and https://github.com/sta/websocket-sharp has 4.7k stars...
In previous versions, `csv.Configuration.HasHeaderRecord = false;` would prevent a CsvWriter from printing a header. In the current version, `csv.Context.Configuration.HasHeaderRecord = false;` no longer prevents a header from being printed. If...
I'm slowly starting to adopt C# 8, and I'm finding it practical to switch out Maybes for nullable reference types. I wonder if any scenarios come to mind where a...
Perhaps a consequence of using `struct` for Result: ``` var result = new Result(); // Result._logic is null if (result.IsFailure) { } // null reference exception ```