Content
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"…
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
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…


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…
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…


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 : …


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.


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.


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…
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…


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…


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…


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…


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…
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…


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…


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


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…


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…
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,…

