Content
Is there a Event handler available on .Net / c++ /c# for Wireless profile added event and deleted event?
I want to register a Windows app for listening to Wireless profile changes (Addition or Deletion) performed on Windows settings or by executing netsh commands from CMD. Is there any event handler available for the same? If yes, how to register for the…


sslPort in launchsetting.json only works with port 44308 - ASPNETCORE MVC
Below is my launchsettings.json file. When I define sslPort 44308. I am able to browse https://localhost:44308. But if I define any other port let's say "44309". It is not working and browser throwing error stating "This site can't be…


Will Xamarin Native be supported in MAUI world
Hello. I've found official end-of-support date for Xamarin: https://dotnet.microsoft.com/en-us/platform/support/policy/xamarin But I've heard, tht Xamarin Native is technology behind MAUI, and it will continue to be supported after that date. It will be…


EF Core 6 - Adding records based on a condition
Hi friends, In my Blazor server application, I am inserting BulkPurchaseRequest records into DB as follows. public class BulkPurchaseRequestsRepository : IBulkPurchaseRequestsRepository { private readonly OyunPalasContext _oyunPalasContext; …
How to convert existing solution to use Shell
I have a solution that does not use Shell. I would like to change it so that it uses shell. I created a new solution and copied the AppShell.xaml and .cs. I changed the namespace to the correct namespace. I then changed the app.xaml.cs to: …


How create a Xamarin Android distro than can be sideloaded?
I have done this before. I believe in Android Porject->Properties->Archive I used to be able to create an APK that could then be sideloaded from a shared Windows server onto an Android device. I am now on VS 2022 and it seems the only Archive…


C# TcpClient/TcpListener / Full Duplex Communication / Sample
Hello! I have already asked. There must be a good example of Socket, TcpClient, TcpListener that does the following. Duplex operation between client and server Automatic reconnection On 10 failed attempts, error message. Read until the root element…


How to set ZKTECO USB fingerprint Reader as Windows Biometric Login terminal
Hi I have ZKTECO USB fingerprint Reader ZK9500R & i want to use it with my PC for Secure Biometric Login please Guide


Deserialising a Json string throwing error in razor pages.
Hi , I have a jsonresult like shown below "{\r\n "AccessRights": [],\r\n "ADAttributes": [\r\n {\r\n \ "AD": "teenajohn",\r\n \ "ADFull": "",\r\n …


WebRoot Directory is pointed at explicit path to Development Machine even on Server
I build my Dotnet 6 MVC application on my computer and copy it onto the server. Attempting to load the site results in a startup error. "DirectoryNotFoundException: C:\Users*username*\source\repos\projectname\projectname\wwwroot" It is…


Overposting: Binding attribute v ViewModel
Is there a preference to methods to protect against over-posting between using the bind attribute or using a view model? The tutorial refers to VIewmodels as an alternative to using the binding attribute but does not suggest that it is better...just an…


getting errors while migrating to MAUI
I have tried migrating existing forms project to MAUI I have used .NET Upgrade Assistant dotnet tool and ran these commands dotnet tool update --global upgrade-assistant upgrade-assistant upgrade <path to sln or csproj> --non-interactive…
Send Stream in WCF Callback
Hi All, I wanted to implement a Stream data transfer over wcf callback.Is there any way is to achieve this? My contract is something looks below. Thanks in advance. [ServiceContract(CallbackContract = typeof(IDataTansferCallback), SessionMode =…


How to share image along with text (both image and text) on same request using Xamarin essential
I want to share image file along with text in my mobile application. I am using Xamarin essential. but with this either I am able to share image or text. how to share both on a single request?


MAUI - CollectionView and scrolling - not working with IOS emulators
Hi I have an issue with my App and CollectionView and scrolling, when testing with IOS emulators. The scrolling does not work on any IOS emulators if more than one page is displayed. It works fine with Android and Windows. Below is a snippet of…
iOS application getting crashed "Could not set up parent class, due to: Invalid generic instantiation"
In a .Net MAUI project app is getting crashed when I am deploying it on device. below is the exception I am getting Any idea why this is happening always?


404 issue to the file
Hi, Due to issue like What to adjust below? <body style="background-color: ???; background-image:url(beautiful_Currency0e.jpg);">


Azure Function (.NET 7 Isolated) create an Azure Function App targeting .NET6?
Today I deployed a new Azure Function App targeting .NET 7 Isolated as framework on Azure. To create the resource on Azure I used the wizard present on Visual Studio 2022, so I both created the new resource and deployed it using VS2022. Going to view the…


Call Windows open popup/alert/dialog platform specific code
Hi, I would like to open from platform specific code an alert in Windows. I know I can do it from await Application.Current.MainPage.DisplayAlert("dad", "dsadas", "cancel"); but I want it from platform specific. So…


Unable to find OpenReadstream in image upload functionality in blazor
Hi i am trying to get image url from selected images.The challenge i am facing here is i am not supposed to touch the OnFilesChanged methode directly.I need to create a seperate class and access the original class items.How i can get image url of each…

