Astronomy sample does not build - file path for java src not found.
Severity Code Description Project File Line Suppression State Error (active) XA5301 Failed to generate Java type for class: Google.Android.Material.Behavior.HideBottomViewOnScrollBehavior/IOnScrollStateChangedListenerImplementor due to MAX_PATH:…
Error in our ASP.NET Web Host app after updating to the latest version of Visual Studio 2022
Hi there, We have an ASP.NET solution running on our dev machines, which are Windows Server 2022 Datacenter. Previously, the app was working fine. However, after updating Visual Studio to the latest version (Microsoft Visual Studio Enterprise 2022…
how to get pcm in android in MAUI?
I want to use fftSharp in MAUI both android and ios. and it can not open mp3 or other file to fftsharp how to use it ? how to get pcm in android and ios?
System.ArgumentException: Options.ClientId must be provided (Parameter 'ClientId')
I am trying to host my .NET core project on windows server IIS, have published the files there but having an error. Category: Microsoft.AspNetCore.Server.IIS.Core.IISHttpServer EventId: 2 SpanId: 15ef495fc1e97c42 TraceId:…
Azure deployment for tutorial failed
The deployment of the tutorial server for "Exercise - Consume a REST service with HttpClient" on azure failed. How do I fix it? [ { "id": "fa64322c470c419da27840996cea099b", "status": 3, …
Application_start event not firing in server, but works just fine in debug.
We have an .net framework web application running on IIS 10. I've added some code in the Application_start method of Global.asax.cs and it's not getting fired at all in the server. This is working just fine in debug using visual studio 2022 using target…
POST API Call Failing with 405 Error in Azure Static Web Apps
A Blazor WebAssembly app is configured to connect to a SQL database following the guidance in this article: How to host static web apps. The API status is healthy, and GET calls work as expected. However, POST calls to add records to the database return…
Azure B2C: User not logged out after logoutURI
Hi, I've configured a B2C tenant and built a .NET MVC app to use it as a login. Now, I'm trying add an option for the user to sign out, so a different account can be selected. Signing out of the app is easy, I just do await…
"The NPM script 'start' exited without indicating that the create-react-app server was listening for requests" In .Net React Application
When I try to run my project I always get this error: I've tried everything I've seen online, and it still fails. I've executed "npm install" and a lot of npm commands I've seen in similar questions online. I've updated npm, node.js…
How to fix "Disallow the fast IO path for this operation" error in NuGet Package Manager for Visual Studio 2022?
When attempting to install any package from NuGet Package Manager in Visual Studio 2022, the error "Disallow the fast IO path for this operation" appears. To resolve this issue, steps taken include updating Visual Studio, uninstalling antivirus…
Build automation - Deployment Center - failing System.Text.Json 8.0.0.4 - Including fix C# ASP.NET
I have getting an error with my latest build using DotNet 8.0 when using the "Deployment Center" on Azure which is connected to my git repo. I couldn't find a fix specifically online so I dug deeper and through trail and error I've come to this…
Multiple ASP.NET Core Web API instances runs only once
I have an ASP.NET Core 8.0 Web API hosted on two IIS applications (app-1 and app-2) under the Default Web Site on a Windows 11. Both IIS applications point to the same physical path (inetpub\wwwroot\myapp) and each application has its own dedicated…
Firebase Analytics not logging events in MAUI .net9 for both iOS and Android ?
Hi, Firebase dashboard is not registering any logs for my MAUI app. I am using Xamarin.firebase.Analytics for Android and AdamE.Firebase.iOS.Analytics for iOS. .csproj <ItemGroup Condition="'$(TargetFramework)' == 'net9.0-ios'"> …
Find Mac address
Hi, I used this code to find mac address,but if there is virtual adapter there is no mac addtess and function return me null, how is can be fix ? I'm in net 8,using MAUI. /// <summary> /// Get MAC address /// </summary> ///…
Find Mac address
Hi, I used this code to find mac address,but if there is virtual adapter there is no mac addtess and function return me null, how is can be fix ? I'm in net 8,using MAUI. /// <summary> /// Get MAC address /// </summary> ///…
EfCore owned property state for parent entity
Hi, I use EfCore v8 with some Json columns. My code: // Parent entities public class Project { public Guid Id { get; set; } public string Name { get; set; } public ICollection<KolomMetadata> KolomMetadata { get; set; } } public class…
How to Write a DependencyProperty for a TextBlock when it is a child element of a parent Button class in WPF C#?
Hi there, I want to make a Dependency Property for a Text Block and the functionality of this property is to apply a Scale Transformation on the Text Block but I am unable to do that Because it's a child element inside of a Button class. I have a…
I need application always has the fixed, 100% scale, even if system settings are 200% per monitor or per whole system
Is there a way to disable scaling for all the WPF application even if windows has some scale per monitor or system-wide scale? I need to have WPF windows that is always 1:1 with physical pixels (DPI is always 96), and by this time I found no way to do…
entity frameowrk
hi iam using dotnet 6 iam new to dotnet can any one tell me is there any way to enable lazy loading for certain queries in dotnet6 s currently enabling globally working its not giving too much improvement in performance and memory use and and also want…
Capturing the Pixel Color at the Cursor Position Doesn't Return Correct Color on Different DPI Monitors with Multiple Monitor Setup
Hello, In the provided sample, we are trying to capture the pixel color at the cursor position. This works correctly in a single monitor setup and in multiple monitors with the same DPI settings. However, when used in a multi-monitor setup with different…