Handling secure connections The previous two articles of this mini-series showed how to perform a GET and a POST request on normal HTTP URLs. The last step to have a complete HTTP communication client is to handle HTTPS connections which require certificate verification. This article describes how SSL communication can be handled. The first steps … Continue reading HTTP Communication with C# – (Part III)
Category: .NET
HTTP Communication with C# – (Part II)
Making a POST Request In our last blog post, we looked at handling HTTP GET requests from C#. In this post we take a look at the POST sibling. A POST request in C# is very similar to making a GET request. This article is the second part of the HTTP Communication with C# mini-series. … Continue reading HTTP Communication with C# – (Part II)
HTTP Communication with C# – (Part I)
Making a GET Request The availability and reduced costs in Internet connections opened horizons for more use. Many of today’s software leverage its use to get last minute information from remote servers. Many applications automatically check if a new version is available. Others download latest news about the product or the company which produces the … Continue reading HTTP Communication with C# – (Part I)
Drawing on control canvas
Note: This article is relevant only to Windows form applications. In .NET each control is composed of a canvas on which rendering is performed. To use the canvas of a control one needs to add an event handler to the Paint event. This article provides a couple of examples how to use the Paint event. … Continue reading Drawing on control canvas
Cascade Assignment
Cascade assignment is the concept of having the same value assigned to different variables in one line. For example: copy1 = copy2 = copy3 = some_value; This article examines whether cascade assignment differentiate from having different assignment statements for each assignment operator. For the test scenarios consider the constructor of square shape where all sides … Continue reading Cascade Assignment