What is the correct way to get the site delta query to include the correct graph id for each site returned.
I am using the C# Graph SDK to retrieve the delta of sites in my organisation and i have noticed that they return results with an ID that cannot be used to retrieve more information about the sharepoint site regardless of if it was deleted or not. Here…
Issue with providing load balancing information using AxMSTSCLib
I am trying to establish a remote desktop connection via a remote desktop session broker in my C# application using the 'AxInterop.MSTSCLib' where I encounter problems with the transfer of the load balancing information. Basically, I create a new object…
How to migrate the FCM v1 in xamarin forms apps as xamarin got migrated
Hey Team, We got a mail from Firebase team that legacy http is going to be deprecated . When i checked in the documentation, all i could find is xamarin is not supporting FCM v1. We have azure notification hubs common library for android and iOS and…
MSAL: getting logged in user in C# layer in MSAL project
I have an MSAL project built upon the sample code from Microsoft. Angular front end and .net backend, in the UI I get the logged in user email using the instance of MSAL this.authService.instance.getAllAccounts()[0]; how can I get the logged in user in…
How to check expired date in my database using c# windows form
Good day, I want to check the expiration date on my database. Now if my Form1 running and detect the expiration date in my database the notification will show. private void NotificationOfForm() { DateTime date = DateTime.Now; MySqlCommand…
Compiler cannot find System.Windows.Forms namespace
I'm writing a console app in C#, targeting .Net 8.0. I want to pop a MessageBox, but the compiler can't find System.Windows.Forms. Here's a screenshot of the error: I've searched but cannot find an assembly or package that fixes this issue. Any…
A request that does not have a valid action parameter cannot be processed. Specify a valid SOAP action.
Hello! Please tell me how to correctly execute the method using a Soap request Code: using System.Text; public class Soap { public async static Task CallWebService() { var _url =…
Microsoft.ui.xaml.dll App crashes after Publishing on starting
Hi everyone, We're trying to publish a Winui 3 APP with ClickOnce, but everytime we publish the app and try to start it, we get following error: Faulting application name: Test.exe, version: 1.0.0.0, time stamp: 0x65cd0000 Faulting module name:…
Picker with custom template
This is quite simple task but I am running short on ideas how to implement it. I have added FontAwesome to my app and would like to create a picker control that would display two different labels with different fonts side by side, but it looks like…
how to insert records in a table using script task
I would like to insert records in a table by using script task. I cant use execute sql task and other task available in ssis. The script should be in C#.
How to eliminate if end user open the same ASP.NET page in another tab
This is simple question. I am developing ASP.NET application and sharing the hosted URL to end user. some times end user opens the same page in multiple tab. i want to control, either should not allow the same page in another tab or redirect some…
Microsoft Graph - Issues when trying to upgrade from 3.19.0 to v5.56.0
I got a problem when trying to upgrade GraphServiceClient from 3.19.0 to 5.56.0 (as shown below), how do I update this code to Microsoft.Graph 5.56? Please note, I find all examples on the web and they don't show me a solution: protected…
Access and read all SMS on Android phone with .NET MAUI
For an application that, as a part of its functionality, can read all stored SMS on an android phone, can you give general directions what to read exactly to learn and implement it in a .NET MAUI project? I'm a beginner. I've only worked with MVC, WPF…
What do the "/" and "~" signs mean in file path usage?
Hi, If you allow, I would like to ask a question. I want to access "b5.jpg" in CoreBlogTema from About/Index. Which one should I start with "/", "./", "../", "~/" in the file extension? Can you explain…
Can Desktop Applications Be Used in Azure/ISV Environment?
This is a very basic and generic question, but no answers were found in searching the internet. Can a desktop application (WPF/WCF) run in Azure/ISV environment? I know that an Azure VM can host a desktop/client-server application, but that's not what…
How to Run Asp.net website project as a web Application Project
Hello, I have just assumed a duty to take over development of a asp.net project. It happened that the project is a asp.net website project, and I discovered the the former developer did not create App_code folder, when I brought the solution to my VS…
Deletion from a datagridview on the second attempt returns null exception if the column is hidden, but works fine if vissible.
my program loads a table from sqlite3 and displays the content in a datagridview form with c#. I am sorting the table entries according to name and some values which gives out of order ID's to display in the datagridview. The program works fine if the ID…
How to replace double back slashes returned by AppContext.BaseDirectory in C#
I'm trying to replace the double backward slashes returned by AppContext.BaseDirectory with only one backward slash. I attempted to replace the double slashes using the code snippet below, but it didn't work as expected. Can anyone help me with this?…
Losing GridView Textbox value after GridView Pagination Changes
Please help look into what i need to modify in my code. My textbox is losing values typed into its control after gridview pagination click. Thanks and code below <asp:GridView ID="GridView1" runat="server"…
How to disconnect a BLE device after successful connection
I have successfully connected to BLE device by using BluetoothLEDevice.FromIdAsync(deviceInfo.Id) and bluetoothLeDevice.GetGattServicesAsync(BluetoothCacheMode.Cached) API's in unpaired mode over Windows 10 with .NET Framework 4.7.2 but I was…