MaiDeveloper

How to change security protocol to tls1.2 in IIS/ASP.NET?

How to change security protocol to tls1.2 in IIS/ASP.NET?

Edit `Global.asax` file. Import the `System.Net` class and then change the security protocol to tls1.2 in the `Applicatin_Start` method.
How to set website's default encoding in IIS? How to fix a page that can't display foreign language like Chinese?

How to set website's default encoding in IIS? How to fix a page that can't display foreign language like Chinese?

Add the <meta charset="utf-8" /> tag inside the head tag of the web page. Also add the following setting inside the <configuration><system.web> tag in the web.config file.