Tag Archives: ASP.NET Core 1.0

ASP.NET Core with PostgreSQL and Entity Framework Core

This article shows how to use PostgreSQL with ASP.NET Core 3.1 using Entity Framework Core. Code: https://github.com/damienbod/AspNetCoreMultipleProject Posts in this series: Experiments with Entity Framework Core and an ASP.NET Core API ASP.NET Core with PostgreSQL and Entity Framework Core ASP.NET Core with MySQL and Entity Framework Core 2020-01-10: Updated to ASP.NET Core 3.1 2018-12-05: Updated […]

Experiments with Entity Framework Core and an ASP.NET Core API

The article shows some of the ways in which Entity Framework Core can be used together with ASP.NET Core. Both packages run on dotnet which makes it possible to run on Linux, Mac or Windows operating systems. The Entity Framework providers are implemented in separate data access projects using onion architecture. Code: https://github.com/damienbod/AspNetCoreMultipleProject Posts in […]

ASP.NET Core MVC API documentation using Swashbuckle Swagger

This article shows how to document your ASP.NET Core 1.0 MVC API using Swagger with Swashbuckle. Per default, it does not use your xml comments in the code and this needs to be configured if required. Code: https://github.com/damienbod/AspNet5GeoElasticsearch 2017.02.12 Updated to VS2017, msbuild and Swashbuckle.AspNetCore 2016.07.03 Updated to ASP.NET Core RTM 2016.06.04 Updated to ASP.NET […]

ASP.NET Core 3.1 MVC File Upload with MS SQL SERVER FileTable

This article shows how to upload and download files in ASP.NET Core 3.0 MVC and save the files to a MS SQL Server using FileTable. The data access for the application is implemented in a separate project and EF Core migrations is used to setup the select logic for the database. Code: https://github.com/damienbod/AspNetCoreFileUploadFileTable 2019-12-21: Updated […]

Using Elasticsearch with ASP.NET Core 1.0

This article shows how to use Elasticsearch with ASP.NET Core 1.0, dnxcore or dnx451. ElasticsearchCrud ASP.NET Core 1.0 RTM version is used for the Elasticsearch data access. ElasticsearchCrud supports netcoreapp1.0 and .NET with Elasticsearch 2.3.1. By supporting dnxcore50, the Elasticsearch API can now be run on windows, linux or a mac. 2016.06.30: Updated to ASP.NET […]

OAuth2 Implicit Flow with AngularJS and ASP.NET Core 2.0 IdentityServer4

This article shows how to implement the OAuth2 Implicit Flow with an AngularJS client and IdentityServer4 hosted in ASP.NET Core 1.1. The code was built using the IdentityServer4.Samples. Thanks to everyone who helped in creating IdentityServer. Code: https://github.com/damienbod/AspNet5IdentityServerAngularImplicitFlow History: 2017-08-15: Updated ASP.NET Core 2.0, Angular 4.3.6 Full history: https://github.com/damienbod/AspNet5IdentityServerAngularImplicitFlow#history Other posts in this series: OAuth2 […]

Using DataAnnotations and Localization in ASP.NET Core MVC

This article shows how ASP.NET Core localization can be used together with data annotations. The data annotations are used to decorate the data model, and when HTTP POST/PUT (also PATCH) Requests are sent with model errors, the error message is returned localized in the request culture. Code: https://github.com/damienbod/AspNetCoreLocalization Posts in this series ASP.NET Core MVC […]

ASP.NET Core MVC Localization

This article shows some of the ways in which localization can be used in an ASP.NET Core MVC application. Code: https://github.com/damienbod/AspNetCoreLocalization/ Posts in this series ASP.NET Core MVC Localization Using DataAnnotations and Localization in ASP.NET Core MVC ASP.NET Core using SQL Localization 2018-12-05: Updated to ASP.NET Core 2.2 and EF Core 2.2 2017-08-19: Updated to […]

ASP.NET Core 1.0 updating to beta8 from older beta versions

This post just explains some of the things you need to do when updating to ASP.NET Core 1.0 beta8 from older versions. I have updated some existing ASP.NET Core 1.0 example projects to beta8. The first thing you have to do is to update your dnvm, dnu and your dnx. This is the same as […]

ASP.NET Core multiple configurations without using environment variables

This article shows how to use multiple Json configuration files in ASP.NET Core 2.1 which can be used in CI for automatic deployment without requiring environment variables. Code: https://github.com/damienbod/AspNetCoreConfiguration 2018-06-20: Updated to ASP.NET Core 2.1 2017-08-15: Updated to ASP.NET Core 2.0 2017-07-01: Updated to VS2017 and csproj 2016-07-01: Updated to ASP.NET Core 1.0 RTM 2016-05-17: […]