Request OAuth2.0 token using azure app services managed identity
Hi All, I have a question on Azure App Service Managed Identity. Currently we are working on an API project where it provide the function to interact with user in Azure Entra thru Microsoft Graph API calling. To protect the API function, we have a…
System.NullReferenceException: Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object. at Mono.Debugging.Soft.SoftDebuggerAdaptor.GetTypeName(EvaluationContext ctx, Object type) in…
MAUI CommunityToolkit MediaElement a grey screen is showing in non full screen mode.
In my MAUI application, the CommunityToolkit MediaElement a grey screen is showing when the video is playing in non full screen mode. In full screen mode the video is playing correctly. I have changed the source video but the issue is still appearing.
Value cannot be null. Parameter name: format
Value cannot be null. Parameter name: formatValue cannot be null. Parameter name: formatValue cannot be null. Parameter name: format Value cannot be null. Parameter name: format
OAuth2 callback redirects user to authorization page
I am implementing OAuth2 authorization in my application with an external provider. When the user is redirected back to my application from the authorization server, my application will just redirect the user back despite using the Redirect() method to…
Visual Studio stopps responding when creating new React + .NET project
Hello. I have a problem when creating new project in Visual Studio. I am trying to create new Fullstack React + .NET project using the official React + .NET template. However upon creating new project, the console gets opened and quickly closes only for…
Trouble Implementing Federated Credentials with Managed Identities in Azure Function App API Authentication
I have an API inside my function app and have been accessing the API using the secrets created in the app registration associated with the function app. Now we're looking to eliminate the secrets and modify it to use managed idenities as the client app…
CTRL Commands Not Working with Winforms Web Browser
Hello, We have an application with a winforms web browser hosted on a WPF window and this browser is used to load HTML's within our application. These HTML files have fields that allow users to fill out. Letters and numbers work fine when put into the…
Unable to load the native components of SQL Server Compact
Hello All, I am trying to create a local database programmatically using C# with Sql server compact edition. I have Visual Studio 2019 and created a project with .NET framework of version 4.8. I have the following code which will create a database. …
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}" …
Mac question
I don't understand why in Mac is not possible to open all windows Mac does not support programmatic activation of windows. First of all, I would like to inform you that the user has to touch the screen to active a session on iOS/MacCatalyst. Please…
saving the Identity token in the Aspnetusertokens table
Hi I created an Asp.net core 6 project and I added the Identity framework for authentication and authorization, I would like to add token management and while doing research I realized that Identity also manages the management of tokens because it…
How to copy big file 5g with task and within impersonation
Hi, How to copy big file 5G from source to destination using impersonation: WindowsIdentity.RunImpersonated( ImpersonationHelper.Token Thanks,
Format of the initialization string does not conform to specification starting at index
I am using .net android(not maui) and ef core and sqlite. but there is error Format of the initialization string does not conform to specification starting at index how to use sqlite in .net android?
.Net-6 docker image from Microsoft Container Registry has vulnerabilities
Hello, I am trying to pull .NET docker images from Microsoft Container Registry and while scanning these images I am seeing below vulnerabilities. Does any body have any suggestion to fix this please? FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine FROM…
there is something wrong with my c# program, and i need assistance.
Here's how my program like, or you can also see it from attached image:partial class Boot { static void Main() { Console.WriteLine("please input the path of your data store."); string ds_path = Console.ReadLine(); try { …
How do you fix the NETSDK1082 error? (no runtime pack for android-x64)
I am currently trying to implement a Microsoft Login in my .NET MAUI app using this tutorial. It runs using the debugger for Windows, but throws this error when I try to run it on an android emulator: 'There was no runtime pack for…
.net TLS 1.2 enable Ed25519 in signature algorithms extension
Hi, We are trying to use .net System.Net.Security Sslstream to communicate with a TLS server which only support ED25519 signature algorithm. The problem is ED25519 is missed in signature algorithms extension in client hello, which is not accepted by TLS…
.net MAUI is there a way to have an entry field have focus on load but not show the soft keyboard?
so ive worked on an android app in VS2019 and in that app its not a problem for me to have a screen load up, set focus to the first entry field( in that case its an EditText) but not show the soft keyboard. it will only show the soft keyboard if the…