C# Hints & Tips in the web

This blog contains the C# hints & tips that I found in the web.

Tuesday, June 23, 2020

Server-sent event (SSE) with ASHX (.Net framework 4.6)

›
It took me a while to solve the Server-sent event (SSE) implementation in .Net framework 4.6. Notes: - This new ASHX should not access any s...
Thursday, November 28, 2019

Parse from string - is it JObject or JArray?

›
While we are developing Web API, we might expect the caller to pass in either an object or array of object. Of course it would be best to ha...
Tuesday, February 26, 2019

Removing some HTTP response headers

›
In the web.config of ASP.NET website project: 1. Add the following line to remove the X-AspNet-Version header. <system.web>   ...
Sunday, May 27, 2018

HttpWebRequest and automatic decompression

›
Continue from our previous post "Posting compressed data in JSON format to the ASP.NET website using WinForm", in HttpWebRequest, ...
Saturday, April 21, 2018

Posting compressed data in JSON format to the ASP.NET website using WinForm

›
We have posted an article on how to post JSON data from WinForm to ASP.NET/ASHX in 2015 (as shown below). In the earlier article, it does no...
Tuesday, February 6, 2018

To check if the web server is able to handle TLS1.2

›
You can find lots of information on how to enable the TLS 1.2 in Windows/IIS server. Somehow, their article left out the steps on how to ver...
Tuesday, January 23, 2018

Enforcing TLS1.2

›
TLS 1.2 has been in born since 2008 and yet many of us did not know about it until new requirement came to us... To enforce the TLS 1.2 in...
›
Home
View web version

Contributors

  • LAUHW
  • My 2022 blog
  • Sehong
Powered by Blogger.