How can i get current user groups from Azure AD using claims in dotnet core?
I have a dotnet core web application and this app authorisation is working based on azure AD. Question: How can i get all the groups name related to login user? do i have to make any changes in my azure app? I have already added this setting in…
How to implement "When the maui project is executed and compiled to generate an EXE, how to place all the dependent dll files of the EXE in the libs directory under the EXE directory"
I am a beginner of MAUI. I developed a simple Windows project using maui. I now encounter a problem. The problem is that the compilation result of this project will copy all the dependent DLLs of the EXE to the same directory of the EXE. These DLLs…
How to implement layered architecture?
Hello I started working on layered architecture to write some more professional code in C#. As a result of research on the internet, I saw that each person implements layered architecture differently. This caused confusion. I use the MVVM pattern in my…
Why does daemon app require user sign-in in API service principal?
I am following the code sample here: https://github.com/Azure-Samples/active-directory-dotnetcore-daemon-v2/tree/master/2-Call-OwnApi#register-the-client-app-daemon-console I am not using the sample code API, instead I have a simple test API. Both API…
What could be the potential impact of changing the registry value Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\v4.0.30319\SystemDefaultTlsVersions from 0 to 1. Could it have any negative impacts for other applications, tools, etc...?
User was unable to login to Power BI the login window was not appearing. But after changing the Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft.NETFramework\v4.0.30319\SystemDefaultTlsVersions registry value from 0 to 1 on my machine. It seems to…
Is there a way to minify or bundle or pack blazor wasm js?
Is there a way to minify or bundle or pack blazor wasm js? For example all of these files that get downloaded, some of them are third party libs but I want a generic "pack any js" into one file library.
How to reference/consumme assembly manifest based on CPU in WPF C# Application project?
I want to reference an older Win32 assembly from a Wpf C# application. I do have both x86 or x64 versions of the Win32 assembly but I don't see how to reference based on selection target CPU.I can only specify either one. The Visual Studio C# project…
AddMutableTrack mediaType string value
I'm using Swift AVFoundation in MAUI to perform audio file manipulation. As part of that I need to use the AddMutableTrack method. Swift's documentation says to use: let compositionAudioTrack = composition.addMutableTrack(withMediaType:…
.Net 6 Ubuntu jammy 22.04 base image upgrade. GSSAPI NTLM error
We are planning to upgrade from .Net 6 to .Net 8 version. To prepare for that upgrade we first upgraded from ubuntu 20.04 to ubuntu 22.04. We target ubuntu 22.04 version jammy tag with amd64 architecture. This is our base image in the Docker file and the…
Edit directly in Grid on WEB Page in Razor
I have a table that I populate in Razor pages using stored procedures. I populate table in a loop on the Razor pages. I want to put a button on the grid and when you click on the button you can edit the values directly in the Grid and Save it back to the…
Cannot access a disposed object when Upload file in Background Service
This is the error I am facing: Error occurred executing workItem. System.ObjectDisposedException: Cannot access a disposed object. Object name: 'System.String'. at…
Trying to figure out why ocx file wont load form.
Program is able to run perfectly fine, but when trying to edit the form you get: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))Class not…
how can my pc allow certain apps to work without ruinning my router?
hello so i have docker and another app and whenever i launch them the internet in the house stop working, some websites like telegram or so still work but other then that the internet doesnt work at all, my question is can i allow the pc in settings or…
POS for .NET - Arabic characters appear reversed.
Dears, I have issue with printing Arabic characters in POS for .Net. the Arabic word "مرحبا" appears "اب ح رم". I have "EPSON TM-T20II". I used "Epson.opos.tm.setpos.exe" to add device with character set…
MSBuild 16.4 MSB3644 Error .NET 8 Deployment Center Sync
I have 3 API projects repo'd in devops and hosted on windows 2016 servers (App Services) that were using the app service continuous deployment sync functionality. So far, everyday i have deployed small code changes to all three environments. One by one…
Transparent flyout items
I don't know why, but if I change my flyout to "Locked "in Desktop In cannot see anything my pages are there, and I can navigate but I cannot see. FlyoutBehavior="{OnIdiom Desktop=Locked, Phone=Flyout}" …
Download captured HTML Div as PDF and also send as PDF attachment to email
I want to achieve 2 things: Capture HTML, convert to Image and download as PDF Send the captured and converted HTML div as PDF attachment to email When I tried capturing the entire div and convert into image and download as PDF but it appears the…
How to secure web api in asp.net c# (offboarding and crossboarding users.)
Hi , How to secure web api in asp.net c# i want to secure the web api for offboarding and crossboarding users. Example-offboarding : we have created one api, so we want to secure those api. suppose if a employee has left the organization and he knows the…
Help fixing my .NET framework
I have a problem with my .NET Framework, whenever I run programs like Discord, it gives me this error message: Clicking "Yes" forwards me to the installation page, which after running the installer, I am told that the .NET framework already…
FCM V1 notifications are not delivered from Azure Notification Hub
I am following this Microsoft Guide to migrate from GCM/FCM notifications to FCM v1. From the guide, I - Configured the Firebase Service Account Credentials in Azure Notification Hub Updaeted backend and app (Xamarin) to use FCM v1 platform during…