Dropbox on .NET Maui
I am trying to get Dropbox to work in .net maui. I have it working fine in xamarin.ios, it open a browser and get them to login, then when the go back from the browser, the app is receives the redirect in appdelegate.cs to get the auth token and use it…
double roundoff error in calculations
All of these following code statements should yield the same value, but the second to fourth statement have a second to last digit rounding error in c#. The first statement is correct and fifth to last are correct. Do you know this is…
This configuration section cannot be used at this path. This happens when the site administrator has locked access to this section using <location allowOverride="false"> from an inherited configuration file.
Server Error in '/' Application. Configuration Error __Description:__An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file…
image not loading in modal popup imageurl in asp.net c#
i am trying to load image in image button through modal popup. The problem is modal popup is showing, but image not loading which means it is blank window. i am storing all the images in different server and application hosted in another server. what is…
How to fill a ListView?
Dear all, I'm a beginner in C#. Could anyone tell me how to fill a ListView?
how to read ObservableCollection to an array
I may be doing this the wrong way, I want to read all the Line in my listview to be able to add them to an array. xaml <ListView ItemsSource="{Binding MyItems}" IsGroupingEnabled="True" GroupShortNameBinding="{Binding…
Update Workload Problem/ NuGet Package unable to be installed.
**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …
Select Delete commands
Hello, I've been given this samples for insert into and update: Using command As New OleDbCommand("INSERT INTO Table (Column1) VALUES (?)", connection) command.Parameters.AddWithValue("@param1", field1) …
COM timeout Excel
Microsoft 365 Excel version 2403. C# application (WPF on .Net 8) using excel COM interop ("automation") which adds a menu in the Excel application and setsup a click handler (in WPF). All works normally just fine, but when debugging and say…
Android Emulator waiting for debugger to attach in .net maui app
I upgraded my .net maui app from .net 7 to .net 8 and updated my nuget packages. I built the output solution but deployment was not successful as I had received the error message:- Xaml XC002 erro: Binding could be compiled if x:datatype is specified…
Does NumberBox.Value NaN not equal double.NaN?
When I use NumberBox (WinUI2), I have trouble as follows: if (NumberBox.Value == double.NaN) // It keeps false. { // Some action codes. } Is there any bug about this equation? I would appreciate it if anyone could solve this problem.
running asp.net intranet application on localhost asking for authentication
I have an intranet application written int ASP.net core, when I run this application on localhost, I get a pop window asking me to authenticate and once I enter my domain name\my username and password then it authenticates me and lets me run the…
Exception problem
Hi, I've got issue due to this line below. reader = cmd.ExecuteReader(); Can it be owing to no record returned?
Define Thread
Hello, In this code: Dim ThreadBlah As New Thread(AddressOf BlahThread) vs Dim ThreadBlah As New Thread(New ParameterizedThreadStart(AddressOf BlahThread)) ThreadBlah.Start Private Sub BlahThread(ByVal InParam As Object) ... End Sub I can define…
framework realated question
what is frame in framework for .net applicatons like .net framework 3.5 and what it indicates for frames
Unauthorized error when logging in with IdentityModel.OidcClient in MAUI
I am responsible for the development of a cross-platform application that must log in with OpenID. This application is developed in Xamarin.Forms, but I have to migrate it to MAUI. To log into the application I use the IdentityModel.OidcClient library.…
Where can I get the syntax, is there a comparison table? How do you do it?
Sample IsValid callback; // define a variable of delegate type IsValid callback = s => s?.Length > 1; // using lambda, define a callback function var result = callback("test"); // invoke the callback code IsValid…
Func, Action, Predicate delegates, events in C#
Hello! I am looking for a good short guide on when and how to take what. Do you have any examples or do you know a good site?
Procedure for a m:n data relationship
Hello! Are there any tools or tips on how to create a data model? Once the data model is there, how best to deal with primary and foreign keys. The based on XML or JSON format. Save and read XML or JSON files. <MappingTable> <Parameters> …
Issue with move folder API in Microsoft Graph when Email ID contains "/"
When attempting to move a folder using the following endpoint: Endpoint: https://graph.microsoft.com/v1.0/me/messages/{EmailId}/move I'm encountering an error when the EmailId parameter contains a "/" symbol. Despite trying to encode the Email…