Injecting Configurations in Razor Views in ASP.NET Core
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...
View ArticleASP.NET Core logging with NLog and Microsoft SQL Server
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:...
View ArticleASP.NET Core 1.0 with MySQL and Entity Framework Core
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...
View ArticleImplementing UNDO, REDO in ASP.NET Core
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...
View ArticleASP.NET Core Action Arguments Validation using an ActionFilter
This article shows how to use an ActionFilter to validate the model from a HTTP POST request in an ASP.NET Core MVC application. Code: https://github.com/damienbod/Angular2AutoSaveCommands Other...
View ArticleAngular2 autocomplete with ASP.NET Core and Elasticsearch
This article shows how autocomplete could be implemented in Angular 2 using ASP.NET Core MVC as a data service. The API uses Elasticsearch to query the data requests. ng2-completer is used to implement...
View ArticleAngular2 search with ASP.NET Core and Elasticsearch
This article shows how a website search could be implemented using Angular 2, ASP.NET Core and Elasticsearch. Most users expect autocomplete and a flexible search like some of known search websites....
View ArticleEF Core diagnosis and features with MS SQL Server
This article shows how Entity Framework Core messages can be logged, and compared using the SQL Profiler and also some of the cool new 1.1 features, but not all. All information can be found on the...
View ArticleImplementing a Client White-list using ASP.NET Core Middleware
This article shows how a client white-list could be implemented using ASP.NET Core middleware checking the Remote IP address of the request. If the client IP is on the white-list, no restrictions...
View ArticleCreating an ASP.NET Core 1.1 VS2017 Docker application
This blog shows how to setup a basic ASP.NET Core 1.1 application using Visual studio 2017 and Docker. Code: https://github.com/damienbod/AspNetCoreVS2017Docker This article from Swaminathan Vetri...
View ArticleBuilding production ready Angular apps with Visual Studio and ASP.NET Core
This article shows how Angular SPA apps can be built using Visual Studio and ASP.NET Core which can be used in production. Lots of articles, blogs templates exist for ASP.NET Core and Angular but very...
View ArticleAngular 2 Lazy Loading with Webpack 2
This article shows how Angular 2 lazy loading can be supported using Webpack 2 for both JIT and AOT builds. The Webpack loader angular-router-loader from Brandon Roberts is used to implement this. A...
View ArticleCreating an ASP.NET Core Docker application and deploying to Azure
This blog is a simple step through, which creates an ASP.NET Core Docker image using Visual Studio 2017, deploys it to Docker Hub and then deploys the image to Azure. Thanks to Malte Lantin for his...
View ArticleDocker compose with ASP.NET Core, EF Core and the PostgreSQL image
This article show how an ASP.NET Core application with a PostgreSQL database can be setup together using docker as the deployment containers for both web and database parts of the application....
View ArticleImplementing an Audit Trail using ASP.NET Core and Elasticsearch with NEST
This article shows how an audit trail can be implemented in ASP.NET Core which saves the audit documents to Elasticsearch using NEST. Code:...
View Article.NET Core logging to MySQL using NLog
This article shows how to log to MySQL in a .NET Core application using NLog. Code: https://github.com/damienbod/AspNetCoreNlog NLog posts in this series: ASP.NET Core logging with NLog and Microsoft...
View ArticleTesting an ASP.NET Core MVC Protobuf API using HTTPClient and xUnit
The article shows how to test an ASP.NET Core MVC API using xUnit and a HTTPClient client using Protobuf for the content formatters. Code: https://github.com/damienbod/AspNetMvc6ProtobufFormatters...
View ArticleASP.NET Core Error Management with elmah.io
This article shows how to use elmah.io error management with an ASP.NET Core application. The error, log data is added to elmah.io using different elmah.io nuget packages, directly from ASP.NET Core...
View Article.NET Core, ASP.NET Core logging with NLog and PostgreSQL
This article shows how .NET Core or ASP.NET Core applications can log to a PostgreSQL database using NLog. Code: https://github.com/damienbod/AspNetCoreNlog Other posts in this series: ASP.NET Core...
View ArticleImplementing OpenID Implicit Flow using OpenIddict and Angular
This article shows how to implement the OpenID Connect Implicit Flow using OpenIddict hosted in an ASP.NET Core application, an ASP.NET Core web API and an Angular application as the client. Code:...
View Article