C#, .NET, How can I make a code generator download when my NuGet package is installed?
csproj, Engine: <Project Sdk="Microsoft.NET.Sdk"> …
Developer technologies | C#
Which is better for Android app development with .NET 8/9: .NET MAUI or .NET for Android?
Question: Hello, I want to develop a mobile app using Visual Studio with .NET 8 or .NET 9, targeting only the Android platform. I’m confused between two options: Creating a .NET MAUI project and targeting only the Android platform Creating a .NET for…
Developer technologies | .NET | .NET MAUI
LSP message for Word Completion from Visual Studio
I have a Langauge Server (LSP) implemented in C#. Have implemented textDocument/Hover and textDocument/Completion. This works fine on hover and typing in the editor. But Word Completion does not work. Which LSP message is sent from Visual Studio for Word…
Developer technologies | Visual Studio | Extensions
Can't Deploy to Analysis Service Get Error
Hello, I have a new computer, new install of visual studio 2022 community and Analysis Services Project installed. I can't deploy my tabular project to SQL 2019 Analysis Services. I get the following error: See the end of this message for details on…
Developer technologies | Visual Studio | Debugging
Microsoft Defender Graph API: Only Device Score Retrieved, Others Are Zero — Why?
Hi everyone, I'm using the Microsoft Graph API (Security > Secure Scores endpoint) to retrieve category-wise scores (Device, Identity, Apps, Data) from Microsoft Defender for Endpoint. I'm successfully getting the Device Score, but the values for App…
Developer technologies | Visual Studio | Debugging
How to sign ClickOnce artifacts when using Google Cloud KMS for code signing?
I've successfully done code signing using Google Cloud KMS and jsign for executable files, but I'm unable to sign ClickOnce manifest files. Current Setup Certificate: Code signing certificate from Sectigo (in .crt format) Private Key: Stored in Google…
Developer technologies | Windows Forms
How to import an externally-generated AES key into a TPM2 using TSS.NET
Using TSS.NET on Windows 11 with .Net Core 8.0, I've been trying to import an externally-generated (via System.Security.Cryptography) AES key into the TPM on my system. Devices in this system will use this same TPM-protected AES key to encrypt &…
Developer technologies | C#
Data Formatting: I'm working on a simple sales data table in Excel. What are the key best practices for structuring my data (e.g., using a table format, a consistent header row, no merged cells) before importing it into Power BI?
These questions focus on the best practices for setting up data in Excel before you even touch Power BI.
Developer technologies | Windows Forms
Urgent Assistance for VM - Findings relate to weak SSL/TLS cipher suites and few issues concerning the Content Security Policy (CSP) configuration. Attached is a report. Kindly assist for remediating those vulnerabilities.
Urgent Assistance for VM - Findings relate to weak SSL/TLS cipher suites and few issues concerning the Content Security Policy (CSP) configuration. Attached is a report. Kindly assist for remediating those vulnerabilities.
Developer technologies | Windows Forms
VS sends 'textDocument/didClose' to LSP server when file is not closed
I have a Language Server (LSP) implemented. For the first file opened (of the specified content type, which causes the Language Server to be loaded) I am getting textDocuement/didOpen message followed by textDocument/didClose message. But the file is…
Developer technologies | Visual Studio | Extensions
How to Debug Remote MAUI App Launch
I have a .NET 9 MAUI app being deployed to a remote Xcode iOS iPhone 16 Plus. All components have the latest release software. The deployment is successful, and the application is launched and the splash screen displayed on the phone. However, the first…
Developer technologies | Visual Studio | Debugging

I can't find the Blazor Web Assembly option, I only see two options the Blazor Web App and the standalone Web Assembly application but none of them give me the ASP .NET Core Hosted option, why?
I do have a question related to this topic because I want to start a project with the Blazor WebAssembly App template but it is no longer only those two that you mention. according to a video it should look like this: I would like to know if the way I…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
Developer technologies | C#
How can I connect to my SQL server from my VM using a .NET application.
I have a .NET application on my azure virtual machine that will not connect to my azure SQL database. I can otherwise connect to the db on my vm using SSMS. My .NET application will connect from my local laptop. I am using ENTRA ID authentication.
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Other
SQL Server | Other
how do I make an “http://www. “ call from a browser to a .net 8 core project residing on my web host?
Hi, I have a visual studio .net 8 web application. I copied the projects folder up to my web host, but I don’t know how to call it from a web browser. With .net 4, I just copied my visual studio project folder up to my web host and put it in the web…
Developer technologies | ASP.NET | ASP.NET Core
New to Blazor - A valid antiforgery token was not provided with the request.
Hi all, Can any body please give me an advice so I can move forward to the main page, why I'm getting "A valid antiforgery token was not provided with the request. Add an antiforgery token, or disable antiforgery validation for this endpoint."…
Developer technologies | ASP.NET | ASP.NET Core
Developer technologies | .NET | Blazor
Empty Carousel view
I'm developing a MAUI application and encountering an issue with the CarouselView control. The indicators in the CarouselView appear correctly according to the number of items in my ObservableCollection<string> which contains the filenames of my…
Developer technologies | .NET | .NET MAUI
Why am I receiving warnings on my code, but it is still working.
namespace MauiApp1 { public partial class MainPage : ContentPage { int count = 0; public MainPage() { InitializeComponent(); } private void OnCounterClicked(object sender, EventArgs e) …
Developer technologies | .NET | .NET MAUI
how cancel token work in these cases
following code is from https://learn.microsoft.com/en-us/dotnet/csharp/asynchronous-programming/cancel-an-async-task-or-a-list-of-tasks i could not understand when it will show following two messages from last main code. Console.WriteLine("Download…
Developer technologies | ASP.NET | ASP.NET Core
have problem with this site, can you help please?
Erreur du serveur dans l'application '/'. Le format de la chaîne d'entrée est incorrect. __Description :__Une exception non gérée s'est produite au moment de l'exécution de la demande Web actuelle. Contrôlez la trace de la pile pour plus d'informations…
Developer technologies | ASP.NET | Other
How can I prevent Vistual Studio uninstalling workloads that I'm currently using?
I have an issue when using Visual Studio where I can be in the middle of working on a project and then I without any warning I'll start getting build errors because a workload required for my project isn't installed. Specifically this is usually…
Developer technologies | Visual Studio | Setup
