Giter Site home page Giter Site logo

belatrixexam's Introduction

Curso .Net Core Trabajo Final

La implementación actual esta dada con Postgresql. Esto debido a que actualmente no hay soporte para 
realizar la conexión en .Net Core 3.0 con MySql. Esto teniendo como base los siguientes links:
	- PomeloFoundation/Pomelo.EntityFrameworkCore.MySql#740
	- https://dev.mysql.com/doc/connector-net/en/connector-net-entityframework-core.html

La librería de Pomelo indica que aún no se está dando soporte a la nueva versión de .Net Core y aún 
no está en sus planes. Por otro lado, la librería del propio MySql aún no lista en sus versiones 
soportadas a la versión de .Net Core 3.0.

Por tal motivo, esta solución se creó empleando Postgresql. Para crear la BD tener las siguientes consideraciones:

- Validar las credenciales deseadas en los siguientes archivos: 
	- appsettings.json
	- Identity/Data/SeedData.cs
- Ejecutar el migrations a nivel de la solución con los siguientes comandos:
	- IdentityDbContext: 
		dotnet ef migrations add Identity --context Belatrix.Exam.WebApi.Identity.Data.ApplicationDbContext --project Belatrix.Exam.WebApi -o Identity/Migrations
		dotnet ef database update --context Belatrix.Exam.WebApi.Identity.Data.ApplicationDbContext --project Belatrix.Exam.WebApi 

	- ChinookDbContext:
		dotnet ef migrations add Initial --context Belatrix.Exam.WebApi.Repository.Postgresql.ChinookDbContext --project Belatrix.Exam.WebApi -o Migrations
		dotnet ef database update --context Belatrix.Exam.WebApi.Repository.Postgresql.ChinookDbContext --project Belatrix.Exam.WebApi
- Recompilar la solución y ejecutar
- Acceder al Swagger a través de la siguiente ruta: https://localhost:44376/swagger/index.html

belatrixexam's People

Contributors

jordinola avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.