Author: Andy
A post describing how to utilise Appccelerate as a means of employing a state machine in your MVVM / WPF application.Implementing state machines using the state pattern can lead to …
Some sample C# code on how a genetic algorithm can be applied to the quadratic assignment problem.The quadratic assignment problem (QAP) is a combinatorial optimization problem that models the following …
A short post comtaining some example XAML code on how to enable vertical scrolling in a WFP application containing a Scrollviewer command that uses the CEFsharp browser control.Step 1: Create …
Some sample C# code on how a genetic algorithm can be applied to the linear assignment problem.This problem can be efficiently solved using the Hungarian algorithm, but I wanted to …
From StackOverflow searches, I see that there are two possible ways: use an implementation of a TrulyObservableCollection; or use a Binding List.StackOverflow resource:https://stackoverflow.com/questions/1427471/observablecollection-not-noticing-when-item-in-it-changes-even-with-inotifypropIn your console application first implement a property …
First things first, some useful StackOverflow links:https://stackoverflow.com/questions/9201239/send-e-mail-via-smtp-using-c-sharphttps://stackoverflow.com/questions/17462628/the-server-response-was-5-7-0-must-issue-a-starttls-command-first-i16sm1806350To demonstrate how this is done I first create a new Visual Studio project:Some example code for sending an email via a Google email …
useful link is here:https://dotnetcodr.com/2015/09/18/how-to-enable-ssl-for-a-net-project-in-visual-studio/Create a new Web Api project in Visual Studio:Select/click on the Web API project name in the solution explorer, and then click on the Properties tab. Set …
StackOverflow link where I got this technique from is here:https://stackoverflow.com/questions/2454956/create-normal-zip-file-programmatically/First create a new console application:Add references to System.IO.Compression and System.IO.Compression.FileSystem:Select a folder containing a set of files that you would …
A simple console app to demonstrate this.After creating your Visual Studio application, console or otherwise, make sure the System.Web.Extension reference is added:Suppose we have an object we wish to serialize/deserialize, …
This post shows you how to handle encrypted user credentials in a Web Api application and offer further security by enforcing https for all REST api calls.Step 1: Create a …