Content
Button click event is not firing
Greetings again dear experts. I have an .aspx page with two sections One section allows our users to enter records displays existing records for update. The second allows users to preview the records, whether insert or update before submitting to the…
How to terminate a process cleanly from a background service
I have developed a program which runs as a Windows service. This program starts a process to run another exe file. It's developed in C# with .NET 6.0. I know I can use Process.Kill() to terminate the process, but I'd like to try to end the process…


How to System.BadImageFormatException (No string associated with token) error solved
Our Web Application build in .NET 4.8 and hosted as an azure app service throws this exception in some views. Here is the stack trace for one of these exceptions. We have run out of options to try certain things but it is stuck like that. We have tried…


Failed to create release build in iOS due to bitcode issue of Plugin.Firebase in .net MAUI having dotnet 7.
Have implemented fcm push notification in MAUI having .net version 7 from the below link : https://cedricgabrang.medium.com/firebase-push-notifications-in-net-maui-ios-2f4388bf1ac. For testing , creating release build to test on…


Sodium.js error
Does anyone know what is sodium.js and what is this error means? This error started showing in my asp.net MVC app. I have autocomplete on my text field which uses json call which queries database and I've noticed that even the autocomplete works,…
Hoe to share a document link for external user using one drive API
I am using Onedrive api for sharle a document link to extenal user in c# it is not working


Azure multi tenant microservice architecture and many app registrations
Let's say I have a multi tentant microservice architecture fronted with an API gateway of which a client app calls to access the microservices behind. Let's say it's grown to a complex system that has 50 microservices all needing user…


Upgrade my Azure Function from .net Core 3.1 to .net Core 7.0. Error "'Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstraction
I have an Azure Function which run on .net core 3.1, but when i change the .net version from 3.1 to 7 i got this error:- System.IO.FileNotFoundException: 'Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=7.0.0.0,…


Can Add-In include WebAssembly C# code
I wonder if Add-Ins supports C# WebAssembly / Blazor so I can code in C# and not only java script to develop a more sophisticated Add-in? If it is, I would like to know how I could use C# for an Add-In in Outlook to then be deployed in Marketplace.


Fix database errors in visual studio
The code for selection of a row in data grud view doesnt work for me (Microsoft visual studio 2019)


Referencing multiple projects with top-level statements
I have two projects A and B. Each project has a single top-level statement Program.cs file. I made the Program class visible from each project by enabling internals: <InternalsVisibleTo Include="MyTargetProject" /> The problem is that…


How to fix error in visual studio 2019
The code .DataSource = ds.Tables[0]; doesn't work for me. What might be the error?? In Microsoft vs 2019


Timespan.FromHours(24) not working after publish application on Azure app service
Hi i hi have one small simple application which logs the information. So I have one basic application which is using System.Threading.Timer and setup timer to run my function once a day and create logs. Ex. _timer = new Timer(callbackAsync, null,…
"dotnet" is not recognized
I have installed a fresh Windows10, and downloaded the "dotnet-install.ps1" from Microsoft: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-install-script And I ran it with a powershell window: > .\dotnet-install.ps1 -Channel 7.0…


xamarin android emulator android > 9 ? how to make ?
Hello all, I have vs 2022 entreprise installed on my computer all works fine with emulator below android 9 .. i can push my app , debug ans so on .. I've try to make an android 10 / 11 and so on but impossible to start it ,, Of course i have the sdk who…


fileupload emty error !!!
Hello friends, if the file upload is empty SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["Holding_DB"].ConnectionString); con.Open(); SqlCommand cmdSelect = new…


How can caming towns null ?
When the city is selected, it comes with the town. But when the city is selected, I want the town to be empty and for the user to select it. I want when user choose city second drowboxlist caming null how can add ? my code is ; For example…


how can add validation 2 drowdownlist
The user comes and selects the city from the first dropdownlist. If the first value is selected from the second dropdownlist, I want it to give an error. I want to add validation but failed. Help me please ? Where is my mistake ? my code ; var…


Xamarin Form Add Multiple Binding
Please I need help. I have my Xamarin Form app that works very well with DataBinding to its View Model named OrderDetailViewModel. But today I have to add another DataBinding field in line 10 Binding OrderStatusMessage that is bind to its Xaml.cs file…
How can add HTML paragraph alignment
I have a paragraph with too many words in it. I want it to be left and right aligned. Like Microsoft Word (same as ctrl+D). How can I do this? First ; I want like this ; This is (Ctrl+D) Is there a parameter in html that I can do the same way? My code…

