This article is a mirror article of machine translation, please click here to jump to the original article.

View: 3642|Reply: 2

[Source] .NET/C# console enables the listening https protocol service

[Copy link]
Posted on 1/9/2024 8:51:03 PM | | | |
Requirements: The website needs to read the social security card number, but cannot directly interact with the hardware, it needs to use the .NET framework to write a console application, use the https protocol to listen to the local port, and then the website requests the local console application through AJAX, and the console application reads the social security card information.

HttpServerLite(not maintained, read-only), HttpServerLite has been merged with the .NET Foundation project WatsonWebserver into a subproject called .NET called Watson.Lite.
The hyperlink login is visible.

WatsonWebserver
The hyperlink login is visible.


Watson.Lite is based on the TCP implementation provided by CavemanTcp.
Watson is based on the underlying http.sys within the operating system.

A new .NET Framework 4.7.2 console app is installed, using the nuget command to install it as follows:

The source code is as follows:

Accessed using a browser, the renderings are as follows:



(End)




Previous:Comparison of contributors to multiple open source projects on GitHub
Next:Monitor website availability based on Uptime Kuma
 Landlord| Posted on 1/27/2024 12:03:35 PM |
.NET/C# checks if a TCP port is available
https://www.itsvse.com/thread-10721-1-1.html
Posted on 5/9/2024 1:59:07 PM |
Come and learn to learn and see what's going on. What kind of library is used...
Disclaimer:
All software, programming materials or articles published by Code Farmer Network are only for learning and research purposes; The above content shall not be used for commercial or illegal purposes, otherwise, users shall bear all consequences. The information on this site comes from the Internet, and copyright disputes have nothing to do with this site. You must completely delete the above content from your computer within 24 hours of downloading. If you like the program, please support genuine software, purchase registration, and get better genuine services. If there is any infringement, please contact us by email.

Mail To:help@itsvse.com