connect api pat


HttpClient client = new HttpClient();


var appsurl = ConfigurationManager.AppSettings["APIPath"].ToString();
            client.BaseAddress = new Uri(appsurl);
            client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));

Comments

Popular posts from this blog

Create Schema Using C# Asp .Net Dynamically.

How to post image in blob using Windows Azure.

How to set Transaction and Roll Back using Entity Framework in C# Code.