Using Expander controls in C# / WPF

A short post demonstrating how to use expander controls in WPF, to create a list of collapsible / expandable menu items in your C# WPF application Create a new Visual Studio application Create a View Model class for your main window MainWindowViewModel.cs So that we may hide/collapse/make visible individual controls in our expandable items list, …

Continue reading ‘Using Expander controls in C# / WPF’ »

Creating and consuming a web service in C# / .NET

Creating a web service in Visual Studio Note that in this post I am using the .asmx Web Service as an example, not the newer WCF version. See this StackOverflow post: https://stackoverflow.com/questions/36942846/web-service-template-missing-from-visual-studio-2015-professional Create a new Visual Studio project Use .NET 3.5 Right click on the project and select Add > New Item > Web Service …

Continue reading ‘Creating and consuming a web service in C# / .NET’ »