Can we convert .eml file to pdf , .docx or any image format
I am fetching the email from exchange server through graph api and then saving it to .eml , for which i didn't got any way to directly convert it into pdf , .docx or any image format . But while going through outlook when we open any message and go to…
Issue with 405 Method Not Allowed instead of 401 Unauthorized in ASP.NET Core with JWT Authentication
Hi everyone, I'm encountering an issue with my ASP.NET Core application where I'm getting a 405 Method Not Allowed error instead of the expected 401 Unauthorized error when accessing an endpoint that requires authentication. Here's a detailed description…
How to run asp.net web application using visual studio code ?
I work on .NET 4.7. I have an issue: I can't run applications in Visual Studio Code. I don't know how to run it. Startup page is http://localhost:22851/WebPages/loginT.aspx This page opens in Visual Studio 2019, but how to open the page logint.aspx in…
FirebaseApp Initialization Error in MAUI .NET 8
Hello, I am encountering an issue with initializing Firebase in my MAUI Android and iOS projects. The error message I am receiving on Android is: [mono-rt] [ERROR] FATAL UNHANDLED EXCEPTION: Java.Lang.IllegalStateException: Default FirebaseApp is not…
Dependency Properties in User Controls
I have a simple Slider and Label user control that I load into my window and I want to change the following properties using databinding from the main window. Slider Properties -> Value, SelectionStart, SelectionEnd (all doubles) Label Properties…
Microsoft Authenticator
Hello, I am currently experiencing issues with the Microsoft Authenticator app. When I try to log in to an application, it asks me to enter a security code generated by Microsoft Authenticator. Unfortunately, I have forgotten the security code, and I did…
Why am I Only Seeing Warning Level Logs in Application Insights?
I am working on an ASP.NET Core application and have integrated Application Insights for logging. However, I'm facing an issue where only Warning level logs (severity level 2) are being sent to Application Insights, even though I expect to see logs of…
MAUI stops keeping the display up to date when an HTTP request is made
I am new to MAUI programming as well as parallel Thread programming. I have retrieved a MAUI application that I am trying to modify. The application captures a sound sample and transmits it to a server to identifies its origin among a set of determined…
Regex for QRCode Information
Hello everyone and thanks for the help in advance. I am developing a program to read information scanned by a QRCode reader. Here is a sample of the input (01)00358160740213(17)260515(10)32PF3(21)5HZ6R1PX8C The input includes the GS1 separator fields…
ML.NET ImageClassification with GPU
I 'll get a very low accuracy(about 3%) This is not the case with CPU(about 88%) with RTX 3070ti What may be the reason for this?
Blazor 8.0 NavigateTo throws an exception
Hello, I have a language selector that calls the following code and it works like a charm. On other hand, I want to change the language from within the MainLayout on Initialized event (async) but then the very same code throws an exception of type…
Unable to publish with fulltrustprocess and Multiple instances of UWP app
UWP experts , There are three components here. Main UWP app with multiple instances supported through package manifest - C# UWP FullTrustprocess that acts as the appserviceconnection server - C# .NET 8 WAPP Package that bundles UWP app and…
How to use WebView2 AddBrowserExtensionAsync in UWP?
Attempted to use webView.CoreWebView2.Profile.AddBrowserExtensionAsync(extensionPath) but received the exception "The request is not supported." It's understood that AreBrowserExtensionsEnabled must be set to True, and the property is found in…
The local farm is not accessible. cmdlets with featuredependencyid are not registered
Dears, Hope this mail finds you well. We are facing an issue with our SharePoint server while opening either the Windows PowerShell or SharePoint Management Shell, throwing an error as “The local farm is not accessible..”. I tried to run the Shell with…
About Async Methods and Binding in WPF MVVM
Hello, In my WPF MVVM project, I have an asynchronous method that returns Task<List<Person>>. I would like to define a property like this: public Task<List<Person>> PersonsTask => GetPersons(); I want to bind this property…
TEAMS 's CHATMESSAGE
Please ask C# how to use clientId, tenantId, clientSecret, chatId these parameters to send messages to the group graphClient.Chats[chatId].Messages.PostAsync(requestBody);
How to use DataContractSerializer with Binder
Hi Team, We are converting BinaryFormatter to DataContractSerializer in our code. With BinaryFormatter we had used Binder property , How can we convert that with DataContractSerializer? Sample: var bf = new BinaryFormatter(); bf.Binder = new…
Public Client Application MSAL.NET deployed to Azure App Service
I have developed a Web-Api application which does access 3rd party users mail. The application is obtaining access through MSAL.NET with a PublicClientApplicationBuilder sample of which is shown at the following link:…
Azure SQL Trigger Cant use Enviroment Variable as connectionstring
Hei i got a simpel SQL trigger and i understand appsettings is not the best approuch when in comes to sensitive data i want to use Enviroment variables instead, but im getting the error "CS0182: an attribute must be a constant expression". I…
Could not load file or assembly ‘Microsoft.IdentityModel.Abstractions, Version=6.35.0.0. Nuget version mismatch Microsoft.IdentityModel.Abstractions
I am developing a C# dll based on .NET framework 4.8.2 which will use Microsoft Graph API to send email through outlook. For this I have added the latest Nuget packages for “Microsoft.Graph” v5.67.0 and "Microsoft.Identity.Client" v4.66.2 .…