Once again.. Unsupported, not production ready, does what I want it to do. I’ve also not included models and some other bits, as this is reference code.

September 25, 2019

C# – Lets do API stuff without tokens, but using Azure Functions

Once again.. Unsupported, not production ready, does what I want it to do. I’ve also not included models and some other bits, as this is reference […]
September 25, 2019

Some C# – Lets do API things with tokens, JSON, lists and models.

Just dumping some code which I’ll evidently need to reference at some point and as it works.. I don’t want to re-write it (Yes, it’ll go […]
June 22, 2016

C# Code Snipped – Connect to SQL and set variable

using System.Data.SqlClient; var connetion = new SqlConnection(); connetion.ConnectionString = “Data Source=XXXXXXSQL; Initial Catalog=xxx_db1; Integrated Security=true;”; connetion.Open(); SqlCommand query = new SqlCommand(“Select ID from XXX where Username = ‘” + […]