Microsoft Q&A

ASP.NET Core

2,840 questions

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

Browse all .NET tags

2,840 questions with ASP.NET Core tags

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

App forces user back to login when apppool recycles

We have a private .net app that runs on IIS windows server 2016. We are using the sessionstate service and Forms authentication with cookies <sessionState mode="StateServer" stateConnectionString="tcpip=127.0.0.1:42424"…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
asked 2020-12-30T09:57:50.14+00:00
JamesC222 116 Reputation points
accepted 2021-01-03T16:52:09.75+00:00
JamesC222 116 Reputation points
2 answers One of the answers was accepted by the question author.

Need help in configuring https site on port 443 in IIS and use Self-Signed certificate using Azure desired state configuration

Need help in configuring https site on port 443 in IIS and use Self-Signed certificate using desired state configuration

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
asked 2020-12-30T20:08:02.733+00:00
Ashwa 166 Reputation points
answered 2021-01-01T15:32:27.747+00:00
Ashwa 166 Reputation points
1 answer One of the answers was accepted by the question author.

Visual Studio 2019 (enterprise) V 16.8.3 can't publish .NET web forms app

Please describe the issue in 2-3 sentences. Include what you're trying to accomplish when the issue occurs. When we compile web app and go to publish it to a local folder or simple unc path on our network fails. When compile web app and go to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 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,800 questions
Microsoft Build
Microsoft Build
A Microsoft platform for building applications with Visual Studio and .NET on Windows.
381 questions
.NET Standard
.NET Standard
A formal specification of .NET APIs that are available on multiple .NET implementations.
493 questions
asked 2020-12-23T22:54:00.437+00:00
Lawver, Anthony (FAA) 21 Reputation points
commented 2020-12-31T22:00:05.697+00:00
Lawver, Anthony (FAA) 21 Reputation points
2 answers One of the answers was accepted by the question author.

How to Serve Files from ASP.NET Core Website

I am attempting to setup an ASP.NET Core website and it is basically serving as a proxy/gateway to an Azure Storage blob container. I have requests such as: localhost/files/<guid>/requested/file.html And this fetches the file from Azure…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
asked 2020-12-25T16:32:52.117+00:00
Mike-E 116 Reputation points
accepted 2020-12-31T15:42:45.55+00:00
Mike-E 116 Reputation points
1 answer

Provider type not defined. (Exception from HRESULT: 0x80090017) (Could not load file or assembly 'Microsoft.IdentityModel.Extensions')

We have an issue which occurs intermittently on one of our test environment. The issue is mostly observed when a deployment is carried out but the peculiar behavior about the issue is the post deployment sanity test completes with out any issues however…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 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.
981 questions
SharePoint Development
SharePoint Development
SharePoint: A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.Development: The process of researching, productizing, and refining new or existing technologies.
1,810 questions
asked 2020-12-18T06:14:31.447+00:00
Sajit Kurup 1 Reputation point
commented 2020-12-31T08:23:16.58+00:00
Sam Wu-MSFT 5,596 Reputation points Microsoft Vendor
2 answers

An unexpected network error occurred. - 0X8007003B IIS Smooth Streaming

Hi everyone, I have a server on which I smooth stream. Everything goes normally, users can watch stream without any problems. But I keep getting this error in my event viewer. Couldn't find the reason. Can you help me ? My event viewer xml : …

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
asked 2020-12-29T10:32:50.707+00:00
Looney C 1 Reputation point
commented 2020-12-30T09:37:05.2+00:00
Bruce Zhang-MSFT 3,661 Reputation points
0 answers

additional logs are treated as error during build of C/C++/CSharp code

anything that prints on visual studio command line is treated as error (such has logs/warnings from integrated thirdpatry tool) how to make visual studio not treat that as error and ignore it to continue to build.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 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,587 questions
C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
2,756 questions
asked 2020-12-29T11:13:56.26+00:00
Mohan Reddy 1 Reputation point
commented 2020-12-30T09:33:36.18+00:00
Tianyu Sun-MSFT 14,721 Reputation points Microsoft Vendor
2 answers

How to run IIS program as administrator??

How to run IIS program as administrator?? When executing a WCF website in IIS, the CMD window is not executed as an administrator when executing the CMD window with administrator privileges as an internal code.

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
Windows Communication Foundation
Windows Communication Foundation
A Microsoft runtime and set of application programming interfaces in the .NET Framework for building service-oriented applications.
273 questions
asked 2020-12-30T00:08:18.93+00:00
YoungChul Choi 1 Reputation point
answered 2020-12-30T07:10:17.653+00:00
Duane Arnold 3,211 Reputation points
2 answers One of the answers was accepted by the question author.

Why does MS SQL use exclusive locks on the entire table to update one record?

We have problems with deadlocks, judging by the logs, two requests simultaneously want to get exclusive access to the table. However, both queries change one record in the table. The error occurs at high loads. There was a lack of RAM. In this case, we…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
asked 2020-12-29T10:22:50.667+00:00
Михаил 96 Reputation points
accepted 2020-12-29T14:25:28.18+00:00
Михаил 96 Reputation points
0 answers

How should I return a file over 1G in size

Hi all; We have a RESTful service that generates documents. These returned documents can be very large, 100s of megabytes up to gigabytes. Writing out the document as the response is failing when over 100M. How should I wrote back these larger…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
asked 2020-12-27T16:21:39.48+00:00
David Thielen 691 Reputation points
commented 2020-12-28T11:24:43.923+00:00
David Thielen 691 Reputation points
0 answers

Identity Server 4 vs asp.net idenity

HI I am using the asp.net core identity in my current project. While I was working on it, I read that it is not a security system rather provide login/logout and user profile. So now I have two questions. If it doesn't provide security then why we…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
asked 2020-12-25T12:12:48.283+00:00
Aamiz 21 Reputation points
commented 2020-12-28T06:33:38.607+00:00
Fei Han - MSFT 306 Reputation points Microsoft Vendor
0 answers

API access without scopes

Hello there, I got two projects, an ASP.NET Core Web Application (non-MVC) and an ASP.NET Core Web API. Currently I'm trying to integrate B2C into them but I always get stuck with scopes. The Web API contains an authorized endpoint that I want to…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
Azure Active Directory External Identities
asked 2020-12-25T00:59:54.403+00:00
TorbenJ 11 Reputation points
commented 2020-12-25T10:19:17.52+00:00
Michael Wang-MSFT 1,046 Reputation points
1 answer

Exception filters

Dear Sir/Mam, My name is Vuong Sy Hung from Vietnam (vuongsyhung@Microsoft Corporation .com; +84979382919) I am writing this letter to request information about Creating Exception filters. When I was reading the Exception filters…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
asked 2020-12-25T02:36:08.897+00:00
Hung Angu 1 Reputation point
answered 2020-12-25T06:14:43.08+00:00
Brando Zhang-MSFT 1,926 Reputation points Microsoft Vendor
4 answers

FTP - two FTP sites on different IP addresses

Hello, I have Microsoft Windows Server 2016 FTP configured. I am using two IP addresses, one IP for one FTP site and second IP for second FTP site. I can access to the first FTP site with no problem but I cannot access second FTP site. FTP site…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management, data storage, applications, and communications.
1,859 questions
asked 2020-12-15T11:45:09.267+00:00
WW 341 Reputation points
answered 2020-12-23T15:54:27.027+00:00
MotoX80 24,716 Reputation points
1 answer

How do I prevent SNAT port exhaustion caused by server-side rendering of Angular app on Azure App Service

I have an app built using the ASP.NET Core Angular spa template (https://learn.microsoft.com/en-us/aspnet/core/client-side/spa/angular) with server-side rendering (SSR) enabled. The app is deployed to an Azure App Service. Everything works fine until…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,575 questions
asked 2020-12-14T15:20:42.29+00:00
Josh Berry 1 Reputation point
commented 2020-12-22T03:41:23.29+00:00
Ryan Hill 16,606 Reputation points Microsoft Employee
2 answers One of the answers was accepted by the question author.

HTTP/2 Error, Upgraded from WIN2008 to WIN2016

We are switching from WIN2008 to WIN2016 servers, also we are moving away from Internet Explorer and towards Chrome and Edge. While building our Development site, WIN2016, we ran into an error Err_HTTP/2_INADIQUITE_TRANSPORT_SECURITY. After reviewing…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
asked 2020-12-15T20:33:08.01+00:00
Maldonado, Adrian (RCS) 96 Reputation points
accepted 2020-12-17T22:29:39.523+00:00
Maldonado, Adrian (RCS) 96 Reputation points
1 answer

PowerShell web API

How does one create a PowerShell web API using the dotnet 5 SDK?

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
.NET CLI
.NET CLI
A cross-platform toolchain for developing, building, running, and publishing .NET applications.
290 questions
asked 2020-12-04T22:48:23.44+00:00
Ayan Mullick 66 Reputation points
commented 2020-12-17T15:34:24.197+00:00
Ayan Mullick 66 Reputation points
2 answers

Default document is not loading

I am upgrading classic app written in Asp.NET 3.5. We are migrating the application to .NET 4.7.2. We have got new image in AWS with Windows 2019 Standard and also SQL Server 2019. I have hosted the application as https://myclientapp.com/login. I also…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
ASP.NET
ASP.NET
A set of technologies in the .NET Framework for building web applications and XML web services.
1,326 questions
asked 2020-12-14T15:56:57.837+00:00
Rayal, Pankaj 1 Reputation point
commented 2020-12-17T06:07:10.487+00:00
Bruce Zhang-MSFT 3,661 Reputation points
1 answer One of the answers was accepted by the question author.

HTTP Error 404.2

I have a web application, when I deploy it to iis, I get the error message HTTP Error 404.2 - Not Found. The page you are requesting cannot be served because of the ISAPI and CGI Restriction list settings on the Web server. I searched and found…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 questions
asked 2020-12-14T17:30:27.74+00:00
aqedvv 21 Reputation points
accepted 2020-12-15T17:22:33.26+00:00
aqedvv 21 Reputation points
0 answers

Open an web api generated file in new tab

Hi all! I coded a Web Api wich generates and returns a pdf file, in Blazor Server web app. It works, I can write the controller url and the pdf file shows correcty. But I want to open it when the user clics a button. I think it wouldn't be hard,…

ASP.NET Core
ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
2,840 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.
885 questions
asked 2020-12-14T11:14:07.77+00:00
Francisco Rubio Delgado 1 Reputation point
commented 2020-12-15T07:44:21.713+00:00
Lex Li (Microsoft) 3,286 Reputation points