Vue.js and Internationalization

In this short post we will look into adding Internationalization to a Vue.js project. This will allow us to support multiple languages for all our text elements to start we will create a simple Vue project using the Vue cli as follows vue init webpack i18nSample 1 vue...

.NET Core Web API – Part 2

In this second part we will start adding an endpoint for authentication to our web API. To do this we need to add a new controller. We will add an empty API controller and call it AccountsController. We will use dependency injection to add a UserManager, a...

.NET Core Web API – Part 1

In this multi part blog post we will be creating a .NET Core based Web API with authentication and a number of other features. To start we will create a new project in Visual Studio by selecting the ASP.NET Core Web Application project type then we select the API...

Restarting a WPF application

The following two lines will restart a running WPF application C# /* restart WPF Application */ System.Diagnostics.Process.Start(Application.ResourceAssembly.Location); Application.Current.Shutdown(); 12345 /*    restart WPF...