How do you get View Page from its associated ViewModel programmatically?
There are rare occasions where I want to get a View Page object from its own ViewModel. Don't worry about the oft-said warning of: "don't break the MVVM pattern". I just want to get the View Page from its ViewModel programmatically. I can do…
.NET MAUI
C#
.Net 9.0 not showing in options in Visual Studio 2022 although SDK is installed -
Hi gentlemen, I have encountered a strange problem on my system. Very recently I installed .Net9 SDK on my system. When I ran dotnet--list-sdks I get the following information: When I run dotnet--list-runtimes I get the following information: …
.NET
ASP.NET Core
Visual Studio
.Net Maui Shell navigation, is it possible to keep previouse page state as in NavigationPage (old way)?
I have a listing page with a CollectionView control, when item clicked it opens a details page, when back button pressed on details page, i lose the scoll position on listing page! With Shell navigation the previouse page is rerendered everytime we back…
.NET MAUI
Entity Framework bulk functionalities (bulk insert,bulk delete)
I'm currently working on an enterprise project that requires some logic for bulk functionalities using Entity Framework. We found a couple of options but both are under licence: EF. Core.BulkExtensions…
Entity Framework Core
How to improve tapping feedback in Maui
Hello. Please. how to improve the feedback of tap recognize on a label of one character because the tapping area is small the tapping feedback is lower. In my app I have a grid row with 10 columns and in each grid cell I have a one character label with…
.NET MAUI
Supportability of XBAP + WCF Message Security + ClientFormsAuthenticationMembershipProvider + TLS 1.2-only in IE11 / PresentationHost.exe (.NET 4.8)
We are troubleshooting the following architecture scenario: • Client: XBAP application(.xbap) running in IE11/PresentationHost.exe on Windows Server 2022 • WCF Service Binding: wsHttpBinding with SecurityMode="Message Security" …
.NET Runtime
Dynamic NavMenu
I am trying to implement the default NavMenu.razor with a number of NavLinks where one of the items is not visible by default. It should only become visible after an authenticated user belonging to a specific role condition is true. My code snippet is…
.NET MAUI
What is the way to certify commercial Windows Forms applications in .NET for Windows to inform that the application is not trusted?
We have a commercial application that was developed in C++ with .NET 4.7 Framework, and then we generated the installer with Inno Setup, but when running the application on some versions of Windows, customers claim that the application is not…
.NET Runtime

ingenico CPX10.14 Pad - How to init and read keypad
I have a ingenico Card Reader Pad, and I want to use it as an Input device to read user Pin Number Changes. Any Ideas on best approach? I am not looking to connect to some POS System, I am only looking to use the device as an Input device for a self…
.NET Internet of things
page components doesn't update after oidc authentication in blazor web app server based
I have a blazor web app (server based) with page components defined parametrically as below: @page "/System/{iSysnum:int?}" @page "/System/{iSysnum:int?}" @implements IDisposable @rendermode InteractiveServer @page…
Blazor Training
iOS App crash on version 15.8.4
My iOS app crash on version 15.8.4 and getting this error- Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[UIBarButtonItem initWithBarButtonSystemItem:primaryAction:menu:]: unrecognized selector sent to instance…
.NET MAUI
ExportToCsv Library Not Working in .NET 8 (Could not load type 'System.Web.HttpContext' from assembly 'System.Web' Exception)
Hi, I'm currently migrating a WinForms application from .NET Framework 4.7.2 to .NET 8, and I'm getting an exception with the ExportToCsv library, we were using it to export tabular data of Order Book, Trade Book to CSV files. In .NET Framework, we used…
.NET Training
ERR_SSL_PROTOCOL_ERROR when running BlazorWebAppOidcServer
0 I am trying the sample code from https://github.com/dotnet/blazor-samples/tree/main/8.0/BlazorWebAppOidcServer. The Home and Count components work fine but the Login results in : This site can’t provide a secure connection localhost sent an invalid…
Blazor Training
How to fix error code 0x80072F8F when trying to install .Net framework 3.5 due to an OS issue Windows 11 computer
When trying to install the .Net framework 3.5 I get the following - Windows needs files from Windows Update to finish installing some features and I then click Let Windows Update download the files for you. It then says this can't be completed due to…
Entity Framework Core Training
How to fix could not find error
I'm working on a maui app. when i try to build project it gives "System could not find the file. (2): C:\Users\jello\OneDrive\Masaüstü\wx\VSC\MAUI\Ccalculate\Ccalculate\obj\Debug\net9.0-android\assets." error message. how can i fix it?
.NET MAUI
Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of "$([System.String]::Copy('C:\Users\tarek\OneDrive\Desktop\StoreAp
Severity Code Description Project File Line Suppression State Error MSB4100 Expected "$([System.String]::Copy('%(Identity)').EndsWith('.resources.dll'))" to evaluate to a boolean instead of…
ASP.NET Core
Blazor
.NET MAUI
Not remembering source control plug-in (Git)
Since the last release, Visual Studio 2022 is not remembering the source control selection. Every time a project is opened, I must open the options dialog, go to Source Control, and select Git from the "current source control plug-in." Once I…
.NET
Visual Studio
how to change the color of the rippleDrawable of button in .net android?
I am using .net android and how to edit the color of the rippleDrawable of button in .net android? I have set the colorstatelist of enabled but it not changed.
.NET MAUI
.NET 9 Core MVC - Database qurstions
I have a very old MS SQL database. When I say old, I really mean that it was created and built upon without any adherence to proper database design discipline. Anyways, this is currently running a very outdated combination of asp and asp.net webform…
Entity Framework Core Training
Supportability of XBAP + ClientFormsAuthenticationMembershipProvider + WCF Message Security + TLS 1.2-only in IE11 / PresentationHost.exe (.NET 4.8)
We are troubleshooting the following architecture scenario: Client: XBAP application (.xbap) running in IE11 / PresentationHost.exe on Windows Server 2022 WCF Service Binding: wsHttpBinding with Security mode="Message" (certificate used for…