Friday, March 4, 2016

Binary file as attachment to an email using C#

The below code is example of adding binary files into mail as attachment. Each binary data's are write as file and attaching them into email using MailMessage object.

Tuesday, February 2, 2016

Posting packets from Azure Storage to Service Bus using C#

Microsoft Azure is one of the leading cloud computing environment. Using the below script we are posting raw packets from storage to Service Bus.

Tuesday, January 5, 2016

Rest API Connection in C# - Using RESTSHARP Library

Rest Client connection using C#. In this post, I have explained the very simple solution using RestSharp Library. In RestSharp library, we have RestClient and RestRequest classes. RestClient will help us to establish the connection using API URL, RestRequest object will act as the intermediate between RestClient and API HOST. Using RestRequest, we will define the header and Request Method.