Microsoft Q&A

ASP.NET Core

2,805 questions

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

Browse all .NET tags

552 questions with ASP.NET Core tags

Sort by: Updated
0 answers

ASP. NETA WEB API not showing on solution node

I'm a novice but in the solution node I have 3 projects, now I want to add the asp. Net web api but upon clicking create it loads succesfully but the project itself is not seen in the solution node, my projects remain 3/3 instead of 4/4 in short heres a…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 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.
7,494 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,747 questions
asked 2023-03-20T05:13:52.7666667+00:00
JOHN MARKOUSH G. PALAGINOG 0 Reputation points
commented 2023-03-21T06:03:41+00:00
Zhi Lv - MSFT 21,616 Reputation points Microsoft Vendor
0 answers

Controller necessary for creating database / Entity Framework

if I create a property set under models and list it in the context class and run a migration and database update the database is not created (as observed through MSSMS). If I create a controller using entity framework in between creating a property set…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
477 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
718 questions
asked 2023-03-20T13:24:31.3933333+00:00
Dean Everhart 746 Reputation points
commented 2023-03-21T02:06:50.55+00:00
Zhi Lv - MSFT 21,616 Reputation points Microsoft Vendor
0 answers

Getting error while uploading video on video indexer portal.

Hi, I am trying to upload a video on the Video Indexer portal through Indexer API but this is throwing the below error. The same URL is uploading the video on the indexer portal through Postman…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
Azure Video Indexer
Azure Video Indexer
An Azure video analytics service that uses AI to extract actionable insights from stored videos.
16 questions
asked 2023-03-20T12:38:32.7266667+00:00
Shaveta Pujani 0 Reputation points
edited a comment 2023-03-20T23:39:55.0833333+00:00
VasaviLankipalle-MSFT 1,501 Reputation points
0 answers

printing a pdf file embedded on web page

I have a pdf file embedded on a web page. I want to put a print button the web page so that the end user can print the pdf file. How can I achieve this. below is the code for embedding the pdf file on web browser: using (MemoryStream stream = new…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
718 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.
7,494 questions
asked 2023-03-20T23:26:04.0566667+00:00
Anjali Agarwal 596 Reputation points
0 answers

ASP.NET Core MVC : complex data model reading related data

I am trying to display a drop-down on my DEVICES create.cshtml view of the names from CONTACT via the lookup table DeviceAssignments, below is an ERD. I am already able to display the drops downs for DeviceCategories and DeviceLocations, but I am not…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
477 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
718 questions
asked 2023-03-16T17:21:00.64+00:00
tjestesjr77 20 Reputation points
edited a comment 2023-03-20T17:23:40.35+00:00
AgaveJoe 19,046 Reputation points
0 answers

Vsiaul Studio debug services on Docker-Compose not starting

Hi, I try to debug 3 services using Docker-Compose in VS 2022. ServiceC depends on ServiceB which depends on ServiceA. All of these "depends*on" use condition: service_*healthy and every service has a healtcheck. VS will only start container A…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
2,747 questions
asked 2023-03-20T13:49:46.3733333+00:00
BenT 0 Reputation points
0 answers

Failed to get appDefinitions

I have 5 apps in the Developer Portal app. But I can't access to view the app detail. All the apps throw the error. Failed to get appDefinitions (Tracking info: ea546b4a-cddf-41d0-bb46-47743858451b_47 Tue, 14 Mar 2023 04:19:48 GMT | Status code:…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 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.
872 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
1,861 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
5,869 questions
asked 2023-03-14T04:26:32.7466667+00:00
Khoa DEV. Nguyen Tran Minh 5 Reputation points
commented 2023-03-20T10:37:18.86+00:00
Sayali-MSFT 1,611 Reputation points Microsoft Vendor
0 answers

Blazor Web assembly application is not running in iOS and macOS ?

I have Blazor Web assembly application with azure active directory login and it works on my local machine, local IIS but when I published it on server. and try to login in iOS it redirects me to login-failed URL every time. and azure ad popup not shown.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 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.
872 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
858 questions
Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,467 questions
asked 2023-03-15T14:31:55.2666667+00:00
Kuldeep Y 11 Reputation points
commented 2023-03-20T05:27:09.7633333+00:00
Kuldeep Y 11 Reputation points
0 answers

Managing UI CRUD Operations With High Number Of Parent/Child Entities

Hello, I am creating a Knowledge Base application using .Net Core 6, Razor Pages (Non-MVC), Entity Framework Core and SQL Server. I have created a Repository Pattern and am using Unit of Work, in an N-Tier architecture. Each Knowledge Base…

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.
7,494 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
858 questions
ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
Entity Framework Core
Entity Framework Core
A lightweight, extensible, open-source, and cross-platform version of the Entity Framework data access technology.
477 questions
asked 2023-03-17T21:11:47.43+00:00
Brian Ashcraft 100 Reputation points
commented 2023-03-20T02:44:16.2433333+00:00
Zhi Lv - MSFT 21,616 Reputation points Microsoft Vendor
0 answers

String interpolation using $ throws System.NullReferenceException on .Net7

We have in my team just upgraded to .net 7 from 6, but we have run into a issues with string interpolation using $"Text {sample}" We are all developing on Intel Macbook Pro's using both Visual Studio or JetBrains Rider. But since the upgrade…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
858 questions
asked 2023-02-02T23:08:22.8133333+00:00
Morten Starck 0 Reputation points
edited a comment 2023-03-20T02:23:10.49+00:00
Xinran Shen - MSFT 1,281 Reputation points Microsoft Vendor
0 answers

How to obtain https certificate information using HttpClient

HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://xxx.com"); //request.UserAgent = "Mozilla/5.0 request.Method = "GET"; …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
asked 2023-03-18T17:10:58.8733333+00:00
浩 李 0 Reputation points
commented 2023-03-20T01:26:36.2633333+00:00
Farid Uddin Kiron MSFT 201 Reputation points Microsoft Vendor
0 answers

Correlation failed, cookies not found using OpenID in ASP.net core MVC 6

I am getting the below error in my ASP.net core MVC 6 application, my application is using Keycloak and is running in a docker container. We connect to Keycloak using OpenID, but after logging in Keycloak this error occur warn:…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
ASP.NET MVC
ASP.NET MVC
A Microsoft web application framework that implements the model-view-controller (MVC) design pattern.
718 questions
asked 2023-03-19T12:09:20.3466667+00:00
cebuhax0r 21 Reputation points
0 answers

ASP.NET Core MVC with Identity - ArgumentNullException: Value cannot be null. (Parameter 'value') on signInManager.PasswordSignInAsync

What's up everyone, I've been having this issue when implementing Identity authentication to my app. This is the error I get: ArgumentNullException: Value cannot be null. (Parameter 'value') System.ArgumentNullException.Throw(string…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
858 questions
asked 2023-03-17T13:35:56.4266667+00:00
Alexander J 0 Reputation points
commented 2023-03-17T18:45:23.5666667+00:00
Alexander J 0 Reputation points
0 answers

Can not log in into my Mobile App when the Web API is behind a Front Door

Hello, My Mobile App (Xamarin Native) uses WebAuthenticator for authentication with different identity providers - Microsoft, Google, Facebook, Twitter. There is an AuthenticationController on my Web API the WebAuthenticator makes a call to. After that a…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
4,916 questions
Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
354 questions
Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,542 questions
asked 2023-03-10T14:04:08.93+00:00
Ihor Kuliiev 21 Reputation points
commented 2023-03-17T11:18:11.26+00:00
GitaraniSharma-MSFT 29,251 Reputation points Microsoft Employee
0 answers

How to log request header information for SoapCore web service call

Development details .Net 6 SoapCore (1.0.0) Currently, I am implemented IClientMessageInspector and IEndpointBehavior Interface to log SoapCore web service call request response (Only request message and response message). Using this implementation…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
.NET
.NET
Microsoft Technologies based on the .NET software framework.
858 questions
asked 2023-03-17T05:27:00.1166667+00:00
SK Azharuddin 0 Reputation points
commented 2023-03-17T08:17:20.4166667+00:00
Zhi Lv - MSFT 21,616 Reputation points Microsoft Vendor
0 answers

user getting error when refreshing data from sql server database using excel

Users are getting the error when they refresh data from sql server. They are using excel tool to pull the data. See the below error. DatasourceError: Microsoft SQL: A connection was successfully established with the server, but then an error occured…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 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.
9,030 questions
asked 2023-03-15T15:47:31.4066667+00:00
Sree Vupalanchi 0 Reputation points
commented 2023-03-16T14:22:04.61+00:00
Abdul Salam Shaikh 0 Reputation points
0 answers

Cookie(OICD authentication) is not removed when Browser is closed in ASP.NET Core App

Hello, I have an older ASP.NET Core App that uses OICD Authentication and it's Cookie. Problem is that when old .NET Core 2.1 was updated to .NET Core 3.1 that Cookie stayed to live in Browser although Browser was closed. E.g. Logging into App and then…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
asked 2023-03-15T08:11:06.07+00:00
Tapsa 0 Reputation points
edited a comment 2023-03-16T06:04:13.0866667+00:00
Zhi Lv - MSFT 21,616 Reputation points Microsoft Vendor
0 answers

I faced an error "Application '/LM/W3SVC/2/ROOT' with physical root '######' failed to load coreclr." after upgrading my site to DotNet 6

I have upgrade my site from DotNet Core 2.1 to DotNet 6. It seems to work fine for couple of days. Then it started to crash in random interval of time. I checked in the Event Log to find out the cause of this issue and I found the following error…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 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.
7,494 questions
.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: The period of time during which a program is being executed in a computer.
978 questions
Internet Information Services
asked 2023-03-14T05:55:42.0933333+00:00
Sunil Ratna Bajracharya 0 Reputation points
commented 2023-03-14T09:54:15.9133333+00:00
Yurong Dai-MSFT 1,376 Reputation points Microsoft Vendor
0 answers

How to embed textbox into powerpoint using openxml?

I am trying to embed textbox into slide,but my pragram does not work. I am looking forward your help. This is my code. public void AddShape(Slide iSlide, long x, long y, long width, long heigth, D.ShapeTypeValues shapeType, string rgbColorHex) { …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 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.
7,494 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
2,162 questions
asked 2023-03-14T08:11:11.6766667+00:00
qiangang 40 Reputation points
commented 2023-03-14T08:22:18.0433333+00:00
qiangang 40 Reputation points
0 answers

Error Message

Error Message

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,805 questions
asked 2023-03-07T10:35:00.7733333+00:00
Cleber Marques 0 Reputation points
commented 2023-03-08T01:19:09.3966667+00:00
Zhi Lv - MSFT 21,616 Reputation points Microsoft Vendor