Content
How to achieve non-blocking processing in a Web API method?
I have a Web API with the MyWebApiMethod in it. Inside this method I want the following to happen: Start LogicA, wait for it to finish and then proceed to step 2. Start LogicB and proceed to step 3. without waiting for LogicB to finish Return an OK…


How to Open Files on Xamarin Android Using FilePicker
using Xamarin.Essentials; (at the top of the file) async Task<FileResult> PickAndShow(PickOptions options) { try { var result = await FilePicker.PickAsync(options); if (result != null) { string Text…


How to set multiple selected value and show them in dropdownlist with MVC?
How to set multiple selected value and show them in dropdownlist with MVC? my .cshtml <div class="col-6 mb-1"> <label class="form-label" for="">Members</label> <div…


The corresponding web pages are not loading when the link is tapped in Xamarin forms
In my Xamarin forms project, we show the HTML data on the UI using a webview. Using below code I am showing html content on UI: var htmlSource = new HtmlWebViewSource(); htmlSource.Html = description;//HTML Content web_view.Source = htmlSource; My HTML…


How to add example value to 200 OK response in ASP.NET Core 6 Web API?
Hi, I have an ASP.NET Core 6 Web API, I am using Swagger UI. Is it possible to add an example value to 200 like the one in the 400? I want to add an example like this; { "referenceId": "732aa76f-6c9c-4598-adaf-775aef8a0f3d", …
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…


we have installed iis on new server,we have deployed our websites to iis 10,we have checked all services like w3svc logging is running,but iis log files are missing.can you please help us regarding this?
we have installed iis on new server,we have deployed our websites to iis 10,we have checked all services like w3svc logging is running,but iis log files are missing.


VisualStudio debug services on Docker-Compose not starting
Hi, I try to debug 3 services using Docker-Compose in VS 2022. ServiceC depends on ServiceB which depends on ServiceA. All of these "depends*on" use condition: service_*healthy and every service has a healtcheck. VS will only start container A…
After installing VS2022 , getting NU1201 error on .net framework 4.7.2
Hi, I have developed on .net framework 4.7.2 and want to use .net6 on same machine , for that reason I have installed VS2022. Everything were build perfectly on VS2019. After installing VS2022 , getting NU1201 error on native projects of .NET…


angular loop form problem
HI so i am trying to develop an attendance system in asp.net core web api and angular as front end now ill provide the code first First the form: <form [formGroup]="attendanceForm" (ngSubmit)="onSubmit()"> <section…


Check if the ContentPage is a MainPage
Hi, In .NET MAUI, how can I check the current page is a Mainpage? Thanks, Jassim


Why i am getting TypeInitializationException
Hi, Why I astarted getting the below error when running my iOS app? can anyone help please.. System.TypeInitializationException: The type initializer for 'Microsoft.Maui.Controls.Shapes.Shape' threw an exception. ---> System.MissingFieldException:…


Why does Windows.Media.Audio.AudioGraph has inferior resampling quality compared to Windows.Media.Playback.MediaPlayer ?
I'm working on a modulated signal generator that uses audio render as output. So far I tested two methods of output from my application to hardware: Windows.Media.Playback.MediaPlayer Windows.Media.Audio.AudioGraph My generated input data encoding…


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


How can I resolve a mono_wasm_set_is_debugger_attached error in published Blazor WASM app on Edge?
In the latest version of Microsoft Edge I have an issue where a published Blazor WASM (.NET 6) application it getting errors on launch: Assertion failed: Cannot call unknown function mono_wasm_set_is_debugger_attached, make sure it is exported As far as…


DataTrigger if Else case
Hi, I have an Image that I want to show and hide based on a Label like this: <Image.Triggers> <DataTrigger TargetType="Image" Binding="{Binding Source={x:Reference LabelNickname}, Path=Text}" Value="Add"> …


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…


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


How can word file displayed in a div container be printed in a pdf format?
I am trying to have a single page that will can be used to display either a word (.doc/.docx) or a PDF file. Instead of having two pages, each for word and pdf files. It’s a success but printing either of these formats in PDF is where I have…


How to find the network event change in windows using forms or windows service - c#?
Hi Team, How to get the events when the network is changed or connected newly or disconnected in c# (windows system)? I have tried with the management event watcher. But it does not give expected output. The code I have used as below. The…

