4,140 questions with ASP.NET Core tags

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

How do I find the method calling Entity Framework that led to an exception

I believe this call is coming from the ASP.NET Identity Library. However, it may be coming from my Blazor code. The below is the entire exception written to the log. How do I find out what method (Identity library or my Blazor code) is calling this? …

Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 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,378 questions
asked 2024-04-19T20:39:54.0166667+00:00
David Thielen 2,231 Reputation points
commented 2024-04-19T21:29:36.8466667+00:00
David Thielen 2,231 Reputation points
1 answer

Blazor Title

Hello, I have a Blazor 8.0 project that has been giving me trouble when it comes to Title. I have a <PageTitle> tag on every page but it remains the Home no matter on which page I am redirected. Is there a solution for this problem? Thank you

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 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,378 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-04-19T09:30:14.7833333+00:00
Kuler Master 246 Reputation points
commented 2024-04-19T18:58:10.3633333+00:00
Kuler Master 246 Reputation points
0 answers

Dangerous site - attackers on the site you're trying to visit might trick you

I have an intranet site. This site is hosted on our internal server 2019 on IIS version 10.0. This website is just a web page that enables the employees to fill out their information and then populates a .pdf file from the information that they fill out.…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 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,204 questions
asked 2024-04-19T18:56:41.28+00:00
Anjali Agarwal 1,366 Reputation points
2 answers

Is it able to upload a folder with blazor wasm client and minimal api server?

I want to upload files and folders recursively throught the wasm client to minimal api server. I have learned that I can use IFormFile or IFormFileCollection to receive files in minimal api.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 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,378 questions
asked 2024-04-19T06:48:37.5933333+00:00
William Liu 246 Reputation points
answered 2024-04-19T17:59:33.5666667+00:00
Bruce (SqlWork.com) 55,041 Reputation points
4 answers

saving the Identity token in the Aspnetusertokens table

Hi I created an Asp.net core 6 project and I added the Identity framework for authentication and authorization, I would like to add token management and while doing research I realized that Identity also manages the management of tokens because it…

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.
607 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
696 questions
Microsoft Authenticator
Microsoft Authenticator
A Microsoft app for iOS and Android devices that enables authentication with two-factor verification, phone sign-in, and code generation.
5,451 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 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,204 questions
asked 2023-11-07T11:19:50.1566667+00:00
Marnelle M'BENGUET 20 Reputation points
edited an answer 2024-04-19T17:53:03.2366667+00:00
Bruce (SqlWork.com) 55,041 Reputation points
8 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,140 questions
asked 2023-06-03T08:29:57.58+00:00
Vaishnavi P 30 Reputation points
commented 2024-04-19T12:31:29.8133333+00:00
Kasaven Naicker 0 Reputation points
1 answer

problem with otp generation

Register.cshtml @page "/register" @model FaceAdminWebApp.Pages.Auth.RegisterModel @{ ViewData["Title"] = "Register"; } <h5>NEW REGISTER</h5> @if (Model.IsPhoneNumberPresent) { <form method="post"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2024-04-19T07:05:24.33+00:00
Nandini S 20 Reputation points
answered 2024-04-19T12:19:01.4933333+00:00
AgaveJoe 26,186 Reputation points
2 answers One of the answers was accepted by the question author.

how can add data using for loop

I want to insert some array data into the database. Here using for loop. The problem is - I want to keep the InvoiceNO related to the OrderNumber change. For example, if the OrderNumber changes, the InvoiceNO will also change. I have shown it 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,140 questions
asked 2024-04-18T10:36:25.6733333+00:00
jewel 701 Reputation points
accepted 2024-04-19T05:50:55.2533333+00:00
jewel 701 Reputation points
0 answers

Request OAuth2.0 token using azure app services managed identity

Hi All, I have a question on Azure App Service Managed Identity. Currently we are working on an API project where it provide the function to interact with user in Azure Entra thru Microsoft Graph API calling. To protect the API function, we have a…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,521 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,204 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.
293 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,829 questions
asked 2024-04-19T05:19:21.3666667+00:00
Tan Soon Chek 0 Reputation points
1 answer One of the answers was accepted by the question author.

does razor pages support aot?

razor pages support AOT?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2024-04-17T15:36:34.7966667+00:00
mc 3,641 Reputation points
edited a comment 2024-04-18T16:06:52.17+00:00
Bruce (SqlWork.com) 55,041 Reputation points
1 answer

Versioned Artifacts for .NET Framework and .NET Core application(s)

Hi Microsoft, I am trying to create versioned artifacts for dotnet applications (.NET Framework & .NET Core) using msbuild and dotnet CLI commands. I ran it for msbuild while implementing CI/CD pipeline using GitHub Actions following Microsoft's…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2024-04-17T17:41:02.4466667+00:00
Arjun Goel 0 Reputation points
answered 2024-04-18T15:57:12.3+00:00
Bruce (SqlWork.com) 55,041 Reputation points
1 answer One of the answers was accepted by the question author.

how to pass data from child table to controller

I got stuck in a tricky problem. I can't find the solution anywhere. Clicking on the row of my datatable opens the child table. Checkboxes are attached to both parent table and child table. Clicking the DataTable checkbox(name="Selectall"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2024-04-17T10:40:31.2233333+00:00
jewel 701 Reputation points
accepted 2024-04-18T13:20:32.2766667+00:00
jewel 701 Reputation points
2 answers

On Click of hyperlink Teams chat opening

Hello Team I am working on a requirement which on a click of hyperlink. I am using Microsoft Razor Microsoft Teams should open and a particular person chat should open, message should contain a message along with a div ready to be delivered(Waiting for…

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
9,033 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2024-04-17T08:00:52.94+00:00
Sridhar, Arun (Cognizant) 0 Reputation points
edited an answer 2024-04-18T08:10:07.1933333+00:00
Sridhar, Arun (Cognizant) 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,140 questions
asked 2024-04-10T07:22:48.6266667+00:00
Alick Wang 266 Reputation points
commented 2024-04-18T02:40:29.7533333+00:00
JasonPan - MSFT 4,201 Reputation points Microsoft Vendor
1 answer

How can i get current user groups from Azure AD using claims in dotnet core?

I have a dotnet core web application and this app authorisation is working based on azure AD. Question: How can i get all the groups name related to login user? do i have to make any changes in my azure app? I have already added this setting in…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,829 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,389 questions
asked 2024-04-16T09:54:17.1733333+00:00
Tomar, Abhishek 6 Reputation points
edited an answer 2024-04-18T01:58:27.9866667+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor
2 answers One of the answers was accepted by the question author.

How to mitigates Cross-Site Scripting (XSS) Attacks using msal-browser and msal-angular on production?

Implementing a login solution using the Microsoft Identity Provider with OpenID Connect (OIDC). Is it safe to use the msal-browser and msal-angular libraries in an Angular application on production? How can Cross-Site Scripting (XSS) Attacks be…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,246 questions
asked 2023-12-20T14:46:41.1133333+00:00
Khajo Elias 20 Reputation points
answered 2024-04-17T22:42:51.8566667+00:00
Bruce (SqlWork.com) 55,041 Reputation points
0 answers

.Net 6 Ubuntu jammy 22.04 base image upgrade. GSSAPI NTLM error

We are planning to upgrade from .Net 6 to .Net 8 version. To prepare for that upgrade we first upgraded from ubuntu 20.04 to ubuntu 22.04. We target ubuntu 22.04 version jammy tag with amd64 architecture. This is our base image in the Docker file 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,140 questions
asked 2024-04-16T14:00:09.06+00:00
Saravanakumar Balachandran 40 Reputation points
edited the question 2024-04-17T17:25:43.53+00:00
deherman-MSFT 33,141 Reputation points Microsoft Employee
1 answer One of the answers was accepted by the question author.

MSBuild 16.4 MSB3644 Error .NET 8 Deployment Center Sync

I have 3 API projects repo'd in devops and hosted on windows 2016 servers (App Services) that were using the app service continuous deployment sync functionality. So far, everyday i have deployed small code changes to all three environments. One by one…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,829 questions
asked 2024-04-11T12:52:50.5866667+00:00
Ables, Bradley 35 Reputation points
accepted 2024-04-17T12:34:29.23+00:00
Ables, Bradley 35 Reputation points
2 answers One of the answers was accepted by the question author.

Azure DevOps Build pipeline failing at Publish step after upgraded to dot net 8

I am trying to upgrade my ASP.Net Core 2.2 project to Dot Net 8. We have ReactJS as a front end and using node 16.16.0 version which were working fine on dot net core 2.2 project. After project upgrade to dot net 8 it’s working fine on my local machine.…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,346 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2024-03-13T12:31:03.9266667+00:00
Amit Thore 41 Reputation points
accepted 2024-04-17T12:26:13.8933333+00:00
Amit Thore 41 Reputation points
3 answers

Edit directly in Grid on WEB Page in Razor

I have a table that I populate in Razor pages using stored procedures. I populate table in a loop on the Razor pages. I want to put a button on the grid and when you click on the button you can edit the values directly in the Grid and Save it back to the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,140 questions
asked 2024-04-15T17:43:07.4333333+00:00
Joseph Kashishian 20 Reputation points
answered 2024-04-17T10:08:54.5266667+00:00
AgaveJoe 26,186 Reputation points