ASP.NET Core JWT Authentication Returning Unauthorized(invalid-token 401) for Authenticated Requests in Controller Actions
Hi everyone, I'm encountering an issue with JWT authentication in my ASP.NET Core 8.0 application. While the token generation and authentication seem to work correctly in my AuthenticationController, any requests to other controllers requiring…
![](https://techprofile.blob.core.windows.net/images/BShhHLCLI0-r4Esm5bkqDQ.png?8D8B44)
How to fix error code 2147516556 (0x8000808c) in VS 2022
Reference Library uses .NET 8.0, which I configured it as such. Build is successful but Debugger shows below error and program failed to open. The target process exited without raising a CoreCLR started event. Ensure that the target process is…
flayout navigation - how to deal with rasing memory?
Hi, I used flayout navigation. when navigate beween pages it consume alot of memory. In net 8. Not relase the previous page. Does to use GC.Collect()? Is allowed ? Thanks, public void Navigate(string navigateTo) { if (navigateTo ==…
net maui windows platform when maximaze or minimize the page I want to hide and show contents ?
net maui windows platform when maximaze or minimize the page I want to hide and show contents ? when my listing s detailpage opened small size how can i create events for my seconwindow page. maximize show some contents and then minimize back again…
![](https://techprofile.blob.core.windows.net/images/HT4wG8TtG0OVjPjZBQZ7tA.png?8DABF5)
Will Azure Face Liveness Detection be available on .NET MAUI ?
We want to use Azure Face Liveness Detection on .NET MAUI, however the only available supported methods are Kotlin/Java , IOS, and JavaScript for Web Application. Is there any upcoming SDK for .NET MAUI ,if so, when is the expected date of release. Thank…
can't open the .NET Editor coding environment why ???
i can't complete learning because the .net ide didn't work even though i delete the cashe and logout then log in again and open it in a private mode also trying other browsers but it didn't work
Why my ASP.NET razor page app cannot access a specific endpoint?
I have an issue with my ASP.NET app where it cannot access a specific endpoint. It throws a 502 error in Azure and a request timed out on my local machine. The endpoint I want to access is the products endpoint. I found that…
How to create a custom voice for use with System.Speech.dll?
How can I create a custom voice that I can then use with the Speech Synthesizer that comes with System.Speech.dll? Please provide me with step by step instructions.
Dotnet Maui iOS app occasionally crashes on TestFlight on some devices
The MAUI app works fine on Android and most iOS devices, but a few users have reported that it crashes immediately after launch. However, I couldn't reproduce the error in my local environment. It is built with the latest: Xcode: 15.4 .Net 8.0.7 MAUI…
How to use EF Core when two properties in the Principle entity point to the same attribute in the dependent entity?
I have 2 Model classes: Department.cs cs public class Department { public string DepartmentId { get; set; } public string Name { get; set; } public string Description { get; set; } [ForeignKey("FacultyId")] public…
ASP.NET Core Razor Pages - checkbox asp-for
Hello, New user here, a beginner trying to understand how checkbox asp-for works. In this sample application, I am trying to toggle a checkbox on post by a button, but failing. Having googled, read tutorials and attempted variations, I am still…
How to switch audio output between bluetooth and speaker? (Both Android and IOS)
Is there a way to choose or switch audio output between bluetooth and speaker before playing and audio file ? (Both IOS and Android) Thx.
Dynamic Folder Names with AjaxFileUpload
I'm attempting to replace the upload /download pages of our very old ASP classic web site with a web forms app. Keeping as much of the back end stuff the same is important as there is code (mostly VBA in Word, Excel and Outlook) in our daily operation…
Microsoft.Maui version 8.0.70 NuGet packages automatically switch back to 8.0.61
I have updated the NuGet packages Microsoft.Maui.Controls, Microsoft.Maui.Controls.Compatibility and Microsoft.Maui.Essentials from version 8.0.61 to 8.0.70. Then I got the following error when I tried to build my iOS project: Error MSB4019 The imported…
AcquireTokenInteractive with WithUseEmbeddedWebView stopped working after upgrading library.
Hi, [Urgent] One of my live Microsoft Store App (Written in UWP) is using Microsoft.Identity.Client nuget library. Following code was working perfectly well until i upgraded library from version 4.58.1 to 4.62.0 …
Azure app service reverts to previous version
I have blazor web app I'm deploying to Azure App service using VS2022 Preview publish feature. I have upgrade my project target framework to .NET 8. And I have my publish setting target framework to .NET 8. However after publishing the app the…
How and how to return to the main page without losing page data
The page is made with Asp.Net Core Razor Page, In this page >> MAINPAGE (Please see the picture) 1- Populate data and filling dropdown1 Here are the codes: public SelectList TermList { get; set; } public SelectList CourseList { get; set; } …
How to add continuous speech/talk - .NET MAUI Speech
I have the below .Net MAUI code that works great. I want to add continuous speech, I mean when I speak, the recorder must not stop until I press stop button. In the below code, when I stop speaking, or I pause for like 2-3 sec, it stops itself, so I…
Azure AD Connect directory sync fails with "SSL/TLS secure channel" error in event log
I have an Azure AD Connect (v2.1.16.0) installation that has recently begun failing during the majority (but not all) of its directory sync attempts. When a directory synchronization fails, the synchronization service manager indicates that it is the…
C# .NET Bind to CN=Deleted Objects container in domain to list dACL
Hello dear community members, I need some help with C# .NET code to bind to CN=Deleted Objects container in a domain. I tried below methods: In PowerShell - [System.DirectoryServices.DirectoryEntry] In .NET System.DirectoryServices namespace with…