Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [.net-9.0]

The tag has no usage guidance.

0 votes
0 answers
7 views

In HybridCache .net 9.0 is there an easy way to ignore null values in the serialized Json value?

I'm using HybridCache in .net 9.0 and I want to leave out the object properties that have a null value. code: services.AddHybridCache(options => { options.MaximumPayloadBytes = 1024 * 1024; ...
fantastischIdee's user avatar
0 votes
1 answer
46 views

"FileSystem" doesn't work on .net maui 9 preview blazor hybrid "Web App" project

SCENARIO I am using .Net Maui 9.0 Preview, Blazor Hybrid Web App. I need to initiate some code before the project starts (or in parallel) but it must display on home page after fetching it from some ...
wafers's user avatar
  • 1,211
2 votes
0 answers
51 views

How to update existing cache using HybridCache in .NET 9

I am trying to see if I can update a cached collection (in memory) using HybridCache. When using MemoryCache, I can do something like this, this was an easy "hack" to update collection ...
Zulander's user avatar
  • 690
0 votes
0 answers
35 views

In .NET 9, serialization of style using XamlWriter and XamlReader throws exception

In .NET 9, serialization and deserialization of style using XamlWriter and XamlReader throws exception. But in .NET 8 and other framework versions, it works fine. Please find the code below. In .NET 9,...
Karkuvel Rajan's user avatar