7. Embrace the challengelagash.com
Asp.net Core – Startup
Transient
Transient lifetime services are
created each time they're
requested.
Scoped
Scoped lifetime services are
created once per request.
Singleton
Singleton lifetime services are
created the first time they're
requested. Every subsequent
request uses the same instance.
11. Embrace the challengelagash.com
Entity Framework Core - Estructura
Necesario para Migrations
Necesario para asp.net core
Migrations leera el connection string
del config del Proyecto web
12. Embrace the challengelagash.com
Entity Framework Core - Migrations
Recordar agregar la referencia
Proyecto donde se define el DbContext
Sera donde se agreguen el código generado
13. Embrace the challengelagash.com
Entity Framework Core –Acceso configuración
Microsoft.Extensions.Configuration.FileExtensions
Microsoft.Extensions.Configuration.Json
Para accede a la configuracion seran necesario dos librerias:
24. Embrace the challengelagash.com
Interceptors
Desde el punto de vista de Angular son un Servicio que implementa la interface HttpInterceptor
Permite manipular la solicitud http antes que sea enviada al servidor
Permite manipular respuestas http antes que retorne a la applicacion