Why is the return value nil when StartTraceW is invoked via Go, while the obtained traceHandle is still 0?
Hello everyone, and distinguished experts. The code is as follows: = func (s *Session) Init() error { if s.readMode { return nil } // start the etw session var handle uint64 utf16Name, err := syscall.UTF16FromString(s.Name) if err != nil…
Developer technologies | C++
using .net10 Blazor Web App Template, counter Page not working after setting BasePath
What Have I Missed when trying to run Blazor in a sub Folder/Path? Thank for any Help, below is how I setup the error. This is the Setup on new project. After creating New Project from Blazor Web App with Setting Running the App Everthing works…
Developer technologies | ASP.NET | Other
Issue with API calls; initially the API is called with blank push id and later it will call with exact push id
I have implemented push notification in my project using Plugin.Firebase package. My problem is on saving the FCM id to database API. I am generating the FCM token on login page constructor and saving it to preferences like below: public…
Developer technologies | .NET | .NET MAUI
My app freeze when I am trying to select a language
This is my app viewModel namespace TextileSystem.ViewModels; public partial class MainPageViewModel : ObservableObject { private readonly ILocalizationResourceManager _loc; [ObservableProperty] public partial bool IsConfigurationsOpen { …
Developer technologies | .NET | .NET MAUI
Getting intermittent "An unhandled error has occurred" message
I'm working on a new Blazor Web Application, we're writing using .NET 9. It is an Intranet app. We have to using Windows Authentication. I'm going through the app, adding that to the app. I've got it getting my company domain name and temporarily…
Developer technologies | ASP.NET | ASP.NET Core
Updating Visual Studio from local layout - no Internet, installation initiated (Resume)
Hello everyone, I'm quite new to the options of updating Visual Studio, so I'll write the scenario I have and I hope that someone can help me :) Majority of machines that are running various versions of Visual Studio got a Visual Studio update deployed…
Developer technologies | Visual Studio | Setup
How to intercept Visual Studio 2026 "Go To Definition"/ "Go To Declaration" ?
From a Visual Studio 2026 C# extension how to intercept the invocation of "Go To Definition" and "Go To Declaration"? I mean these options from context menu (which are also callable from shortcuts) The code below is what I tried,…
Developer technologies | Visual Studio | Extensions
How to run a console application as a windows service
Hii, I'm currently using .NET Framework 4.8 for Console application, and there's requirement that requires the application to run as a console as well as a windows service. I used OnStart() and OnStop() for handling the start and stop function of the…
Developer technologies | C#
Error creating Angular stand alone project in Visual Studio 2022
Following this Microsoft document tutorial-asp-net-core-with-angular I am trying to create a solution with an Angular front end and c# api back end. When I click "Create" for the Angular project (using the stand alone template), I get the…
Developer technologies | Visual Studio | Other
How to use LINQ with 20 databases
The most basic way to connect to a database using LINQ is by building out the ApplicationDBContext class, and even adding a few more classes like it. But I need to select data from as much as 25 databases. In SQL it's easy: SELECT * FROM db1..Table1 join…
Developer technologies | C#
Error When Upgrading a Blazor App to .Net 10
Hello, When upgrading my app(s) to .net 10 from .net 8, I encountered an error that looks like this: This exception is seemingly thrown from blazor.webassembly.js. In the browser DevTools tab console, we can see the following errors: The apps are both…
Developer technologies | .NET | Blazor
How to Send email using Micorsoft Graph API & OAuth2 in C#
Requirements 1) Our company needs to send notification emails to customers using MS Exchange mail service. The task needs to be automated using a c# program in Azure or from local machine. 2) Use share mailbox to save on license cost. It will be…
Developer technologies | C#
Corrupted Micorosft Visual C++ Redistributable
Hi, I have a problem with Micorosft Visual C++ Redistributable. I thinks its badly corrupted. I was trying to install a newer one and got error that "The older version of Microsoft Visual C++ 2022 X64 Additional runtime cannot be removed" …
Developer technologies | C++
Visual code ipynb not working cannot detect kernels
Having an issues, detecting kernels, and it keep installing .NET interactive session and has warning on polygot notebook extension related
Developer technologies | Visual Studio | Extensions
How to secure both Blazer server and api ?
Hello, I need an advice. I'd like to secure a blazor server app with individual user account. This functionality is embedded with the basic setup, and use cookies. But I also need to protect my web api with the same way. I know about the JWT, but I…
Developer technologies | C#
unable to set a form as startup object
Previously I had the 2019 and 2022 versions of VS community on my pc. After uninstalling the 2019 version, and opening my projects in the 2022 version, I was asked to update to the 4.8 framework. Ok, I set 4.7.2, done. But the project does not start…
Developer technologies | Visual Studio | Setup
Developer technologies | VB
Developer technologies | Visual Studio | Other
Verify the code
Hi, I deployed the code below to the server. How to verify it is running well?
Developer technologies | ASP.NET | ASP.NET Core
XAML/MAUI - How to remove the one-pixel high horizontal line ?
Whilst a long term C# developer I've just started on my journey into Maui to build a mobile app across Android and iOS. To get a feel for the presentation layer and behaviour, before writing any functional code, and using the iOS simulator, I started…
Developer technologies | XAML
Problem with header files not being shared throughout solution. E1696
I'm trying to develop for Unreal Engine, so I upgraded from Visual Studio 2022 to 2026 edition and upgraded the engine to 5.7, but now a lot of what was defined in the engine like the "Core/Minimal.h" file aren't being included properly and…
Developer technologies | Visual Studio | Other
How to make sure Package.InitializeAsync is called before ILanguageClient.LoadAsync/ActivateAsync
I am working on implementing a Language Server (LSP) as part of a Visual Studio Extension following this doc - https://learn.microsoft.com/en-us/visualstudio/extensibility/adding-an-lsp-extension?view=visualstudio When a file of supported extension (as…