4,338 questions with ASP.NET Core tags

Sort by: Updated
0 answers

Unable to connect Azure SignalR in Dafault mode with .Ner Core app

I have a service made with .Net Core 8, which are Web API with a SignalR Hub. This service will scale horizontally. For this reason I intend to use the Azure SignalR service in Default mode to act as a proxy between the different instances of my…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
Azure SignalR Service
Azure SignalR Service
An Azure service that is used for adding real-time communications to web applications.
131 questions
asked 2024-06-26T10:23:00.21+00:00
César Adriel Airaldo 6 Reputation points
3 answers

validate antiforgery token genereted by aps.net mvc framework and used in back for front (BFF) api .net core when ajax called

Hi, there, I would like to validate an "antiforgery token" generated on an asp.net mvc framework application hosted on IIS in a BFF .net core API (back for front) hosted on Kestrel Linux with the ValidateAntiForgeryToken attribute. 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,338 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,394 questions
asked 2024-06-21T11:44:44.45+00:00
Pierre Guillaume 0 Reputation points
commented 2024-06-25T16:12:00.7533333+00:00
Bruce (SqlWork.com) 60,201 Reputation points
2 answers

ocelot gateway deployment in .net core

I have created microservice based architecture with Ocelot api gateway, it's working in local environment but i am facing issue in deployed on IIS window server. Application is not starting on iis

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,338 questions
asked 2024-06-24T09:53:25.1666667+00:00
Kelath, Deepak IDAP1X 5 Reputation points
commented 2024-06-25T11:14:33.12+00:00
Kelath, Deepak IDAP1X 5 Reputation points
0 answers

My Web API stops responding to requests for no reason on CentOS 7

I'm running a .NET Core 6.0 web API project on CentOS 7, my project has around 50 APIs inside. However, somehow it always stop responding to requests after a few hours. I checked journalctl many times and it didn't show any error. I used 'ps aux' command…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-06-25T02:28:23.0833333+00:00
Tran Minh Duc 0 Reputation points
edited a comment 2024-06-25T07:52:55.27+00:00
JasonPan - MSFT 4,791 Reputation points Microsoft Vendor
4 answers

Cancellation Token signal not being received by the application code

looks like there is a limitation as it can be read here https://github.com/dotnet/aspnetcore/issues/20229#issuecomment-623289191 https://video2.skills-academy.com/en-us/answers/questions/391343/cancellationtoken-in-controller-endpoint-hosted-in but is there…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,394 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,562 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.
313 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,259 questions
asked 2024-06-20T19:01:11.7333333+00:00
Michel Fornaris 0 Reputation points
answered 2024-06-24T18:57:23.3466667+00:00
ajkuma 24,151 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

After updating to Azure.Identity from 1.10 to 1.11, I can no longer authenticate console application.

I have a small LOB console application that needs to authenticate against Entra ID. The console app uses an IPublicClientApplication for acquiring the token interactively (since I need an MFA claim). Doing it this way, would trigger a pop-up window to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,562 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,316 questions
asked 2024-06-24T17:08:01.3666667+00:00
Doug Mendenhall 25 Reputation points
accepted 2024-06-24T18:50:37.0933333+00:00
Doug Mendenhall 25 Reputation points
3 answers

How to close Bootstrap modal in Blazor WASM?

Hi, In my Blazor WASM (.net 6) application, I am displaying a modal popup as follows. <!-- Modal --> <div class="modal fade bg-transparent" id="templatemo_search" tabindex="-1" role="dialog"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,472 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,562 questions
asked 2024-06-21T19:34:00.18+00:00
Cenk 986 Reputation points
edited a comment 2024-06-24T18:38:48.23+00:00
Bruce (SqlWork.com) 60,201 Reputation points
4 answers

how to solve the error "Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - La chaîne de certificats a été"

Hi I try to connect my asp.net core api to a sql server database I encounter an error like: "Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the login…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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.
13,183 questions
asked 2023-05-23T09:49:55.54+00:00
Marnelle M'BENGUET 20 Reputation points
commented 2024-06-24T13:01:16.12+00:00
Basel Abdul Fattah 0 Reputation points
3 answers One of the answers was accepted by the question author.

System.NullReferenceException: 'Object reference not set to an instance of an object.' model was null

model { public int VehicleID { get; set; } public int VehicleTypeID { get; set; } public string Brand { get; set; } public string Model { get; set; } public int Capacity { get; set; } = 0; public bool IsActive { get; set; } } controller //…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,566 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,814 questions
JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
921 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,562 questions
asked 2024-06-21T09:37:52.91+00:00
Naveinthiran 20 Reputation points
commented 2024-06-24T02:11:54.4033333+00:00
Naveinthiran 20 Reputation points
0 answers

How to fix An operation was attempted on a nonexistent network connection. (0x800704CD)

Hi guys I got an exception error like the below stack trace. I suspect the problem is when reading the response data, or reading the data for the request. Could you tell me why this exception occurred and how to fix it? Exception Type :…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
961 questions
.NET Internet of things
.NET Internet of things
.NET: Microsoft Technologies based on the .NET software framework.Internet of things: A concept that aims to extend the benefits of the regular internet, including constant connectivity, remote control ability, and data sharing, to goods in the physical world.
29 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,259 questions
asked 2024-06-20T10:15:45.9166667+00:00
Sejune Oh 5 Reputation points
commented 2024-06-24T01:31:36.9933333+00:00
Soaad Nahas 0 Reputation points
2 answers One of the answers was accepted by the question author.

Passing another parameter from Index.cshtml to ActionResult Index in StudentsControler.cs

I am able to pass a Search string and a Sort string parameter from Index.cshtml to ActionResult Index in StudentsControler.cs. I have added 3 button and need to pass either True if button1 or False if button2 or NULL if button3. It is much like Search…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,394 questions
asked 2024-06-22T05:07:37.38+00:00
Hursh 191 Reputation points
accepted 2024-06-23T20:12:17.3733333+00:00
Hursh 191 Reputation points
1 answer One of the answers was accepted by the question author.

Filter Records in ASP.NET MVC

The following code searches students by students name and it works fine. I want to add 3 radio button (Enrolled, Not Enrolled, All Students) and filter records based on the radio button selection. How do I do it? Also, is there a way to put these…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,394 questions
asked 2024-06-20T05:14:05.8133333+00:00
Hursh 191 Reputation points
accepted 2024-06-23T20:11:42.1366667+00:00
Hursh 191 Reputation points
2 answers

InvalidOperationException: No connection string named 'PayMyRentEntities' could be found in the application config file

Working on Migrating .NET Framework to .NET core 6. I am trying to run the application which is not able to read the connection string from appsettings.json file. I have shown the appsettings.json file as well. Please let me know what I need to do. Old…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2022-12-20T10:39:09.807+00:00
Anonymous
answered 2024-06-23T16:28:15.7533333+00:00
Remus Tomsa 0 Reputation points
4 answers One of the answers was accepted by the question author.

Issue with View ActionResult on Button Click in MVC 5

The following code works fine and display student enrollment records on the page. Right before the table element, I have 3 buttons to filter out records based on the button that was clicked. In the controller, I added a function "IsEnrolled". …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-06-21T05:39:46.3533333+00:00
Hursh 191 Reputation points
accepted 2024-06-23T05:19:54.8333333+00:00
Hursh 191 Reputation points
1 answer

Will MIP SDK be supported newer versions of .Net core?

Will MIP SDK be supported on newer versions of .NET core?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-06-21T12:54:31.7533333+00:00
Amaldas, Vimal (INFOSYS) 0 Reputation points
answered 2024-06-21T17:35:15.4833333+00:00
Bruce (SqlWork.com) 60,201 Reputation points
3 answers

Has the development of classic ASP been stopped at Microsoft side and if yes, when?

Dear Microsoft team, we have an application, which was developed with classic ASP. We have found the information, that ASP.NET is the successor of classic ASP. The question is, has the development of classic ASP been stopped at Microsoft side and if…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2021-05-10T11:31:17.533+00:00
Yauheniya Seliazniova 6 Reputation points
edited a comment 2024-06-21T17:28:01.5666667+00:00
Lex Li (Microsoft) 5,157 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

My EmailConfirmed is not working

Hi, I'm new to this, so I'm not so good, your help is my pleasure, thank you. I am having a problem with login, the API emailConfirmed still works when I give it token and userId. As far as I know, the EmailConfirmed doesn't confirm itself. I think I…

Microsoft Identity Manager
Microsoft Identity Manager
A family of Microsoft products that manage a user's digital identity using identity synchronization, certificate management, and user provisioning.
645 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
717 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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,562 questions
asked 2024-06-20T20:04:22.7933333+00:00
Nhựt Lại 45 Reputation points
accepted 2024-06-21T15:22:48.6833333+00:00
Nhựt Lại 45 Reputation points
4 answers

There is no ViewData item of type 'IEnumerable<SelectListItem> Error

Hello everyone and thanks for the help in advance. I am trying to populate a select list from viewdata and a receiving the error "There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key 'codes'". My controller…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 questions
asked 2024-06-20T20:22:00.95+00:00
Kmcnet 706 Reputation points
commented 2024-06-21T10:10:49.45+00:00
AgaveJoe 27,421 Reputation points
1 answer

Handling MRNs (Medical Record Numbers) with Compensating Transactions in .NET Core Micro services using the Saga Pattern

In a hospital management system built with micro services using .NET Core and Entity Framework, how can we ensure data consistency when generating Medical Record Numbers (MRNs)? Since MRNs cannot be deleted, how can we handle situations where a…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,338 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.
13,183 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,562 questions
asked 2024-06-20T13:54:23.2666667+00:00
Binu S 0 Reputation points
edited a comment 2024-06-21T05:43:58.2+00:00
Binu S 0 Reputation points
2 answers One of the answers was accepted by the question author.

How my NormalizeEmail always null?

Hi, I'm new to this, so I'm not so good, your help is my pleasure. I have a problem, when I sign up for an account, it is okay, but when I log in, as far as I know, the NormalizeEmail is always null, and I don't know why, I try to cover 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,338 questions
asked 2024-06-19T18:47:21.2133333+00:00
Nhựt Lại 45 Reputation points
commented 2024-06-21T02:28:25.16+00:00
Ping Ni-MSFT 3,040 Reputation points Microsoft Vendor