Category Enterprise Library
OUT-OF-PROCESS Semantic Logging V2 with Elasticsearch
This article shows how to use Microsoft patterns & practices OUT-OF-PROCESS Semantic Logging Version 2 with an Elasticsearch sink. Version 2 has breaking changes compared to version 1.1 for the Elasticsearch sink; this has been removed from the standard SLAB NuGet package… Due to this, a custom sink configuration is required and also some copy […]
Semanic Logging with Elasticsearch using SemanticLogging.Elasticsearch NuGet package
The Enterprise Library team have released a new Semantic Logging Application Block which now includes an Elasticsearch sink. I have also created a Slab.Elasticsearch NuGet package but do not see the point in supporting this anymore, now that it is part of the SLAB itself. One of the major features which my package was missing, […]
Semantic Logging with Elasticsearch
UPDATE: This NuGet package will no longer be supported as SLAB now supports an Elasticsearch sink. This blog still demonstates how to create a custom sink for SLAB. With the version 1.1 bulk inserts can also be used for custom sinks. See https://damienbod.wordpress.com/2014/04/02/semanic-logging-with-elasticsearch-using-semanticlogging-elasticsearch-nuget-package/ This post demonstrates how to create a Semantic.Logging Sink which adds documents […]
Creating an MVC5 App with Unity, SLAB and Attribute Routing
This posts explains how to set up an MVC5 application using Unity 3 and Semantic Logging (SLAB). Attribute Routing is used for the controllers. Code: https://github.com/damienbod/MVC5UnitySlab Adding Unity 3 to the MVC5 project Add the NuGet packages to the MVC5 project. Now add the start up logic in the UnityConfig file in the App_Start folder. […]
SignalR A complete WPF client using MVVM
In this post, a WPF application using MVVM is created and used to send and recieve SignalR messages. The post continues on from: SignalR Messaging, a more complete server with a Console Application Code: https://github.com/damienbod/SignalRMessagingErrorHandling The application uses 4 different projects: Damienbod.SignalR.IHubSync.Client: This project helps us use the SignalR Hub hosted in the server console […]
SignalR Messaging a complete client with a Console Application
This post continues on from: SignalR Messaging, a more complete server with a Console Application Now the client will be developed with some error handling and proper logging. This example is a robust client, which can restart or handle any client, server events. Code: https://github.com/damienbod/SignalRMessagingErrorHandling.git A base Hub client class is created, so that each […]
SignalR Messaging A more complete server with a Console Application
This post continues on from: SignalR Messaging with console server and client, web client, WPF client Now the server will be developed with some error handling, proper logging, an IoC and an Client assembly with an interface and DTOs. Code: https://github.com/damienbod/SignalRMessagingErrorHandling.git To make it easier to use in a .NET client project, we can create […]