TotechsStrypper
Dealing with collection type in MongoDb provider efcore
I recently tried out the new provider for EF Core (MongoDb)
The model I got
When I insert the programming language with the versions list mongodb add the new document just fine
But when I try to retrieve data from the database
there's an exception below
3 replies
Blazor net 8 InteractiveServer mode problem
I have .net 8 blazor app that enable the following
When I run the app localhost the all the button interactions are responds just fine,
When I deploy the app to azure, Some button work some don't especially this one with the logic
1 replies
❔ UWP NavigationCacheMode enable cause app to crash
Our team is currently developing a Proof of Concept (PoC) application that requires the use of
NavigationCacheMode.Enabled
. This is to maintain the scroll position of the list from the previous page and for connected animation purposes. However, we are encountering an issue where the application crashes upon navigation, returning the following exception message:
Link repository: https://github.com/Strypper/Petaverse
Branch: master
Page that crash: FosterCenterPage.xaml
Steps to reproduce
1. Navigate to any of the FosterCenter
in the Home
page
2. Inside foster center page select a member
3. When successfully navigated to the member page please press the back button to navigate back to the foster center page
4. Application navigate back to foster page and then crash with the below Exception and stack trace
Exception
Stack trace
2 replies
❔ Style auto apply to all target controls
I recently created this xaml style, I don't why UWP apply that thing to all the navigation view
I only use it when I set the Style property to
StoreNavigationViewStyle
what going on?
The style
The control got affected
2 replies
❔ Service layer design
This is my interface
and here are my the
ServiceSuccess
and ServiceError
basically they are just return information.
My question is for FindAll
, FindById
and FindAllByUserGuid
should I return the same a the rest as OneOf<ServiceSuccess, ServiceError>
and attached the data in ?8 replies
❔ Services collection life time
Hi guys, is it possible to register some services later when the application up and running ?
I stuck into a scenario like this
I have WPF or MAUI application that use signalR for realtime communication, the problem is the application requirement doesn't want to force users to login to connect to the signalR hub, they can do it later.
And this is where the problem happen, if you register signalR when you boot up the app it will lack all the information about that user needed to connect to the hub because many scenarios users don't want to login first but they can do that when they want to
This question is not about SignalR it's about the life time of registering services to ServiceCollection.
17 replies
❔ Cassandra: which programming language have the best support for accessing and write data?
Hi my application need to scale the data source, we heard about Cassandra and really want to use it, does anyone know which programming language best support this database like EF Core for SQL Server ? so we can create a webapp accessing it and deploy it to Azure function
5 replies