An open API service indexing awesome lists of open source software.

https://github.com/sau-lanvy/localization-sample

Localization with .NET Core 1.1, Entity Framework Core 1.1
https://github.com/sau-lanvy/localization-sample

asp-net-core docker docker-compose localization postgresql

Last synced: 3 months ago
JSON representation

Localization with .NET Core 1.1, Entity Framework Core 1.1

Awesome Lists containing this project

README

          

# Localization-Sample
Building a Localization Sample with ASP.NET Core 1.1 and EF Core 1.1

Using Visual Studio 2015 Update 3 in Windows


  1. Install .NET Core SDK for Visual Studio (https://www.microsoft.com/net/core#windows)

  2. Create a database in SQL Server

  3. Update the connection string in appsettings.json

  4. Open Package Manager Console Window and type "dotnet ef migrations add InitialCreate" for creating Migrations and then type "Update-Database". This action will create database schema

  5. Run sqlserver_static.sql script to create sample data

  6. Press Control + F5


Running the App with Docker Compose

  1. Install Docker for Mac or Docker for Windows (or Docker Toolbox: http://docker.com/toolbox if you have to)

  2. Run docker-compose up --build

  3. Navigate to http://localhost:5000 (http://192.168.99.100:5000 if using Docker Toolbox) in your browser to view the site.