Microsoft Q&A

ASP.NET Core

3,501 questions

A set of technologies in the .NET Framework for building web applications and XML web services.

Browse all .NET tags

3,501 questions with ASP.NET Core tags

Sort by: Updated
0 answers

App stopped working on 9/1/2023 with Event Log: 'failed to start process with commandline 'dotnet .\MyApp.dll' ErrorCode = '0x80004005'

Hi there, We had a software app developed back in 2017 that suddenly stopped working a few days ago. I viewed the Application Event Logs and, on 9/1/2023, errors started getting logged which state the following: Application…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 questions
asked 2023-09-06T19:27:22.81+00:00
Liz Walls 0 Reputation points
commented 2023-09-07T13:19:48.1133333+00:00
Liz Walls 0 Reputation points
0 answers

How to fix Azure App Service error: ErrorLoadingControl?

This is the error I got after deploying my ASP.NET Core app with PostgreSQL. I found this in App Service logs: Extension: WebsitesExtension Content: WebsiteLogsBlade Error code-- Error reason: ErrorLoadingControl Details_errorData: undefined…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,512 questions
asked 2023-09-07T13:14:51.5866667+00:00
Yousef Kilany 0 Reputation points
0 answers

Azure AD B2C guessable password policy not applied to Password Reset user flow

I have an ASP.NET Core web app that uses Azure AD B2C for user authentication. I'm noticing some strange behaviour with users setting their passwords using the forgotten password feature and the change password feature. When users go through the in-built…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,295 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 questions
asked 2023-09-07T12:12:42.61+00:00
Umar Ali 0 Reputation points
1 answer

Hangfire is not working for CosmosDB after migrating from MongoDB giving error: A bulk write operation resulted in one or more errors. WriteErrors: [ { Category : "DuplicateKey", Code : 11000, Message : "E11000 duplicate key error collection: Hangfire

We were using MongoDb in our project and Hangfire was working perfectly fine over there but after we have shifted to CosmosDb Hangfire has stopped working, we are using MongoClient only to connect to CosmosDB by passing CosmosDB connection string to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 questions
Azure Cosmos DB
Azure Cosmos DB
An Azure NoSQL database service for app development.
1,175 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
968 questions
asked 2023-09-06T10:25:26.57+00:00
Murtuza Pithawala 0 Reputation points
commented 2023-09-07T10:46:53.2233333+00:00
Murtuza Pithawala 0 Reputation points
0 answers

PrincipalNotFound error is coming

RoleAssignmentResourceFormatResource.UpdateAsync Method is giving PrincipalNotFound Principal {principalId} does not exist in the directory {tenantId}. Check that you have the correct principal ID. If you are creating this principal and then immediately…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,295 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 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.
8,836 questions
asked 2023-09-07T06:36:46.1566667+00:00
Sharma, Kavita (ext) 0 Reputation points
commented 2023-09-07T08:10:44.6366667+00:00
JasonPan - MSFT 2,276 Reputation points Microsoft Vendor
6 answers

export images to PPT and Every image must be in different slide. is it is possible?

I want to export images to PPT. I have so many images that I have stored in one folder now I want to export those images to PPT and every image must be on a different slide. but I am not able to do it. If it is possible, could you give me a demo?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,954 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 questions
asked 2023-09-06T08:11:41.3766667+00:00
Simran Guriya 0 Reputation points
answered 2023-09-07T05:21:18.3933333+00:00
Simran Guriya 0 Reputation points
1 answer

Asp.net core razor pages(.cshtml) not loading properly after upgrading to .net 6 and angular 14

Hi Team, Currently, in my project, we have the angular and .net core apps. The project was created using an SPA template adding angular to it. The projects had a few razor pages included. Now the issue is those razor pages not loading properly in CI/CD…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,954 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 questions
asked 2023-09-04T10:06:53.6+00:00
Umapathi Arumugam 0 Reputation points
answered 2023-09-07T05:16:55.5733333+00:00
Umapathi Arumugam 0 Reputation points
2 answers

Azure Email Communication Service is slow (30 seconds to send email)

When I use Azure Email Communication Services, it takes approximately 30 seconds to send per email, which is extremely slow. I've tried reusing the emailClient to see if subsequent emails are faster, but they're not. I've tried both the default…

Azure Communication Services
Azure Communication Services
An Azure communication platform for deploying applications across devices and platforms.
470 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,512 questions
asked 2023-03-11T16:05:47.3133333+00:00
37298796 0 Reputation points
edited the question 2023-09-07T05:11:43.68+00:00
SnehaAgrawal-MSFT 14,436 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

How to fix error "No webpage was found for the web address:" when I am opening the url for my app service.

Hi community, I have created one dotnet core web app. Pushed it to repos in azure devops, created a pipeline and deployed it on azure web app services. After creating the release and publishing it on web app, when I am trying to open the URL of web app,…

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.
3,501 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,512 questions
asked 2023-05-18T08:39:43.7833333+00:00
Rajneesh Yadav 20 Reputation points
edited the question 2023-09-07T05:11:38.9966667+00:00
SnehaAgrawal-MSFT 14,436 Reputation points Microsoft Employee
1 answer

in Blazor web assembly app azure active directory login not working in iOS and macOS

I have developed a Blazor web assembly application, and using Azure active directory login with MSAL And this is working in windows pc but not working in iOS and macOS, whenever I try to login and hit the login button it says. --- There was an error…

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
16,295 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 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,085 questions
asked 2023-09-05T12:03:25.97+00:00
Kuldeep Y 11 Reputation points
edited the question 2023-09-07T01:14:33.22+00:00
Zhi Lv - MSFT 27,736 Reputation points Microsoft Vendor
2 answers

.net 6.0 farmwork Report viewer

Hi Team, I am using .Net 6.0 farmwork with MVC. Not able to bind Report viewer in razor pages. .Net 6.0 not supporting old packages and web forms. How to bind SSRS rdl in .Net 6.0 MVC framework. Kindly provide a solution with an example source…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,954 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,515 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
968 questions
asked 2023-09-06T05:13:45.53+00:00
Santhosh S 0 Reputation points
answered 2023-09-06T20:31:30.8966667+00:00
Bruce (SqlWork.com) 42,931 Reputation points
3 answers One of the answers was accepted by the question author.

asp.net core different session id with ajax

There is a strange issue, the session has lost a value. Here is the steps to reproduce this issue: open vs2019, and choose "ASP.NET Core Web App(Model-View-Controller)" template. Leave the project name as default: WebApplication1. choose…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,954 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 questions
asked 2023-03-11T05:34:08.79+00:00
Mike Feng 26 Reputation points
commented 2023-09-06T20:13:35.06+00:00
Bruce (SqlWork.com) 42,931 Reputation points
1 answer One of the answers was accepted by the question author.

Token and Cookie Authentication Combine using asp.net core Web API

Hello, I have created the authentication using JWTBearer but I also need cookie authentication too. I tried this but HttpContext.User is empty. because Claim principals are not set after signing successfully. Signing is pure Asp.net core Identity…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 questions
asked 2023-09-05T13:00:02.1333333+00:00
Prathamesh Shende 326 Reputation points
accepted 2023-09-06T14:34:10.13+00:00
Prathamesh Shende 326 Reputation points
1 answer

Swapping to Development Mode on Production Server

Hello everyone and thanks for the help in advance. I need to debug an Asp.Net Core MVC application on a production server as I am receiving the generic error page from one particular dataset, but cannot reproduce it on a test machine. I have read some…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
10,393 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
968 questions
asked 2023-09-05T00:05:37.69+00:00
Kmcnet 526 Reputation points
answered 2023-09-06T12:51:41.5033333+00:00
Johan Smarius 155 Reputation points
1 answer One of the answers was accepted by the question author.

how to use DASH or HLS to play video in asp.net core?

how to upload video and then play it using DASH or HLS?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 questions
asked 2023-09-01T02:44:22.8566667+00:00
mc 2,581 Reputation points
commented 2023-09-06T08:01:26.4633333+00:00
JasonPan - MSFT 2,276 Reputation points Microsoft Vendor
2 answers

C#,.net code and steps to get data from rest API

Hi, Hope you are dong well ! I need help on below question. I need to C#,.net code and steps to get data from any rest api? we can get data from post man tool, but i want to do this with the code, which I can execute and get the data from…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 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.
8,836 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.
235 questions
asked 2023-08-11T06:59:46.8666667+00:00
PATEL Prashant Kumar 20 Reputation points
edited a comment 2023-09-06T07:02:10.13+00:00
Lan Huang-MSFT 17,456 Reputation points Microsoft Vendor
2 answers

.NET 6.0 framwork SSRS Report Viewer.

Hi Team, I am using .Net 6.0 farmwork with MVC. Not able to bind Report viewer in razor pages. .Net 6.0 not supporting old packages and web forms. How to bind SSRS rdl in .Net 6.0 MVC framework. Kindly provide a solution with an example source…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 questions
SQL Server Reporting Services
SQL Server Reporting Services
A SQL Server technology that supports the creation, management, and delivery of both traditional, paper-oriented reports and interactive, web-based reports.
2,515 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
968 questions
asked 2023-09-05T14:43:03.99+00:00
santhosh shekar 0 Reputation points
answered 2023-09-06T06:00:06.9633333+00:00
Xinran Shen - MSFT 1,911 Reputation points Microsoft Vendor
1 answer

Trying to use Microsoft.AspNetCore.SignalR.Client (6.0.0) in a Azure Function 4.0 (.Net Core Project).

Trying to use Microsoft.AspNetCore.SignalR.Client (6.0.0) in a Azure Function 4.0 (.Net Core Project). I am getting this error in the azure Function code while invoking the code var hubConnection = new HubConnectionBuilder() …

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
3,391 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 questions
asked 2023-09-05T18:20:37.67+00:00
Dey, Subir 0 Reputation points
edited an answer 2023-09-06T04:36:56.6633333+00:00
navba-MSFT 4,590 Reputation points Microsoft Employee
1 answer

Where to find an asp.net core expert

I have a website that was custom coded using asp.net core. My web developer is retiring and doesn't have the name of anyone to use instead. Where can I find a list of coders with asp.net core experience who might be able to help maintain my website?…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 questions
asked 2023-08-15T18:08:07.1466667+00:00
Nikki May 0 Reputation points
answered 2023-09-05T17:27:33.7266667+00:00
Muhammad Binyameen 80 Reputation points
1 answer

How to connect to oracle Database from C# Code deployed within docker using wallet file

Hi All We are currently working on establishing a connection to an Oracle database from a C# application using the Oracle.DataAccess.Client library. However, we are encountering difficulties when attempting to connect using a wallet file. Our…

.NET
.NET
Microsoft Technologies based on the .NET software framework.
1,954 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
3,501 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.
8,836 questions
asked 2023-08-23T05:08:17.1733333+00:00
Patil,B,Basappa 0 Reputation points
answered 2023-09-05T17:25:07.21+00:00
Muhammad Binyameen 80 Reputation points