How to apply search in collection view with portion loaded data?
i want to display filtred product in collectionview defined as: <CollectionView Grid.Row="0" Grid.ColumnSpan="3" IsVisible="{Binding IsNoResult, Converter={StaticResource…
DbUpdateConcurrencyException: Database operation expected to affect 1 row(s) but actually affected 0 row(s). Data may have been modified or deleted since entities were loaded.
Hi If you allow, I would like to ask a question. I want to replace the data I brought with the "public async Task<IActionResult> WriterEditProfile()" method with the "public IActionResult WriterEditProfile(AppUser p)"…
![](https://techprofile.blob.core.windows.net/images/YykzxgI8WU-FS8_8mZ06MQ.png?8D9F28)
Visual Studio 2022 Xamarin Forms UWP Create App Package Error: Task 'SignAppxPackage' failed. The application has failed to start because its side-by-side configuration is incorrect.
I am trying to create an app package (for my Xamarin Forms UWP app) to upload to the windows store. I am using Microsoft Visual Studio Professional 2022 (ARM 64-bit) Version 17.8.3. In Visual Studio, I right-click on the UWP project -> Publish ->…
Blazor accessing global variable issue
Hi all I asked here how to save variable state and i get long answers and what I want is to know if it's possible in blazor to define a variable somewhere in the app structure so I can access it from any component. something like in console program…
Unhandled exception in "Build a web API with minimal API, ASP.NET Core, and .NET" Unit 2.
I wrote my code exactly as instructed, and I'm getting the following error message: Unhandled exception. System.InvalidOperationException: The service collection cannot be modified because it is read-only. at…
Best Report Tools for Blazor
My company is transitioning from legacy software that makes extensive use of Crystal Reports and we are looking for a tool compatible with Blazor. Many options come up in a Google search, but we don't have enough experience with the platform to make an…
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
Blazor Server Side Custom CultureInfo getting overridden when using AzureSignalR
I have a Blazor interactive server side .net 8 application. I wanted to change the default DateTimeFormat across the entire application for certain Cultures, so I created some custom CultureInfo's shown here: public static List<CultureInfo>…
![](https://techprofile.blob.core.windows.net/images/FA0ALqN_QU6SmYMGhVsijw.png?8D97DB)
Connection String to Grant Web App running .NET code access to PostgreSQL Flexible Server via Managed Identity
Hi, I need to deploy a webApp running .NET Code and Azure Database for PostgreSQL flexible server. Our policy is to grant webApps/functionApps access to SQL Server/MySql Server/PostgreSQL Server via Managed Identity. While, I can see connection strings…
MAUI: Slider header is not moving
I have a slider in my UI and I am not able to move it properly. Below is the code: <Slider x:Name="watchme_slider" Grid.Column="1" BackgroundColor="White" MinimumTrackColor="#1c98d7" …
Pentesting Blazor Server Apps
Hi, I came across a web app that is using Blazor Server, all the communication is happening through SignalR. Now in traditional web apps, pentesters use ZAP/Burp to intercept the traffic and manipulate with it. i.e. test access controls by toggling the…
cannot open program.cs file using "code Program.cs"
When attempting to complete Step 1 of "Add the code for your text to speech application" of the Create a single-shot recognition speech to text application exercise, I have manually typed-in as well as copied/pasted in the following: code…
Only one app running in MAC?
Hi, Does this code work on MAC, only one app running ? Thanks, public partial class App : Application { private static Mutex mutex = new Mutex(true, Assembly.GetEntryAssembly().GetName().Name); public App() { if…
Maui MediaPicker.Default.CapturePhotoAsync windows doesn't display camera
When I run the app is the VS 2022 on Windows 10 the MediaPicker.Default.CapturePhotoAsync method displays the camera and allows me to capture a photo. When the app is published and installed on Windows 10 the MediaPicker.Default.CapturePhotoAsync method…
On remote desktop machine (Windows 11), the DataGrid (WPF C# application .Net Framework 4.7.2) event is throwing System.Reflection.TargetInvocationException.
The DataGrid event is giving the exception"System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.InvalidOperationException: Added item does not appear at given index '4'. " while…
Issue with an earlier well functioning AppService
Hello Team, I would like to ask your help in a technical issue. I am creating an AI chatbot flaskbased application , where using mostly open source libraries. For semantic search and ranking I am using FlashRank library…
![](https://techprofile.blob.core.windows.net/images/YykzxgI8WU-FS8_8mZ06MQ.png?8D9F28)
MAUI .NET 8 on Android - throwing an exception
I have created a new MAUI .NET 8 project and migrated the Xamarin forms project code. When I tried to run the project with the Android device with Visual Studio Windows, which threw the exception below, 1>MSBUILD : java.exe error JAVA0000: Error in…
How to fix Add-Migration problem?
Hi, I am trying to add another entity to the database in my e-commerce solution which includes client and admin projects using Blazor WASM and Server, Asp.Net Core API, and data access projects. However, I am getting an error message as shown below: How…
Does ADO.NET support multi-subnet failover for SQL connections, and how does this feature compare to ODBC's multi-subnet failover support?
I am using ADO.NET for SQL connections. Does ADO.NET support multi-subnet failover? I understand that ODBC supports multi-subnet failover. Can you explain the difference between ADO.NET and ODBC in this regard?
Powershell: how does calling a .NET method work?
When I make a call to .NET in, let's say, PowerShell 7.4.3, such as: $HT = [System.Collections.Hashtable]::new() am I right when I say that PowerShell uses the .NET version on which it is based, in my example 8.0.6?
Additional empty page getting adding while generating the word documents.
I am actually trying to generate the word document as a resume using the interop library in an .net app. I am currently using bookmark for the formatting of the details in the word document. Once after the generation an additional empty page is adding at…