4,148 questions with ASP.NET Core tags

Sort by: Updated
1 answer

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,148 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,540 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,216 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,844 questions
asked 2024-04-19T05:19:21.3666667+00:00
Tan Soon Chek 0 Reputation points
commented 2024-04-23T01:17:35.93+00:00
Tan Soon Chek 0 Reputation points
1 answer

OAuth2 callback redirects user to authorization page

I am implementing OAuth2 authorization in my application with an external provider. When the user is redirected back to my application from the authorization server, my application will just redirect the user back despite using the Redirect() method to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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,216 questions
asked 2024-04-22T21:21:27.0266667+00:00
iKingNinja 40 Reputation points
commented 2024-04-22T22:09:38.0233333+00:00
iKingNinja 40 Reputation points
2 answers

Visual Studio stopps responding when creating new React + .NET project

Hello. I have a problem when creating new project in Visual Studio. I am trying to create new Fullstack React + .NET project using the official React + .NET template. However upon creating new project, the console gets opened and quickly closes only for…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,352 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,248 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,592 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
961 questions
asked 2024-04-22T20:53:59.4933333+00:00
Filip Studeny 0 Reputation points
edited an answer 2024-04-22T21:59:54.3+00:00
Bruce (SqlWork.com) 55,196 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.
608 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,466 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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,216 questions
asked 2023-11-07T11:19:50.1566667+00:00
Marnelle M'BENGUET 20 Reputation points
edited a comment 2024-04-22T20:13:26.7166667+00:00
Angel Tobon 0 Reputation points
1 answer

Issue with condition rendering

@page "/register" @model FaceAdminApp.Pages.Auth.RegisterModel @{ ViewData["Title"] = "Register"; } @if (Model.IsPhoneNumberPresent) { <div class="container"> <div class="row…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 questions
asked 2024-04-22T10:39:14.0433333+00:00
Nandini S 20 Reputation points
edited an answer 2024-04-22T12:28:11.3733333+00:00
AgaveJoe 26,191 Reputation points
1 answer

Why does daemon app require user sign-in in API service principal?

I am following the code sample here: https://github.com/Azure-Samples/active-directory-dotnetcore-daemon-v2/tree/master/2-Call-OwnApi#register-the-client-app-daemon-console I am not using the sample code API, instead I have a simple test API. Both API…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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,419 questions
asked 2024-04-15T14:32:33.3266667+00:00
Dev 9 76 Reputation points
commented 2024-04-22T10:35:54.65+00:00
Navya 3,755 Reputation points Microsoft Vendor
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,148 questions
asked 2024-04-19T07:05:24.33+00:00
Nandini S 20 Reputation points
commented 2024-04-22T06:09:29.9+00:00
Tiny Wang-MSFT 1,571 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

LINQ sum Data Group by Month And Year

I have Some Data below Image. How Can do this Using LINQ Query.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 questions
asked 2024-04-21T17:12:47.58+00:00
jewel 781 Reputation points
accepted 2024-04-22T05:50:54.9233333+00:00
jewel 781 Reputation points
0 answers

Dynamically pass the B2C sign-in policy in .NET 8

I am developing the web application using .NET 8 with Asp.NET MVC and using Azure B2C tenant for Authentication. And it will be hosted in the Azure App services that configured with two domain urls. Based on the requested Urls, I wanted to pass the…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 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,419 questions
asked 2024-04-19T16:58:01.86+00:00
Ragu 0 Reputation points
edited the question 2024-04-22T05:12:03.83+00:00
Zhi Lv - MSFT 32,011 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,352 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,844 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,419 questions
asked 2024-04-16T09:54:17.1733333+00:00
Tomar, Abhishek 6 Reputation points
commented 2024-04-22T02:20:35.5366667+00:00
Shweta Mathur 27,216 Reputation points Microsoft Employee
1 answer

System.Web.UI in .Net

I am trying to migrate several projects from .Net Framework 4.8 to .Net 8 in WinForms, Wpf and Asp.net that use common c# libraries. When trying to compile the common dll, errors appear related to "System.Web.UI" which apparently is not used in…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 questions
asked 2024-04-20T05:54:53.8766667+00:00
zequion 91 Reputation points
edited the question 2024-04-22T01:30:13.4+00:00
Lan Huang-MSFT 25,471 Reputation points Microsoft Vendor
1 answer One of the answers was accepted by the question author.

How Can find Data between Two Date Using LINQ

i wan find data between two date. but all data can't display. only last two data find as result. Date productID 2024-04-19 15:50:35.7510481 9 2024-04-19 15:50:35.7539253 10 2024-04-19 16:42:54.1178610 1 2024-04-19 16:42:54.1408529 2 2024-04-19…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 questions
asked 2024-04-20T10:26:12.9566667+00:00
jewel 781 Reputation points
accepted 2024-04-21T16:46:13.4233333+00:00
jewel 781 Reputation points
1 answer One of the answers was accepted by the question author.

what is the main reason to use asp.net mvc instead of webforms?

hi what is the main reason to use MVC instead of webforms? only security ?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 questions
asked 2024-04-21T06:26:43.3866667+00:00
Developer III 20 Reputation points
commented 2024-04-21T07:05:00.9233333+00:00
Developer III 20 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,148 questions
asked 2024-04-10T07:22:48.6266667+00:00
Alick Wang 266 Reputation points
commented 2024-04-20T16:48:49.4133333+00:00
MotoX80 31,571 Reputation points
1 answer

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,148 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,248 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,216 questions
asked 2024-04-19T18:56:41.28+00:00
Anjali Agarwal 1,366 Reputation points
answered 2024-04-20T16:44:19.59+00:00
Bruce (SqlWork.com) 55,196 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,148 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,381 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,248 questions
asked 2024-04-19T09:30:14.7833333+00:00
Kuler Master 246 Reputation points
commented 2024-04-20T15:08:46.87+00:00
Bruce (SqlWork.com) 55,196 Reputation points
1 answer

Need to convert stream file to PDF.

S is my stream variable. I have successfully converted it into doc format. Now I am trying for pdf one. Content Type: "application/pdf" doesn't work. Please give me a solution. s =…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,148 questions
asked 2021-08-19T12:36:05.217+00:00
SAHA Arunava 1 Reputation point
commented 2024-04-20T04:32:12.3433333+00:00
peter floyd 0 Reputation points
2 answers One of the answers was accepted by the question author.

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,148 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,381 questions
asked 2024-04-19T06:48:37.5933333+00:00
William Liu 266 Reputation points
edited an answer 2024-04-20T00:37:27.6566667+00:00
SurferOnWww 1,906 Reputation points
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,148 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,381 questions
asked 2024-04-19T20:39:54.0166667+00:00
David Thielen 2,256 Reputation points
commented 2024-04-19T21:29:36.8466667+00:00
David Thielen 2,256 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,148 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