4,209 questions with ASP.NET Core tags

Sort by: Updated
0 answers

TPL TransformBlock Behavior

I have created TransfromBlock of capacity 5. When I am trying to send 6 elements then the code portion like receiving of the block elements and count is not working. I expected that elements beyond the bounded capacity should be discarded/ignored and the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
asked 2024-05-12T16:58:17.37+00:00
net 6 newbie 121 Reputation points
edited a comment 2024-05-12T17:45:44.58+00:00
Viorel 112.7K Reputation points
0 answers

How to sub section a long user entry form in MVC C#

I need to develop a long user entry form (Job application form). Which has many sub-sections like personal data, Exam Results, Work Experience, Membership etc...As all these cannot be displayed at once I want to show one section (personal data) first,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
asked 2024-05-11T06:02:54.0166667+00:00
Monica Suriyaarachchi 0 Reputation points
edited a comment 2024-05-12T10:38:38.1766667+00:00
AgaveJoe 26,146 Reputation points
1 answer

Update Workload Problem/ NuGet Package unable to be installed.

**I have created 3 Projects: FrontEndProject and it is a Blazor Project and this is the csProj:** <Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly"> …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 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,404 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,310 questions
asked 2024-05-10T04:54:17.63+00:00
Muhammad Ghozlan 0 Reputation points
commented 2024-05-12T08:52:09.4633333+00:00
Muhammad Ghozlan 0 Reputation points
9 answers

How to fix this error "warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for redirect."

Good evening , I am trying to build a simple web api using ASP.Net . The app has been showing the error like this after building it - warn: Microsoft.AspNetCore.HttpsPolicy.HttpsRedirectionMiddleware[3] Failed to determine the https port for…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
asked 2023-06-03T08:29:57.58+00:00
Vaishnavi P 45 Reputation points
edited a comment 2024-05-11T17:21:20.5066667+00:00
Francklin Amado 0 Reputation points
2 answers

A weired error about HTTP 500 !

I created a web user asp.net 8.0 mvc without ef. When I modify the stucture of oracle datebase table ,such as add a field ,then the web related to the table report a error about HTTP 500 . But after I restart the iis,it works well without doing anything…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
asked 2024-04-10T07:22:48.6266667+00:00
Alick Wang 266 Reputation points
edited a comment 2024-05-11T13:21:58.73+00:00
MotoX80 32,081 Reputation points
2 answers

running asp.net intranet application on localhost asking for authentication

I have an intranet application written int ASP.net core, when I run this application on localhost, I get a pop window asking me to authenticate and once I enter my domain name\my username and password then it authenticates me and lets me run the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,289 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,310 questions
asked 2024-05-06T23:53:29.4066667+00:00
Anjali Agarwal 1,386 Reputation points
commented 2024-05-11T00:35:46.4133333+00:00
Anjali Agarwal 1,386 Reputation points
1 answer

HTTP Error 500.31 - Failed to load ASP.NET Core runtime

I created a.net core application in Visual Studio 2022. When I see the properties, I see this: I deployed the application on IIS and this is installed on the server: when I do dotnet --info, I see this: My networking person is telling me that older…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
asked 2024-03-26T21:01:06.98+00:00
Anjali Agarwal 1,386 Reputation points
answered 2024-05-10T22:11:19.7166667+00:00
Bouzid Kobchi 0 Reputation points
2 answers

Issue creating ASP.NET Core web application in Visual Studio 2022

I'm having trouble creating a new ASP.NET Core web application project in Visual Studio 2022. I've tried creating a new project using the built-in templates, but when I do so, nothing appears in the solution that was created, even though the project…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,647 questions
asked 2023-02-18T15:14:52.12+00:00
sahar rst 10 Reputation points
commented 2024-05-10T18:07:47.8433333+00:00
Justin Fuller 0 Reputation points
1 answer

How to setup Blazor Server with Blazor WASM with gRPC for virtual IIS application?

Hi, I have simple Blazor Server without static files. It is only falling into Blazor WASM with static files using FallBackTo. There is gRPC an its Controller mapped on the main endpoint. Everythig is working on https://localhost. Once I try to deploy…

Internet Information Services
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 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,404 questions
asked 2024-05-10T13:41:33.87+00:00
Matěj Rada 20 Reputation points
edited an answer 2024-05-10T16:41:41.24+00:00
Bruce (SqlWork.com) 57,166 Reputation points
1 answer

Issues with EF Update Command and Azure Credentials in ASP.NET Core Application

I am encountering errors while attempting to run an Entity Framework (EF) update command (dotnet ef database update) from my ASP.NET Core application. The application is connected to a database hosted on Azure. After executing the EF update command, I am…

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
698 questions
Azure SQL Database
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
asked 2024-05-09T18:29:21.49+00:00
Yamen Edel 0 Reputation points
answered 2024-05-10T16:22:42.6+00:00
Yamen Edel 0 Reputation points
1 answer

[Asp.Net Core MVC] Is posssible to embed the wwwroot directory inside the dist binary?

I have an Asp Net Core MVC project with my assets in wwwroot. My intent is to have only the binary and the appsettings file so is easy to update the application in production without to lose some updated assets files. I used this options…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
asked 2024-05-10T13:51:50.54+00:00
Storm Energy 0 Reputation points
answered 2024-05-10T16:09:06.8033333+00:00
Bruce (SqlWork.com) 57,166 Reputation points
9 answers

Identity scaffolding in .net core 6.0 gives error message "Length cannot be less than zero."

Hello, I've been trying to scaffold various Identity pages, however I keep getting an error dialog which says "There was an error running the selected code generator: 'Length cannot be less than zero. (Parameter 'length')'". . In the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
asked 2022-07-18T13:50:12.27+00:00
Jonathan Feucht 26 Reputation points
commented 2024-05-10T14:44:40.35+00:00
Kenneth R. Jones 46 Reputation points
0 answers

ManagedIdentityApplication.AcquireTokenForManagedIdentity("api://AzureADTokenExchange") giving error in local machine.

Hi, I am implementing the "Federated Identity Credential" along with User Managed identity in .net core 3.1 web api. Getting the error code: "managed_identity_unreachable_network" with error message "A socket operation was…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,201 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,668 questions
asked 2024-05-10T11:41:44.0866667+00:00
SivaD 0 Reputation points Microsoft Vendor
0 answers

InternalServerError on Azure Web App deployment

Hi, I'm having some trouble figuring out why a deployment for an Azure Web App fails. I've tried deployment to a container app, and an app service, with both GitHub actions workflow and through a web deploy using pubxml. My application runs fine and as…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,961 questions
asked 2024-05-10T01:30:24.82+00:00
Cesar Vera 0 Reputation points
commented 2024-05-10T09:46:58.4433333+00:00
JasonPan - MSFT 4,381 Reputation points Microsoft Vendor
0 answers

ADFS Authentication Issue in .Net 8

I have an existing ASP.NET MVC application that relies on ADFS authentication. I'm currently upgrading it to .NET 8. As part of the upgrade process, I prioritized implementing the authentication functionality first. However, I'm encountering an issue…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,417 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
Active Directory Federation Services
Active Directory Federation Services
An Active Directory technology that provides single-sign-on functionality by securely sharing digital identity and entitlement rights across security and enterprise boundaries.
1,201 questions
asked 2024-05-03T06:09:59.2233333+00:00
Vijayan, Neethu 0 Reputation points
edited a comment 2024-05-10T06:35:23.3666667+00:00
JasonPan - MSFT 4,381 Reputation points Microsoft Vendor
1 answer

Custom Hybrid Connection Manager

Hi, I would like to know if we can have a custom hybrid connection manager in .net core code. I would like to connect to on-prem sql server from a cloud deployed .net solution. I am using Azure app service /Relay/Hybrid Connection for the same. I would…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,816 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,961 questions
asked 2024-05-08T15:25:31.47+00:00
Santhi Dhanuskodi 145 Reputation points
edited a comment 2024-05-09T22:37:55.53+00:00
Bruce (SqlWork.com) 57,166 Reputation points
0 answers

How to fix StackOverflowException after upgrading from .Net 6 to .Net 8

Hello,   I have upgraded 5 projects in my solution from .Net 6 to .Net 8 using upgrade assistant in Visual Studio. When I run the solution, StackOverflowException is being thrown and Swagger is not loading. Looks like onchangetokenfired() method is being…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,417 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
asked 2024-04-26T06:39:38.71+00:00
Abhishek, Burra 0 Reputation points
edited a comment 2024-05-09T15:23:49.4533333+00:00
AgaveJoe 26,146 Reputation points
10 answers

A connection was successfully established with the server, but then an error occurred during the login process Error from .Net core WebAPI

Hi, I've an application that uses WebAPI in .Net core 6 and uses Kestrel server. When calling HttpPost request, the code tries to inject data in DB but fails with error: The certificate chain was issued by an authority that is not trusted. Inner…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,816 questions
asked 2021-12-14T12:23:52.077+00:00
Amit Potdar 136 Reputation points
edited a comment 2024-05-09T11:19:03.5566667+00:00
LAFRIMI, Mosaab Yassir 0 Reputation points
1 answer

Access network folder and files from .NET Core application in IIS

Greetings, I have an application deployed in IIS with .NET Core 7 and SQL Server, I want to access a network path, write and read files within a folder in the path (\path\folder) What steps should I follow to achieve this?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,816 questions
asked 2024-05-07T17:35:39.8066667+00:00
Juan A. Reyes Paulino 20 Reputation points
commented 2024-05-09T03:02:23.4833333+00:00
Brando Zhang-MSFT 2,961 Reputation points Microsoft Vendor
1 answer

How to fix error "Account already exists" when signing in google users on a customer entra tenant?

Dear Microsoft support team, My name is Javier Ortega, and I am writing to seek assistance with: Authentication from .Net application to Entra tenant, with google users. Currently we have a group of users migrated to a customer (external) entra tenant.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,209 questions
Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,663 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,668 questions
asked 2024-04-30T15:51:40.8333333+00:00
Javier Herrera 90 Reputation points
commented 2024-05-08T22:01:51.11+00:00
Dave 1 Reputation point