Changing Taskbar (Shell_TrayWnd) Color to Transparent
0 I found a way to change color to fully transparent, by researching structure of DesktopWindowXamlSource of Taskbar (Shell_TrayWnd). I'm curious is it possible to somehow change BackgroundFill in DesktopWindowXamlSource to Windows.UI.Xaml.Media.Brush…
REST interface possibilities
Hello, I have seen a code snippet like this, can I return more than two objects in this task? Then I can ask it like this. bool responseState = false; string responseData = ""; (responseState, responseData) = await…
<Title> tag not reflected in AssemblyInfo.cs
Hello <Title> tag is not reflected in the generated AssemblyInfo.cs. ConsoleApp1.csproj <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType> …
Validate Xml file
Hello, I just need to verify if a file is xml, no specific structure, so just loading to an xml parser and if no exception is thrown at load, I'm fine with it, so I use: Dim doc As XDocument doc = XDocument.Load(InputStream, LoadOptions.None) Check for…
Issues with Access Permissions in PhoneLineTransportDevice API on Windows 11
I am currently working on a hands-free application on Windows and using the PhoneLineTransportDevice API. To utilize the features of this API, I initially request access permissions using the PhoneLineTransportDevice.RequestAccessAsync() method. This…
Help Needed: Errors in Initial .NET MAUI Project
I have created my first .NET MAUI project several times, but to my surprise, errors appear without changing any line of code. Although the application runs fine, the lines remain underlined. I have captured a screenshot so you can see the issue and guide…
I dont understand why OnPropertyChanged is not firing in neither my Model or ViewModel
I am using the MVVM Community Tollkit and below is the generated code. I also included my Model code and the OnPropertyChanged Method. I put a breakpoint in the generated code on the property Spousessn and it was fired and OnPropertyChanged in the…
How to register device on Entra ID programatically
Hi , I want to register my local device to Entra ID using c#. I have gone through the Microsoft Graph API documentation as well but didn't get any information related to this topic please help me.
How to Create a Device on AAD Using Microsoft Graph API ?
I'm trying to use the Microsoft Graph API to create a device in Microsoft Entra ID. I need to generate a device ID and include it in the deviceid property of the POST request. Additionally, I want to know if this API call can join my Windows machine to…
Timer Function returns 404 on consumption plan. cronjob but http fn invokes ok
Timer function returns 404 from both postman and Az Portal test/run. Http function executes from Postman and from Az Portal test/run, OK. App is deployed from GitHub Action. I have used Restart and Refresh but cron job does not fire. Publishing model:…
C# app, Long Path support on Windows 10 post-1607, .NET 4.6.2.
Hello, I've got an app where long path support is now needed. It's running on Windows 10 post-1607, long paths have been enabled via group policy. When the app was targeting 4.6.1, it threw the PathTooLongException what a System.IO.FileInfo object is…
How to get SSO SAML token using C# from Azure Active Directory
Hi everyone, Just a quick question. Is it possible using C# to authenticate an account in Azure Active Directory and retrieve an SAML token back? If so, how can we go about doing this? Many thanks
I am using the MVVM pattern and I want to get the value of the property in the OnPropertyChanged event
I want to get the value of the property in the OnPropertyChanged event. I would rather not use reflection.
.Net Maui Validate Property of a Model in the ViewModel Class
I am using MVVM along with the MVVM Community Toolkit. I have a Constructor in my .Net Maui ViewModel public EmployeeEditViewModel() { CompanyInfo= new PYEModel(); } I have an Observable property in the .Net Maui ViewModel…
XDocument vs XmlDocument
Hello experts, To load and parse PAD xml from string which one is recommended to use, ie faster or more…
![](https://techprofile.blob.core.windows.net/images/ofQD8GBS0U6YYGKocDXMyQ.png?8D8915)
How to scroll in the tabs area in TabView in WinUI3 by using code
There are many tabs in a TabView Control in WinUI3 App. I made a function: pin a selected tab to top. After set it to the top (meaning the first tab ), I make it be selected. Everything is ok, but the first selected tab may be hidden if I had previously…
Text inversion in right-to-left languages such as Persian in the Itextsharp Paragraph
First and foremost, I apologize for my grammatical errors; my first language is Persian (Iran). I want to add Persian text to the PDF headline, but when I do this through the iTextSharp.text.Paragraph class, I get into trouble. I can solve this…
![](https://techprofile.blob.core.windows.net/images/vp-G0Inlv0Wd6bS0QH0sWg.png?8D9F84)
How to fix Expression: m_pAccessor != 0 Debug Assertion Failed!
Debug Assertion Failed! Program: C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll File: C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.39.33519\atlmfc\include\atldbcli.h Line: 5198 Expression: m_pAccessor != 0 For…
How do I resolve this exception thrown while trying to do CRUD operations on CSOM?
How do I resolve this exception thrown while trying to do CRUD operations on CSOM? Let me break this down for you. CRUD, of course, means "Create Read Update and Delete". CSOM is the tech for connection C# to a Sharepoint List (or, I assume,…
![](https://techprofile.blob.core.windows.net/images/9T8x8PikrkuLN7Jg5BNPdw.png?8DC1D1)
![](https://techprofile.blob.core.windows.net/images/9T8x8PikrkuLN7Jg5BNPdw.png?8DC1D1)