ASP.NET HttpContext in async/await patterns using the Task Parallel Library – Part 3

The SynchronizationContext (SC) is a vital component for the ASP.NET request lifecycle and it is strictly coupled to the HttpContext. In the previous posts we saw how running asynchronous operations by using specific TPL patterns might lead to losing the SynchronizationContext and, thus, reference to the HttpContext. Such a behavior can impact applications in several…


ASP.NET HttpContext in async/await patterns using the Task Parallel Library – Part 1

Hopefully brief but yet needed introduction For a long time, when ASP and ASP.NET WebForms were the latest trend, web developers had to rely mainly on synchronous programming. After all, server computing can count on multithreading and it’s free from UI thread freezes. While users don’t normally accept a client application freezing the UI for…


Troubleshooting TLS / SSL communication problems for ASP.NET applications making HTTP Web Request or WCF queries to SSL endpoints – Scenario 3

In our first and second posts about troubleshooting the TLS / SSL problems, we worked to fix a “The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel” error message. We made some basic tests, such as a “browser test” and found that the certificate used was not valid and then…

2

Troubleshooting TLS / SSL communication problems for ASP.NET applications making HTTP Web Request or WCF queries to SSL endpoints – Scenario 2

This is the second part of our series of articles about troubleshooting TLS / SSL communications problems when you make Http Web Request or WCF queries from your ASP.NET applications to SSL endpoints. In our first scenario, we troubleshooted a “The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel” error message. We…

0

Troubleshooting TLS / SSL communication problems for ASP.NET applications making HTTP Web Request or WCF queries to SSL endpoints – Scenario 1

This is the first part of a series of articles about troubleshooting TLS / SSL communications problem when you make Http Web Request or WCF queries from your ASP.NET applications to SSL endpoints. As explained in the introduction article, we will cover some of the problems for our simple ASP.NET 4.6 application which makes an…

0

Troubleshooting TLS / SSL communication problems for ASP.NET applications making HTTP Web Request or WCF queries to SSL endpoints – Introduction

This is the introduction post of a series of articles about troubleshooting TLS / SSL communications problem when you make Http Web Request or WCF queries from your ASP.NET applications to SSL endpoints. Consider the following set up: You are running an ASP.NET application which makes an HTTPS request to an endpoint and the response…

0

Making sure one’s site is compatible with Internet Explorer 11

I have seen a couple of support calls recently that seem to center on various customer ASP.net websites that are not working well (or at all) with Internet Explorer 11. The issues are mostly centered on functionality available on the site’s pages that works well in Internet Explorer 11 in compatibility mode or in other…


Working with ScriptManager and AddHistoryPoint on Master Pages with ASP.net WebForms

While working on my bookmarking site (www.linqto.me), I came up against the following problem: how to make Ajax search pages be persistent even after the user navigates away from them, and then comes back. To illustrate this example, go to www.linqto.me/Links/Search and then search for something like ASP.net – then click on a search result….