Content
DBContext is not found in adding view scaffolding
DB context class is not displaying in scaffolding


How to update appSetting for a Background Service (Service Worker) (.NET 6)
Hello, I came to ask you for your help, please. I have created a Worker Service which periodically deletes files in a folder. My path to the folder is stored in an App.config file, I read the value via ConfigurationManager. It works, but I want to be…
Uninstalling Webview2 version 111.0.1661.54 on windows 11
Hi all, I would like to uninstall Webview2 version 111.0.1661.54 and install an older version to allow another app installation. The previous method of uninstalling using setup.exe --uninstall --msedgewebview --system-level --verbose-logging…


MAUI fails to deploy Android app
buildoutput.pdf Hi, Ia m trying to deploy my MAUI Android app to my device but keep getting Build Failed and not sure what is the reason. Attached is the build log.. Kindly help.. Thanks, Jassim


TestContext is null when invoking method using Reflection
I am invoking a Data Driven Test Method from another service using Reflection. This Data Driven test read the data from file using TestContext and it is null. The purpose of this service is to run all the End to End tests available in the UnitTest1…


when connect to db2 database it balzor form hangs and stuck ?
I working on blazor web application working on two database sql server and db2 i face issue when connecting to db2 to get some data data retrieved slowly and some times hang and stuck so i need to make best idle case to handle connection issue to db2…


I have a listview with a groupheader which displays the group name and items underneath it. Is there anyway On click on the header/Group name I can show or hide the items underneath it?
For example : On click of the "Bear" I can show /hide the items


How do I fix APT206 - failed linking file resources and APT2259 'textEnd' is incompatible with attribute iconGravity errors?
I have a Xamarin Forms application that I am migrating to MAUI and I am getting the following 2 errors during compilation. APT2259 'textEnd' is incompatible with attribute iconGravity (attr) flags [start=1, textStart=2]. APT2061 failed linking file…


How to display and hide drop down lists based on condition drop down list ?
I work on blazor server side I have drop down list condition have 3 option server and database and owner . every option from these three options have one drop down list only so server have drop down list database have drop down list owner have drop down…


textbox cursor at top
i have this code to move to bottom of textbox It does not work //move carat to end of text textBox1.Select(textBox1.Text.Length, 0); textBox1.Focus(); textBox1.ScrollToCaret();


Recognize .NET MAUI Image loading failure
I'm using the .NET MAUI Image control to display images stored on disk. In rare cases an image file can be damaged, so the image cannot be loaded into the Image control. If this happens, I see an exception in the…


Which is best, entity framework core in a class library, MVC or Blazor server side
HI, I am planning to create an MVC project. I wanted to use entity framework core. I am wondering if I should install it in a class library or an MVC project. I see that I can use a class library to make the use of EF more available for any…


How to create query builder from dynamic multiple tables by ASP. Net Core?
I want to build a dynamic report by Asp.net core -EF-, that is received tables and columns names from user, and then create SQL query depended on theses inputs, to generate dynamic report, I searched how can create SQL query, but most ways were with one…


How to restrict scrolling and panning with single finger and enable with two fingers in UWP ScrollViewer using touch screen?
Hi, In an UWP application, I am having a ScrollViewer in the XAML which contains a StackPanel as Content. In that StackPanel there are some images. XAML: <Grid> <ScrollViewer x:Name="scrollView"…


How do you impersonate as a different user/service id and then try and connect to sql server using windows authentication?
This is my connection string Data Source =server;Initial Catalog=Database;Trusted_Connection=True;MultipleActiveResultSet=true;Integrated Security=SSPI; After establishing the connection string I am trying to test connection and here instead of it…
Conditional MainPage in AppShell
Hi, I have the below in my AppShell <?xml version="1.0" encoding="utf-8" ?> <Shell x:Class="MyApp.Mobile.AppShell" xmlns="http://schemas.microsoft.com/dotnet/2021/maui" …


Why does the .net maui title bar disappear on iOS when using shell.searchhandler?
I am developing a .net maui iOS app that uses shell.searchhandler. The app also uses shell.titleview, which appears above shell.searchhandler in the XAML. When you tap in the search box, the virtual keypad appears, but the shell.titleview disappears.…


How do I dynamically replace value in razor syntax based on selectedIndex in dropdown
I have an CSHTML View that has a dropdownlist. In the OnChange event I'm calling reportchange(this) which calls my function reportchange. How can I dynamically use the selectedIndex, this code doesn't work because the Razor code errors out with the…


OnNavigatedTo For ContentView
Hi, What is the alternative to OnNavigatedTo in the ContentView? Thanks, Jassim


Xamarin.Android.Bindings.targets was not found
when running the following command on a xamarin.android class library project dotnet pack --configuration Release I am facing following issue MSBuild version 17.3.0+92e077650 for .NET…

