The article shows how to implement UNDO, REDO functionality in an ASP.NET Core application using EFCore and MS SQL Server. This is the first blog in a 3 part series. The second blog will implement the UI using Angular 2 and the third article will improve the concurrent stacks with max limits to prevent memory […]

This article shows how to use MySQL with ASP.NET Core 1.0 using Entity Framework Core. Code: https://github.com/damienbod/AspNet5MultipleProject Thanks to Noah Potash for creating this example and adding his code to this code base. The Entity Framework MySQL package can be downloaded using the NuGet package SapientGuardian.EntityFrameworkCore.MySql. At present no official provider from MySQL exists for […]

This article shows how to Log to Elasticsearch using NLog in an ASP.NET Core application. NLog is a free open-source logging for .NET. Code: https://github.com/damienbod/AspNetCoreNlog NLog posts in this series: ASP.NET Core logging with NLog and Microsoft SQL Server ASP.NET Core logging with NLog and Elasticsearch NLog.Extensions.Logging is required to use NLog in an ASP.NET […]

This article shows how to setup logging in an ASP.NET Core application which logs to a Microsoft SQL Server using NLog. Code: https://github.com/damienbod/AspNetCoreNlog NLog posts in this series: ASP.NET Core logging with NLog and Microsoft SQL Server ASP.NET Core logging with NLog and Elasticsearch The NLog.Extensions.Logging is required to add NLog to a ASP.NET Core […]

This article shows how localized data can be imported and exported using Localization.SqlLocalizer. The data is exported as CSV using the Formatter defined in the WebApiContrib.Core.Formatter.Csv package. The data can be imported using a file upload. This makes it possible to export the applications localized data to a CSV format. A translation company can then […]

This article shows how application configurations can be injected and used directly in razor views in an ASP.NET Core MVC application. This is useful when an SPA requires application URLs which are different with each deployment and need to be deployed as configurations in a json or xml file. Code: https://github.com/damienbod/AspNetCoreInjectConfigurationRazor The required configuration properties […]

This article shows how to import and export csv data in an ASP.NET Core application. The InputFormatter and the OutputFormatter classes are used to convert the csv data to the C# model classes. Code: https://github.com/damienbod/AspNetCoreCsvImportExport 2016.06.29: Updated to ASP.NET Core RTM The LocalizationRecord class is used as the model class to import and export to […]

Follow

Get every new post delivered to your Inbox.

Join 155 other followers