4,400 questions with ASP.NET Core tags

Sort by: Updated
2 answers One of the answers was accepted by the question author.

Asp.net core razor pages BindProperty collections List not Working

My plan is that I fill a list of data in OnGet and after sending it to the html page, I check some lines and fill some input on table and finally it is posted to the server. But in OnPost, the collection is empty and does not return anything: public…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-18T12:03:11.6733333+00:00
Ashkan 61 Reputation points
commented 2024-07-18T16:29:17.79+00:00
Ashkan 61 Reputation points
1 answer

Why does our Azure Function App with an Elastic Premium Plan take 8x longer to run a CPU-intensive .exe than our local machine or Azure App Service web job?

We've created Azure Function using .NET 6.0 Isolated. That function internally executes a .exe process to generate data regarding the application. The .exe file is CPU-intensive and 48MB in size. This .exe takes roughly 1 to 2 minutes to run on both my…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,674 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,407 questions
asked 2024-06-06T07:10:23.5566667+00:00
Jay Chotaliya 0 Reputation points
commented 2024-07-18T15:59:03.39+00:00
Tran, Nguyen 20 Reputation points
2 answers

SSO OAuth with Username And Password

I have a Web Application whose Admin portal developed in Asp.net Webforms with some domain and the Public portal of the same is in Asp.NET 8 (.NET CORE) with some other domain. The database is same for both and currently I do login with Username and…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
asked 2024-07-18T11:09:23.7433333+00:00
Siddhant Singh 5 Reputation points
answered 2024-07-18T15:56:13.1466667+00:00
Bruce (SqlWork.com) 61,731 Reputation points
1 answer One of the answers was accepted by the question author.

Best Practices for Implementing Search and Other Operations in a Blazor Server App

Hi, I'm a beginner working on a Blazor Server application using Blazor 8. I have used scaffolding to generate basic CRUD operations for a model, and the auto-generated code works well for these operations. I would like to expand my application by adding…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,500 questions
C#
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.
10,648 questions
asked 2024-07-18T05:48:37.93+00:00
Yusuf 771 Reputation points
accepted 2024-07-18T14:16:06.81+00:00
Yusuf 771 Reputation points
0 answers

Mysterious Error log from IdentityClient when using DefaultAzureCredential

2024-02-27 23:08:54.995 ERROR 54214 --- [ main] c.a.i.implementation.IdentityClient : Could not invoke the MSAL Broker. Ensure that the azure-identity-broker library is on the classpath. java.lang.IllegalStateException: Could not invoke…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,639 questions
asked 2024-02-28T07:14:20.6233333+00:00
Ian Lee 5 Reputation points
commented 2024-07-18T13:55:42.11+00:00
Amrata Dhankhar 0 Reputation points Microsoft Employee
6 answers

.NET 6 Core Web App Returns web page not found

I am copying over from Stack: I have searched around here and other places to figure out the issue, but I can't find a good solution. I created a new .NET Core Web App targeting .NET6. I created the project without authentication and without Docker…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
C#
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.
10,648 questions
asked 2022-03-13T22:33:29.183+00:00
Jacaru Tech 31 Reputation points
commented 2024-07-18T10:56:09.1933333+00:00
Ben Painter 0 Reputation points
1 answer

Classic ASP support clarification

I am needing to get some verification for my job on whether classic asp is still being supported by Microsoft. Also, is their a way to find the end of life date for classic asp? I will need to provide some form of proof online. I am asking because when I…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
318 questions
asked 2024-06-25T16:47:25.2166667+00:00
Derrick Pine 0 Reputation points
edited the question 2024-07-18T09:56:29.5533333+00:00
Rakesh Gurram 5,485 Reputation points Microsoft Vendor
0 answers

Single File Deployment

We are producing single-file executables for our console app which is not working with the native dll methods at runtime. I’ve always tested it locally without the publish and it still works fine. “IncludeNativeLibrariesForSelfExtract” is set in the…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
asked 2024-07-12T13:48:15.5533333+00:00
Siddhant Singh 5 Reputation points
edited the question 2024-07-18T09:45:22.9233333+00:00
Rakesh Gurram 5,485 Reputation points Microsoft Vendor
3 answers

.NET 6 : System.Net.Http.HttpRequestException: Received an invalid status line: '339'

Hello, We are experiencing an issue where our service, calls an API. It fails when invokes the API using the HTTP client. Specifically, the process fails at the EnsureSuccessStatusCode() step, despite API returning a success response. This issue appears…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
318 questions
asked 2024-07-16T14:21:17.7633333+00:00
Mohd Imran Nagori 0 Reputation points
commented 2024-07-18T09:31:10.3766667+00:00
JasonPan - MSFT 4,811 Reputation points Microsoft Vendor
0 answers

How to troubleshoot the exception, Could not create TLS secure channel?

Hello there, I have this C# code that consumes a SOAP WS and it was working properly for years. However, since recently it started to throw the following exception: The request was aborted: Could not create SSL/TLS secure channel. Basically it imports…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
C#
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.
10,648 questions
ASP.NET API
ASP.NET API
ASP.NET: A set of technologies in the .NET Framework for building web applications and XML web services.API: A software intermediary that allows two applications to interact with each other.
318 questions
asked 2024-07-12T14:24:34.8133333+00:00
Kuler Master 266 Reputation points
commented 2024-07-18T04:57:23.8966667+00:00
Tiny Wang-MSFT 2,321 Reputation points Microsoft Vendor
1 answer

Why is the blazor css isolation not working?

I have an AppLogin.razor component and its css file is AppLogin.razor.css. They are working fine. I have a UserLogin.razor component and its css file is UserLogin.razor.css. The working mechanism is as follows When you login from the AppLogin.razor…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,500 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,417 questions
C#
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.
10,648 questions
asked 2024-02-25T21:05:38.5766667+00:00
Haneen Al-fakhry 5 Reputation points
commented 2024-07-18T04:27:09.24+00:00
Akkarapol Utbuawong 0 Reputation points
0 answers

Exceeded language worker restart retry count for runtime:dotnet-isolated. error happening locally while upgrading azure function project to isolated

I am trying to upgrade my azure function project from .net 6 to .net 8 isolated and it seems there is something wrong with my local because I get the same error in the projects that I developed myself and deployed to production. Here is the full log of…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,674 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-14T15:00:00.8666667+00:00
Ronak Panchal 0 Reputation points
commented 2024-07-18T03:48:55.57+00:00
navba-MSFT 20,810 Reputation points Microsoft Employee
2 answers

Cycling problem

Hi, I have 2 entity which have one to many relation between. Lets name them School and student. When I'm creating School I'm getting cycling problem . I did all the configuration in Configure class but nothing worked. There is a way with [JsonIgnore] but…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
726 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-16T19:06:27.2733333+00:00
Atilla Rüstəmli 20 Reputation points
edited a comment 2024-07-18T02:36:48.31+00:00
SurferOnWww 2,491 Reputation points
3 answers One of the answers was accepted by the question author.

This error appears to me. I use .NET 8. The project is divided into three layers. The presentation layer is a web project. The rest of the layers are class libraries. I installed the necessary libraries, all of which are version 8.

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
726 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
C#
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.
10,648 questions
asked 2024-07-16T20:30:25.5766667+00:00
saleh salem 20 Reputation points
commented 2024-07-17T23:07:23.29+00:00
saleh salem 20 Reputation points
3 answers

How to fix - You must install or update .NET to run this application

root@ubuntu:/etc/systemd/system# /usr/bin/dotnet /var/www/MinAPI/WebApi.dll You must install or update .NET to run this application. App: /var/www/MinAPI/WebApi.dll Architecture: x64 Framework: 'Microsoft.AspNetCore.App', version '5.0.0' (x64) .NET…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2023-06-13T08:40:17.94+00:00
Bashar Muhanna 25 Reputation points
edited a comment 2024-07-17T17:26:57.4+00:00
Cherniy, Daniel 0 Reputation points
0 answers

I am getting System.InvalidProgramException error when upgraded the application from .NET 3.0 to .NET 8.0

I have upgraded Npgsql package from version 4.1.5 to version 8.0.2 that is required for .NET 8 upgradation but I am getting the following error after deployment of the service on the development environment and performing the health check for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,141 questions
asked 2024-05-13T07:12:21.36+00:00
Singh, Sheetal 0 Reputation points
commented 2024-07-17T12:31:57.02+00:00
cUser 0 Reputation points
2 answers

Failed to Publish API

api_deploy.txt Hi, WhyI am suddenly not able to publish Web API to Microsoft Azure? I am getting failed as you can see in the attached log. Kindly help.. THanks, Jassim

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,407 questions
asked 2023-05-16T15:45:28.99+00:00
Jassim Al Rahma 1,556 Reputation points
commented 2024-07-17T12:09:48.3+00:00
Richard Barraclough 6 Reputation points
1 answer

can asp.net core use HttpModule?

If I create HttpModule in c++(IIS Module) can asp.net core use it? if I do not use IIS. I use kestrel to run asp.net core. I can not use it right? Is there any other Module I can use it? I can use c++ to write dll and asp.net core use it?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
asked 2024-07-16T09:33:34.04+00:00
mc 4,111 Reputation points
commented 2024-07-17T01:16:57.3666667+00:00
mc 4,111 Reputation points
1 answer

getting error- The request is invalid. Details: Cannot dynamically create an instance of type 'Microsoft.Azure.Search.DataIdentity'. Reason: Cannot create an abstract class.

I am trying to create a custom web api skillset to connect to document intelligence directly. Created a skillset definition but it throws below error - The request is invalid. Details: Cannot dynamically create an instance of type…

Azure AI Search
Azure AI Search
An Azure search service with built-in artificial intelligence capabilities that enrich information to help identify and explore relevant content at scale.
865 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
C#
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.
10,648 questions
Azure AI Document Intelligence
Azure AI Document Intelligence
An Azure service that turns documents into usable data. Previously known as Azure Form Recognizer.
1,535 questions
asked 2024-07-11T13:23:08.38+00:00
Amrita Madhav 0 Reputation points
answered 2024-07-16T19:07:04.22+00:00
ajkuma 24,971 Reputation points Microsoft Employee
1 answer

How Can I Reduce Network Transfer Delays for JS and CSS files to Minimize Lag in .NET MAUI Hybrid Blazor Applications?

Hi, I noticed that loading pages takes too long. I followed the Performance tab and observed that the resource duration is excessively long due to network transfer times. Duration: 2.177s (2.175s network transfer + 1.454ms resource loading) The resource…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,231 questions
asked 2024-07-16T17:39:09.3466667+00:00
Sale Swift 0 Reputation points
answered 2024-07-16T18:05:31.83+00:00
Bruce (SqlWork.com) 61,731 Reputation points