Content
I can't use class on layered architecture
I'm working on a web.api for library otomation project. I'm using layered architecture on project. a485553e-89a6-4fa9-8dd5-1c40de6d40e2.jpg image is my architecture. I couldn't access User.cs class on DataAccess layer. I defined with "usign"…


What is the recommended way of passing parameter info between tabs in a Shell app using MVVM?
I've got a Shell app (I'm not targeting mobile if it makes a difference) that has a main page where the user picks an item from a collectionview, and some strings are passed to the first tab in a TabBar. So, the user is either seeing the MainPage or a…


Security Updates for Microsoft .NET Core (166054) - How do I uninstall older versions of .Net Core
Hi, I am getting multiple vulnerabilities show for machines having older versions of .Net Core installed. I have checked the machines and they do have the old versions in the folder C:\Program Files\dotnet\shared\Microsoft.NETCore.App\versionnumber. If I…


Why is Android is not automatically scroll ViewElement into view when keyboard appear?
In .net-Maui, When I add a ViewElement in a scrollView and the keyboard appear, the keyboard is hidding the ViewElement. If I remove the ScrollView it works fine, but then I can't scroll the content. On Xamarin, Android will automatically scroll the…


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: …


Session is not clearing after signing out from application razor pages
Hi, I want to clear my sessions,once i logout from my application. Now when i logout from application and click the back button,its navigating to the previous page. My logout button is given as a menu in _Layout page like this <li…


How to fix canonical issues with WordPress on App Services
I need to redirect www.example.com to example.com. I have a custom domain with SSL, https enforced. Http requests are being redirected to https and working as expected. Where, or how, do I configure a redirect to get the www.example to redirect 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…


EF Core - Getting records randomly based on a certain criteria
Hi there, I would like to get data one by one (TOP 1) where all the statuses of all related BulkID = 1 randomly. Here is what I tried but didn't work as I wanted. Select TOP 1 BulkId, ProductCode from BulkPurchases where status = 1 group by…
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; …
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…


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…


Upload a file on one drive using microsoft graph api in c# asp.net
Hello, I have one question,I want to upload a file on one drive and it is worked properly in console application but not in web application. Please help me here below is my sample console application…


Address Autocomplete
Hello everyone and thanks for the help in advance. I need to develop a page for address input that will be entered by an end user. Obviously, user input is prone to error so I am looking for solutions to validate the input. I know the US Postal…


BackgroundService Serilog how to email?
Hi, In my background service, I would like to send error logs. Although there is an error, the email sink does not work. The error is being written to the file and mssqlserver successfully. Can you please share your experiences? Here is the…
Change Maui splashscreen
Well the page that describes how to add a splash screen does not work. (GA yeah sure). I copied a jpg to the Resources folder. Changed the <MauiSplashScreen Include="Resources\splashscreen.svg" Color="#5B27D9" /> …


A connection was successfully established with the server, but then an error occurred during the login process Error from .Net core WebAPI
Hi, I've an application that uses WebAPI in .Net core 6 and uses Kestrel server. When calling HttpPost request, the code tries to inject data in DB but fails with error: The certificate chain was issued by an authority that is not trusted. Inner…


Does the class returned by System.Security.Cryptography.IncrementalHash.CreateHMAC(HashAlgorithmName.SHA256) uses a managed or a native crypto implementation?
I've developed an app with Xamarin for Android and iOS which uses a sha256 hash. I need to know if the class returned by System.Security.Cryptography.IncrementalHash.CreateHMAC(HashAlgorithmName.SHA256) uses a managed or a native sha implementation…


CommandName IIS: InvalidOperationException: Cannot find compilation library location for package 'System.Security.Cryptography.Pkcs'
Within my launchsettings.json file I created profile for IIS (Not IISExpress). When I run this application, I get the below error: "InvalidOperationException: Cannot find compilation library location for package…


Play Audio from HTTPS
Hi. How can I play an MP3 audio from HTTPS like https://www.domain.com/my.mp3 using https://github.com/jfversluis/Plugin.Maui.Audio Thanks, Jassim

