Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
7 views

Why is Animator.SetBool(string, bool)'s effect within a coroutine not consistently reflected in editor or animation behaviour?

I have a simple prototype with a controllable 'villager'. The villager has two animations available to its animator - Guy_idle and Guy_walk. Below is the controller: The villager has a script, ...
Nicole's user avatar
  • 33
1 vote
0 answers
34 views

Reference Class Properties in Reflection

I'm migrating my application library from dotnet framework 4.6 to dotnet core 8 and I've spent days trying to make the Microsoft.ReportingServices.ReportViewer.Core library work. It refuses to, as ...
keithdr1965's user avatar
-4 votes
0 answers
17 views

Warning on .NET validators [closed]

I have a data field that has a fairly complex rule set for validation. However, if the validation fails, I need to allow the user to override the error because there will be rare cases in which I get ...
Darryl Wagoner WA1GON's user avatar
0 votes
0 answers
28 views

NotNullIfNotNull, but using the return value instead of a parameter

I have a function that returns a nullable result and has an out parameter that is also nullable: public Result? GetResult(out Parameter? parameter) { Result? result = //...get the result somehow ...
Daniel Möller's user avatar
0 votes
0 answers
19 views

Writing Spill/Array Data to Excel using OpenXML in C# causes cell to become uneditable

Using OpenXML to write "spill" or array data to Excel. This is data that all lives in one cell, but spills over into other cells. If the cell already has a spill/array in it and then I run ...
Nick's user avatar
  • 83
0 votes
0 answers
37 views

Cast a DataType in xaml

I am having issues setting the DataType for a picker since the property is an interface that does not have the source exposed. Below is my xaml code: <Picker ItemsSource="{Binding ...
tval's user avatar
  • 602
0 votes
2 answers
62 views

C# LINQ - Splitting a List into two variables by a condition [duplicate]

Let's say I have someList of things I want to split into two separate lists by some condition. I've thought of 3 options: // 1 - two Where's var trueGroup = someList.Where(x => x.SomeCondition); ...
C Howell's user avatar
0 votes
0 answers
38 views

Proper management of Database transactions across services - ASP.NET Core, EF Core

I'm currently working on an ASP.NET Core Web API project, using EF Core as my ORM. I'm handling database access through a repository pattern for each entity. This mainly because my project makes use ...
Finamore00's user avatar
0 votes
2 answers
32 views

XmlUnit Diff library - Comparing 2 XMLs ignoring object order

I am writing an XML comparison tool and need to ignore the object, rather than a property, order. For instance: XML 1. <Root> <Vehicles> <Vehicle> <...
Nathan Ash-Vie's user avatar
0 votes
0 answers
41 views

OData $orderby on complex property in projected DTO

I'm building an OData endpoint using EF Core and ODataQueryOptions, and I want to allow clients to $orderby a property that comes from a nested collection in my projection. I am using ASP.NET Core ...
Rasik's user avatar
  • 2,507
-2 votes
0 answers
39 views

Approach to identify and replace obsolete .NET Framework APIs during migration to .NET 8 [closed]

I'm in the process of migrating a solution containing multiple projects from .NET Framework 4.8 to .NET 8. After running the migration using the Upgrade Assistant, I encountered several issues where ...
Shruthi B G's user avatar
0 votes
0 answers
19 views

Domain events didn't fire with Elastic APM CaptureSpan

We had a prod bug where domain events weren't being dispatched when _unitOfWork.CommitAsync() was called inside an Elastic APM CaptureSpan. The thing is, this usually works fine - it's just this one ...
nop's user avatar
  • 6,577
0 votes
1 answer
55 views

How to write set property that modifies if required before assignment?

I have a class member String strIOMask; presently, I have get and set methods, but I want to add a modified set property that checks the value being assigned and modifies it if required. This is what ...
SPlatten's user avatar
  • 5,813
0 votes
1 answer
37 views

ILGPU and MemoryAccessViolations [closed]

I am preparing a method to process some combinations for a Sokoban solver. As far as deadlocks discovery takes ages, I am converting it to run on Cuda cores. A lot seems fine already except for an ...
AlessandroParma's user avatar
2 votes
2 answers
79 views

BenchmarkDotNet: OutOfMemoryException when benchmarking parsing a JSON file

I'm trying to benchmark the performance of a library I've written that can parse large JSON files into both an object model and a JsonDocument. So far as I can tell I'm doing everything right, but I'...
Ari Roth's user avatar
  • 5,554

15 30 50 per page
1
2 3 4 5
108291