7,833 questions with Developer technologies | ASP.NET Core | Other tags

Sort by: Updated
3 answers

Cannot connect to SignalR service when use yarp in Aspire 13

I have 2 services: Presence service in program.cs I have: app.MapHub<PresenseHub>("/hubs/presence"); message service: app.MapHub<MessageHub>("/hubs/message"); I use Yarp Gateway in Aspire 13: var gateway =…

Developer technologies | ASP.NET Core | Other
asked 2026-03-15T07:38:02.0033333+00:00
Hoài Nam Nguyễn 81 Reputation points
commented 2026-03-17T10:50:00.8166667+00:00
Danny Nguyen (WICLOUD CORPORATION) 7,425 Reputation points Microsoft External Staff Moderator
4 answers One of the answers was accepted by the question author.

Issue to access the server from the client

Hi, The project is running well on the server like I get the issues like The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer’s network connection. If your computer…

Developer technologies | ASP.NET Core | Other
asked 2026-02-20T09:59:14.6366667+00:00
Scott Huang 3,511 Reputation points
commented 2026-03-17T09:54:19.16+00:00
Scott Huang 3,511 Reputation points
2 answers One of the answers was accepted by the question author.

Unable to connect to the Redis server using Microsoft.AspNetCore.SignalR.StackExchangeRedis with .Net Aspire 13

I'm using .Net Aspire 13, .Net 10. I'm using the library package Include="Microsoft.AspNetCore.SignalR.StackExchangeRedis" Version="10.0.3". This is my AppHost: var cache = builder.AddRedis("cache", 6379); var presence =…

Developer technologies | ASP.NET Core | Other
asked 2026-03-12T12:11:59+00:00
Hoài Nam Nguyễn 81 Reputation points
accepted 2026-03-13T10:49:19.3433333+00:00
Hoài Nam Nguyễn 81 Reputation points
2 answers

Should ProblemDetails be moved to System.Net.Http?

Using ProblemDetails as a standardized error result across various services forces potential unnecessary dependencies on AspNetCore. If ProblemDetails was moved into a more HTTP friendly project (i.e. System.Net.Http). This would allow non-web services…

Developer technologies | ASP.NET Core | Other
asked 2024-08-15T22:23:27.58+00:00
Anonymous
answered 2026-03-10T15:54:40.5133333+00:00
Bruce (SqlWork.com) 84,671 Reputation points
3 answers One of the answers was accepted by the question author.

Kestrel vs. IISExpress

When I'm developing ASP.NET Core applications, I just use the default server built into Visual Studio, Kestrel. However, one of my colleagues insists that Kestrel is insufficient and not worth the time to use. In fact, he is extremely adamant that…

Developer technologies | ASP.NET Core | Other
asked 2026-03-07T15:00:44.8366667+00:00
Rod Falanga 1,056 Reputation points
accepted 2026-03-07T17:02:17.6366667+00:00
Rod Falanga 1,056 Reputation points
2 answers One of the answers was accepted by the question author.

AJAX XmlHttpRequest open 2nd parameter url not working Web app

Hello, I'm learning AJAX. I have a Razor Pages web app, and here is my page to test, AjaxModel. @page @model AjaxModel <h2>Ajax Partial Example</h2> <p><button class="btn btn-primary"…

Developer technologies | ASP.NET Core | Other
asked 2026-03-02T06:07:32.6333333+00:00
Pablo The Tiger 186 Reputation points
commented 2026-03-06T11:28:49.4633333+00:00
Pablo The Tiger 186 Reputation points
3 answers One of the answers was accepted by the question author.

LTS version

WHICH VERSION IS LTS? .net10 or .net9.0 or .net8.0

Developer technologies | ASP.NET Core | Other
asked 2026-03-02T10:49:10.9733333+00:00
G Jeyan 40 Reputation points
edited a comment 2026-03-05T06:42:42.43+00:00
Michael Le (WICLOUD CORPORATION) 11,330 Reputation points Microsoft External Staff Moderator
2 answers

Issue to add the code

Hi, I want to add the one below to the project. No need to add a cs file?

Developer technologies | ASP.NET Core | Other
asked 2026-02-05T04:17:38.42+00:00
Jonathan 300 Reputation points
commented 2026-03-03T09:38:47.58+00:00
Michael Le (WICLOUD CORPORATION) 11,330 Reputation points Microsoft External Staff Moderator
5 answers One of the answers was accepted by the question author.

Can VB be used for a net core api project?

I have an existing web api project written in VB. All the examples for converting to net core 6.0 use C#, and Visual Studio will only create a Web API project using C#. Can this be done with VB? And if so, what steps are required to do this? And…

Developer technologies | VB
Developer technologies | VB

An object-oriented programming language developed by Microsoft that can be used in .NET.

2,932 questions
Developer technologies | ASP.NET Core | Other
asked 2022-03-15T18:21:07.747+00:00
Larry Widing 21 Reputation points
answered 2026-03-01T12:17:50.5633333+00:00
Nahom Yengesu 0 Reputation points
3 answers One of the answers was accepted by the question author.

ASP.NET Web Forms With Entra ID Authentication Works On Local Host But 405 Response On IIS Hosted Server

I am working on a project to update our ASP.NET Web Forms sites to use Entra ID Authentication via OWIN Middleware. The code samples posted on how to do this on Azure portal work for me, but only on local host. But after I deploy an application to AN IIS…

Developer technologies | ASP.NET Core | Other
asked 2026-02-25T21:07:00.16+00:00
Young, Mark 20 Reputation points
accepted 2026-02-26T15:53:47.44+00:00
Young, Mark 20 Reputation points
2 answers

.net web application with internal and external users using Entra External ID

I'm trying to build a single application that will be used by my organization's users as well as customers. I've been exploring Entra External ID as a method for customers to sign in/register, but it looks like I can't use cross tenant synchronization…

Microsoft Security | Microsoft Entra | Microsoft Entra External ID
Microsoft Security | Microsoft Entra | Microsoft Entra ID
Developer technologies | ASP.NET Core | Other
asked 2025-02-14T00:54:57.62+00:00
Cory Strickland 5 Reputation points
commented 2026-02-26T10:20:41.5+00:00
Brian Taylor 0 Reputation points
4 answers One of the answers was accepted by the question author.

in asp i use a GridView by Click the Edit Buton On Eact Row, it runing first the page_init, and page_Load,Page_PreRender And the

in asp i use a GridView it is coneteted To Sql, it have a EditButon On Eact Row, but i figerd the by clicking the Edit Button, it first running the page_init, and page_Load,Page_PreRender and the edit dont run, is it posible to fix this?

Developer technologies | ASP.NET Core | Other
asked 2026-02-22T21:15:26.0566667+00:00
Simon 491 Reputation points
edited an answer 2026-02-23T22:03:49.72+00:00
Bruce (SqlWork.com) 84,671 Reputation points
3 answers One of the answers was accepted by the question author.

Windows authentication is not working on .net 4.8.1

User is returning as null for Windows Authentication in .NET 4.8.1 . I am using Visual Studio 2022

Developer technologies | ASP.NET Core | Other
asked 2026-02-19T16:54:42.06+00:00
Madadi, Shravani 20 Reputation points
accepted 2026-02-23T12:57:15.75+00:00
Madadi, Shravani 20 Reputation points
4 answers One of the answers was accepted by the question author.

How run C# Post method to delete a DB register on confirm to bootstrap modal in Razor Pages web app

Hello (I'm new to the forum) I'm working on an ASP.NET Core Razor Pages web app. It's a CRUD. In my Index.cshtml I have a list of products (as in the DB that is created with EF Core), and in each row after the fields I have an Edit and Delete buttons. I…

Developer technologies | ASP.NET Core | Other
asked 2026-02-16T13:55:27.0233333+00:00
Pablo The Tiger 186 Reputation points
commented 2026-02-19T02:16:17.4466667+00:00
Jack Dang (WICLOUD CORPORATION) 18,975 Reputation points Microsoft External Staff Moderator
2 answers One of the answers was accepted by the question author.

How do I change the solution file for .NET 10?

I've recently upgraded a .NET 9 application to .NET 10. I've set the projects to .NET 10 and the NuGet packages to use .NET 10. But the solution file still has a ".sln" extension. Is the only thing I have to do is rename that file extension to…

Developer technologies | ASP.NET Core | Other
asked 2026-02-14T16:03:50.9033333+00:00
Rod Falanga 1,056 Reputation points
accepted 2026-02-15T00:50:17.52+00:00
Rod Falanga 1,056 Reputation points
1 answer One of the answers was accepted by the question author.

Issue to GetLatestMSVCVersion

Hi, Can you help to this?

Developer technologies | ASP.NET Core | Other
asked 2026-02-13T06:09:48.2+00:00
Scott Huang 3,511 Reputation points
commented 2026-02-14T16:59:29.0866667+00:00
BirendraPratapSingh-8306 0 Reputation points
1 answer One of the answers was accepted by the question author.

Now I'm getting a CS1503 error

I've got a Blazor application and a Minimal API application, both written in .NET 9. The Blazor application had been successfully saving data to a table named timetrack. However, changes in the code by colleagues and myself, now make what used to work,…

Developer technologies | ASP.NET Core | Other
asked 2026-02-12T23:06:54.5+00:00
Falanga, Rod, DOH 1,080 Reputation points
commented 2026-02-13T14:47:03.3466667+00:00
AgaveJoe 31,361 Reputation points
1 answer

How to run python tool Command that include (Cat . pipeline )on Linux Server from dot net console App (C#)?

Hello , I have asked before on How can I write python command in VS and you provided me with the below code // start process using var process = Process.Start(new ProcessStartInfo { UseShellExecute = false FileName = "amass", …

Developer technologies | ASP.NET Core | Other
asked 2023-02-27T15:03:30.67+00:00
NALB 71 Reputation points
answered 2026-02-12T21:48:48.91+00:00
Bruce (SqlWork.com) 84,671 Reputation points
0 answers

Azure DevOps REST API - Why does it take so long to retrieve parent/children work items?

This is specific to Azure DevOps REST API library, but there are no tags for it I am creating a core MVC application to retrieve all Features and child PBIs from an Area Path and Iteration path. I am using the Get Work Item and Get Workitems Batch REST…

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

11,808 questions
Developer technologies | ASP.NET Core | Other
asked 2023-02-20T18:27:43.51+00:00
Timothy Fischer 121 Reputation points
commented 2026-02-12T19:53:06.0366667+00:00
Samuel Lima 25 Reputation points
3 answers One of the answers was accepted by the question author.

Getting a Microsoft.AspNetCore.App.runtimeconfig.json file is empty error

I'm trying to debug a Blazor app we've been working on. Now, suddenly I am getting this error: Failed to parse file [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\9.0.12\Microsoft.AspNetCore.App.runtimeconfig.json]. JSON parsing exception:…

Developer technologies | ASP.NET Core | Other
asked 2026-02-10T18:50:51.7+00:00
Falanga, Rod, DOH 1,080 Reputation points
accepted 2026-02-11T14:42:32.0833333+00:00
Falanga, Rod, DOH 1,080 Reputation points