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…
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…
Remote debugging of ASP.NET (.NET Core 8) app under IIS 10 will not show source code on breakpoint
Historically, I've had no problems using the remote debugger on a Windows server for .NET Framework web services. I've now had to create a .NET Core 8 Web API using VS2022. I've published the service to a W2016 host and am hosting it under IIS…
Performance issues in Session State
Hi. We are running a .Net Framework 4.8 mvc web application with redis session state setup. We are experiencing performance issues and the profiling we have done indicates that session state, specifically GetSessionStateItemAsync, is waiting for long…
How do I fix static assets not showing on implementing project with .Net9
Hi, I am having an issue in my app when trying to implement a Nuget package. My project has the following configuration: <ItemGroup> <!-- Include the JavaScript file in the NuGet package --> <Content…
Issue with TabbedPageRenderer Causing IconImageSource to Disappear on CurrentPageChanged Event
I am experiencing an issue with the custom implementation of TabbedPageRenderer in .NET MAUI. When the CurrentPageChanged event is invoked, the IconImageSource for the tabs intermittently disappears. This behavior seems related to how the renderer…
Impact of Upgrading to Xcode 16 on Xamarin Forms Code Compatibility
Hi, I am in the middle of migrating the Xamarin Forms code to MAUI, but we still need to release production bug fixes with Xamarin Forms. I am currently using macOS 14.3.1 and need to upgrade to macOS 15.2 to get Xcode 16, as I am receiving an error…
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…
Android Apk not installed
dotnet publish -f:net9.0-android -c:Release /p:AndroidSigningKeyPass=math@24 /p:AndroidSigningStorePass=math@24 When I try to install apk file "on my Android phone I get below error "App not installed as app isnt compatible with your…
face registration and face authentication
hello, I am developing a app in .NETMaui. I am searching for a way where I can create a database for faces with face registration(taking picture of left profile, right profile and front face) and save it. Authenticate the user using this face database…
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…
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…
Issue with DataGrid Selection in WPF Application
A WPF application has been developed using .NET 5, which includes a DataGrid and a button. The following is the code for the button's click event. The issue encountered is that the index and selectedRow values of the DataGrid are only correctly stored…
How can I retrieve an Azure isolated runtime .NET 8 QueueTrigger Connection String from the Key Vault
tl;dr In an Azure Function written in .NET 8 C# in Visual Studio using the isolated runtime, is there a way to allow the Connection for a QueueTrigger to be retrieved via Microsoft.KeyVault()? [Function("ProcessEvent")] public void…
How can I create and upload an iOS-Build from Visual Studio to App Store TestFlight?
I had already created an application on App Store Connect some time ago and I had uploaded an iOS-Build in TestFlight. The iOS-Build expired and I want to upload a new iOS-Build. I had created my first iOS-Build on a macOS device. I switched from macOS…
VS2022 Publish is disabled
I am trying to create msix file for Windows but Publish is disabled please suggest.publish.gif I am using VS 2022 and recently upgraded. Thanks, Kalyan
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…
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?