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
- Host: GitHub
- URL: https://github.com/sau-lanvy/localization-sample
- Owner: sau-lanvy
- Created: 2016-12-05T19:05:11.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-18T16:58:11.000Z (over 9 years ago)
- Last Synced: 2024-01-14T00:55:38.664Z (over 2 years ago)
- Topics: asp-net-core, docker, docker-compose, localization, postgresql
- Language: C#
- Homepage:
- Size: 647 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
- Install .NET Core SDK for Visual Studio (https://www.microsoft.com/net/core#windows)
- Create a database in SQL Server
- Update the connection string in appsettings.json
- 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
- Run sqlserver_static.sql script to create sample data
- Press Control + F5
Running the App with Docker Compose
- Install Docker for Mac or Docker for Windows (or Docker Toolbox: http://docker.com/toolbox if you have to)
- Run
docker-compose up --build
- Navigate to http://localhost:5000 (http://192.168.99.100:5000 if using Docker Toolbox) in your browser to view the site.