4,154 questions with ASP.NET Core tags

Sort by: Updated
0 answers

Support of Azure Notification Hubs’ Firebase Cloud Messaging legacy API will be retired by 1 July 2024

I am using ASP.NET Core Web API to send push notifications to Android and iOS devices using the method given below. I am not using any API endpoint directly. Should I change anything in this? string jsonPayLoad = string.Empty; …

Azure Notification Hubs
Azure Notification Hubs
An Azure service that is used to send push notifications to all major platforms from the cloud or on-premises environments.
261 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
asked 2024-04-24T05:33:45.3866667+00:00
Vijay Pratap Singh 21 Reputation points
edited the question 2024-04-24T05:39:27.9633333+00:00
Lan Huang-MSFT 25,471 Reputation points Microsoft Vendor
0 answers

Strategies for Managing Custom Requests in .NET Core Projects

Hi everyone, My team and I are starting a new project. We plan to develop and sell this project to multiple companies. While we will be the sole developers, we'll incorporate requests from these companies into the project. The project will undergo a…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,362 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
asked 2024-04-24T05:29:21.7533333+00:00
Spriggan 0 Reputation points
0 answers

Can't convert Word Document Equation into HTML readable format text like MathML in C#

I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of…

Word
Word
A family of Microsoft word processing software products for creating web, email, and print documents.
658 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,362 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 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,226 questions
VB
VB
An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,569 questions
asked 2024-04-24T04:35:09.1466667+00:00
conduct exam 0 Reputation points
0 answers

How to restore direct dependencies packages only by 'restore --packages' command

I want to restore a .NET project's packages by command line dotnet restore --package. The behavior like this in dotnet restore doc: Package Restore first installs the direct dependencies of a project as needed, then installs any dependencies of those…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,362 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 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,226 questions
asked 2024-04-24T03:50:34.2266667+00:00
Charlie Xie 0 Reputation points
1 answer

Virtual path maps to another application

First, I'm not sure if I am in the correct Forum please direct to proper forum if it is wrong. I'm am getting the following error when I run my VS2019 WCF app. (Note it was originally written in VS2019) [ArgumentException: The virtual path…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
asked 2024-04-23T19:34:00.3866667+00:00
Mobile Application Developer (MAD) 20 Reputation points
commented 2024-04-24T02:28:43.0933333+00:00
AeinBagheri-8958 0 Reputation points
0 answers

How to fix this error: The package reference 'Microsoft.NETCore.Targets' should not specify a version.

I am reaching out to seek assistance with a challenge I've encountered during the migration of our projects to the .NET 8.0 isolated worker model and Azure Functions v4. Despite following the provided documentation closely, the build process is not…

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,237 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,362 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
asked 2024-04-23T21:41:22.9733333+00:00
Venkata Sridhar Perepu 0 Reputation points Microsoft Vendor
1 answer

Load testing for signalR core

Good Day, I was trying to perform load testing for an auction mobile application , we use signalR core and agora as a server , However Crank and tresi are deprecated long time ago (as per my understanding) and it is quite challenging for me to simulate…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 questions
Visual Studio Testing
Visual Studio Testing
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Testing: The act or process of applying tests as a means of analysis or diagnosis.
327 questions
asked 2021-09-20T21:25:19.077+00:00
Meray Wafik 1 Reputation point
commented 2024-04-23T14:08:53.4533333+00:00
Hossein Esmaeili 0 Reputation points
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,154 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,557 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,226 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,852 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,154 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,226 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,362 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
3,250 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,594 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.
962 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,366 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.
610 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
697 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,478 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 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,226 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,154 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,154 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,437 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,154 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,154 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,154 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,437 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,362 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,154 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,852 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,437 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,301 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,154 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,154 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,154 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