SlideShare una empresa de Scribd logo
1 de 28
Conectando dos potencias
Angular + asp.net core
Leandro Tuttini
Developer Sr - Lagash - Microsoft MVP Developer Technologies
ltuttini@Lagash.com
Leandro Seoane
Developer Sr - Emerios
lleandro.seoane@emerios.com
Embrace the challengelagash.com
Agenda
Angular
Asp.net Core
Asp.net Core
Embrace the challengelagash.com
Asp.net Core – Por donde empezar
Embrace the challengelagash.com
Asp.net Core –Armando la estructura
Embrace the challengelagash.com
Asp.net Core – Program
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.
Embrace the challengelagash.com
Asp.net Core – Startup
Embrace the challengelagash.com
Asp.net Core –API
Opcion recomendada
Embrace the challengelagash.com
Asp.net Core –API
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
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
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:
Embrace the challengelagash.com
Automapper
Startup.cs
Utilizacion
Angular
Embrace the challengelagash.com
HttpClientModule
Embrace the challengelagash.com
Model
Embrace the challengelagash.com
Service – Definicion
Embrace the challengelagash.com
Service – Invocando la web api
Embrace the challengelagash.com
Service – Inyectando en el Componente
Embrace the challengelagash.com
Service – Como Utilizarlos
comic.service.ts
Embrace the challengelagash.com
Transformando datos con RxJs
Embrace the challengelagash.com
Headers
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
Embrace the challengelagash.com
Interceptors - Header
El request se clona porque es inmutable
Embrace the challengelagash.com
Interceptors - Log
Embrace the challengelagash.com
Interceptors – Como registrarlo
Argentina | Buenos Aires
+54 (11) 4982 4185
info@lagash.com
Chile | Santiago de Chile
+56 (2) 2231 9428
info_chile@lagash.com
Colombia | Bogotá
+57 (1) 750 5276
info_colombia@lagash.com
México | México DF
+52 (55) 6394 0617
info_mexico@lagash.com
USA | Seattle - US
+1 844 4 Lagash
infousa@lagash.com
Uruguay | Montevideo
+598 2623 2546
info_uy@lagash.com
Let’s keep in touch

Más contenido relacionado

La actualidad más candente

What happens when anyone can make an app? - No Code Conf 2019 Demo Theater
What happens when anyone can make an app? - No Code Conf 2019 Demo TheaterWhat happens when anyone can make an app? - No Code Conf 2019 Demo Theater
What happens when anyone can make an app? - No Code Conf 2019 Demo Theater
Webflow
 
Learn REST API with Python
Learn REST API with PythonLearn REST API with Python
Learn REST API with Python
Larry Cai
 
How we Webflow at Webflow - No Code Conf 2019 Demo Theater
How we Webflow at Webflow - No Code Conf 2019 Demo TheaterHow we Webflow at Webflow - No Code Conf 2019 Demo Theater
How we Webflow at Webflow - No Code Conf 2019 Demo Theater
Webflow
 
Design the right thing, then design the thing right - Ben Stewart - UX Café M...
Design the right thing, then design the thing right - Ben Stewart - UX Café M...Design the right thing, then design the thing right - Ben Stewart - UX Café M...
Design the right thing, then design the thing right - Ben Stewart - UX Café M...
UX Café
 

La actualidad más candente (20)

Why and How to Use Virtual DOM
Why and How to Use Virtual DOMWhy and How to Use Virtual DOM
Why and How to Use Virtual DOM
 
개발자를 위한 (블로그) 글쓰기 intro
개발자를 위한 (블로그) 글쓰기 intro개발자를 위한 (블로그) 글쓰기 intro
개발자를 위한 (블로그) 글쓰기 intro
 
Design sitemap
Design sitemapDesign sitemap
Design sitemap
 
What happens when anyone can make an app? - No Code Conf 2019 Demo Theater
What happens when anyone can make an app? - No Code Conf 2019 Demo TheaterWhat happens when anyone can make an app? - No Code Conf 2019 Demo Theater
What happens when anyone can make an app? - No Code Conf 2019 Demo Theater
 
CTO Playbook
CTO PlaybookCTO Playbook
CTO Playbook
 
인공지능추천시스템 airs개발기_모델링과시스템
인공지능추천시스템 airs개발기_모델링과시스템인공지능추천시스템 airs개발기_모델링과시스템
인공지능추천시스템 airs개발기_모델링과시스템
 
딥러닝을 이용한 사용자 선호도 기반 의상 추천 알고리즘 Ppt 선수강
딥러닝을 이용한 사용자 선호도 기반 의상 추천 알고리즘 Ppt 선수강딥러닝을 이용한 사용자 선호도 기반 의상 추천 알고리즘 Ppt 선수강
딥러닝을 이용한 사용자 선호도 기반 의상 추천 알고리즘 Ppt 선수강
 
Overview of React.JS - Internship Presentation - Week 5
Overview of React.JS - Internship Presentation - Week 5Overview of React.JS - Internship Presentation - Week 5
Overview of React.JS - Internship Presentation - Week 5
 
Le Wagon - React 101
Le Wagon - React 101Le Wagon - React 101
Le Wagon - React 101
 
KrKwic내용분석특강(november2006)
KrKwic내용분석특강(november2006)KrKwic내용분석특강(november2006)
KrKwic내용분석특강(november2006)
 
Test & Learn: How to Find Your Product's North Star Metric
Test & Learn: How to Find Your Product's North Star Metric Test & Learn: How to Find Your Product's North Star Metric
Test & Learn: How to Find Your Product's North Star Metric
 
Learn REST API with Python
Learn REST API with PythonLearn REST API with Python
Learn REST API with Python
 
How we Webflow at Webflow - No Code Conf 2019 Demo Theater
How we Webflow at Webflow - No Code Conf 2019 Demo TheaterHow we Webflow at Webflow - No Code Conf 2019 Demo Theater
How we Webflow at Webflow - No Code Conf 2019 Demo Theater
 
Content Architecture in WordPress
Content Architecture in WordPressContent Architecture in WordPress
Content Architecture in WordPress
 
Design the right thing, then design the thing right - Ben Stewart - UX Café M...
Design the right thing, then design the thing right - Ben Stewart - UX Café M...Design the right thing, then design the thing right - Ben Stewart - UX Café M...
Design the right thing, then design the thing right - Ben Stewart - UX Café M...
 
Learn react-js
Learn react-jsLearn react-js
Learn react-js
 
제 18회 보아즈(BOAZ) 빅데이터 컨퍼런스 - [뉴진스] : Multi-modal Fake News Detection
제 18회 보아즈(BOAZ) 빅데이터 컨퍼런스 - [뉴진스] : Multi-modal Fake News Detection제 18회 보아즈(BOAZ) 빅데이터 컨퍼런스 - [뉴진스] : Multi-modal Fake News Detection
제 18회 보아즈(BOAZ) 빅데이터 컨퍼런스 - [뉴진스] : Multi-modal Fake News Detection
 
Intro GraphQL
Intro GraphQLIntro GraphQL
Intro GraphQL
 
제 15회 보아즈(BOAZ) 빅데이터 컨퍼런스 - [MarketIN팀] : 디지털 마케팅 헬스체킹 서비스
제 15회 보아즈(BOAZ) 빅데이터 컨퍼런스 - [MarketIN팀] : 디지털 마케팅 헬스체킹 서비스제 15회 보아즈(BOAZ) 빅데이터 컨퍼런스 - [MarketIN팀] : 디지털 마케팅 헬스체킹 서비스
제 15회 보아즈(BOAZ) 빅데이터 컨퍼런스 - [MarketIN팀] : 디지털 마케팅 헬스체킹 서비스
 
하이퍼커넥트에서 자동 광고 측정 서비스 구현하기 - PyCon Korea 2018
하이퍼커넥트에서 자동 광고 측정 서비스 구현하기 - PyCon Korea 2018하이퍼커넥트에서 자동 광고 측정 서비스 구현하기 - PyCon Korea 2018
하이퍼커넥트에서 자동 광고 측정 서비스 구현하기 - PyCon Korea 2018
 

Similar a Integrando Angular con Asp.net Core

Servlets y jsp
Servlets y jspServlets y jsp
Servlets y jsp
dtbadboy0
 
Formulación Y Planeación
Formulación Y PlaneaciónFormulación Y Planeación
Formulación Y Planeación
Diego Peralta
 
Serlets y jsp prev
Serlets y jsp prevSerlets y jsp prev
Serlets y jsp prev
jtk1
 
Serlets y jsp pre
Serlets y jsp preSerlets y jsp pre
Serlets y jsp pre
jtk1
 

Similar a Integrando Angular con Asp.net Core (20)

Proyecto Avatar - JavaScript sobre la JVM del servidor
Proyecto Avatar - JavaScript sobre la JVM del servidorProyecto Avatar - JavaScript sobre la JVM del servidor
Proyecto Avatar - JavaScript sobre la JVM del servidor
 
Simulando para integrar: Un paso más hacia la Entrega Continua (CD)
Simulando para integrar: Un paso más hacia la Entrega Continua (CD)Simulando para integrar: Un paso más hacia la Entrega Continua (CD)
Simulando para integrar: Un paso más hacia la Entrega Continua (CD)
 
Mejores prácticas y las difíciles lecciones aprendidas con las aplicaciones S...
Mejores prácticas y las difíciles lecciones aprendidas con las aplicaciones S...Mejores prácticas y las difíciles lecciones aprendidas con las aplicaciones S...
Mejores prácticas y las difíciles lecciones aprendidas con las aplicaciones S...
 
Optimización de aplicaciones web con base de datos NoSQL In-Memory
Optimización de aplicaciones web con base de datos NoSQL In-MemoryOptimización de aplicaciones web con base de datos NoSQL In-Memory
Optimización de aplicaciones web con base de datos NoSQL In-Memory
 
Angular - Introduccion
Angular - IntroduccionAngular - Introduccion
Angular - Introduccion
 
Spring Mvc Final
Spring Mvc FinalSpring Mvc Final
Spring Mvc Final
 
5.- PPT 2022 05 U01 T01 Desarrollo de Servicios Web I (1915).pptx
5.- PPT 2022 05 U01 T01 Desarrollo de Servicios Web I (1915).pptx5.- PPT 2022 05 U01 T01 Desarrollo de Servicios Web I (1915).pptx
5.- PPT 2022 05 U01 T01 Desarrollo de Servicios Web I (1915).pptx
 
CrossDvlpu - REACT para desarrolladores de ASP.NET
CrossDvlpu - REACT para desarrolladores de ASP.NETCrossDvlpu - REACT para desarrolladores de ASP.NET
CrossDvlpu - REACT para desarrolladores de ASP.NET
 
Cross development - React para desarrolladores de asp.net
Cross development - React para desarrolladores de asp.netCross development - React para desarrolladores de asp.net
Cross development - React para desarrolladores de asp.net
 
Java Web: Servlets
Java Web: ServletsJava Web: Servlets
Java Web: Servlets
 
Servlets y jsp
Servlets y jspServlets y jsp
Servlets y jsp
 
Dynamics saturday madrid 2019 web api
Dynamics saturday madrid 2019   web apiDynamics saturday madrid 2019   web api
Dynamics saturday madrid 2019 web api
 
App engine
App engineApp engine
App engine
 
¿Que son los microservicios?
¿Que son los microservicios?¿Que son los microservicios?
¿Que son los microservicios?
 
Formulación Y Planeación
Formulación Y PlaneaciónFormulación Y Planeación
Formulación Y Planeación
 
Serlets y jsp prev
Serlets y jsp prevSerlets y jsp prev
Serlets y jsp prev
 
Serlets y jsp pre
Serlets y jsp preSerlets y jsp pre
Serlets y jsp pre
 
introduccion a Ajax
introduccion a Ajaxintroduccion a Ajax
introduccion a Ajax
 
Aplicaciones en tiempo real con nodejs y html5
Aplicaciones en tiempo real con nodejs y html5Aplicaciones en tiempo real con nodejs y html5
Aplicaciones en tiempo real con nodejs y html5
 
Java web 01 - servlets
Java web 01 - servletsJava web 01 - servlets
Java web 01 - servlets
 

Último

TECNOLOGIA DE LA INFORMACION Y MULTIMEDIA 15 MAYO.pptx
TECNOLOGIA DE LA INFORMACION Y MULTIMEDIA 15 MAYO.pptxTECNOLOGIA DE LA INFORMACION Y MULTIMEDIA 15 MAYO.pptx
TECNOLOGIA DE LA INFORMACION Y MULTIMEDIA 15 MAYO.pptx
UPSE
 
TECNOLOGÍA DE LA INFORMACIÓN SLIDESHARE INVESTIGACION.pdf
TECNOLOGÍA DE LA INFORMACIÓN SLIDESHARE INVESTIGACION.pdfTECNOLOGÍA DE LA INFORMACIÓN SLIDESHARE INVESTIGACION.pdf
TECNOLOGÍA DE LA INFORMACIÓN SLIDESHARE INVESTIGACION.pdf
UPSE
 

Último (10)

Tipos de datos en Microsoft Access definiciones.pdf
Tipos de datos en Microsoft Access definiciones.pdfTipos de datos en Microsoft Access definiciones.pdf
Tipos de datos en Microsoft Access definiciones.pdf
 
CIBERSEGURIDAD Y SEGURIDAD INFORMÁTICA.pptx
CIBERSEGURIDAD  Y SEGURIDAD INFORMÁTICA.pptxCIBERSEGURIDAD  Y SEGURIDAD INFORMÁTICA.pptx
CIBERSEGURIDAD Y SEGURIDAD INFORMÁTICA.pptx
 
Modelado de Casos de uso del negocio
Modelado de  Casos  de  uso  del negocioModelado de  Casos  de  uso  del negocio
Modelado de Casos de uso del negocio
 
TECNOLOGIA DE LA INFORMACION Y MULTIMEDIA 15 MAYO.pptx
TECNOLOGIA DE LA INFORMACION Y MULTIMEDIA 15 MAYO.pptxTECNOLOGIA DE LA INFORMACION Y MULTIMEDIA 15 MAYO.pptx
TECNOLOGIA DE LA INFORMACION Y MULTIMEDIA 15 MAYO.pptx
 
El necesario mal del Legacy Code (Drupal Iberia 2024)
El necesario mal del Legacy Code (Drupal Iberia 2024)El necesario mal del Legacy Code (Drupal Iberia 2024)
El necesario mal del Legacy Code (Drupal Iberia 2024)
 
Especificación casos de uso del negocio
Especificación  casos de uso del negocioEspecificación  casos de uso del negocio
Especificación casos de uso del negocio
 
TECNOLOGÍA DE LA INFORMACIÓN SLIDESHARE INVESTIGACION.pdf
TECNOLOGÍA DE LA INFORMACIÓN SLIDESHARE INVESTIGACION.pdfTECNOLOGÍA DE LA INFORMACIÓN SLIDESHARE INVESTIGACION.pdf
TECNOLOGÍA DE LA INFORMACIÓN SLIDESHARE INVESTIGACION.pdf
 
contabilidad para la inflacion, contabilidad superior
contabilidad para la inflacion, contabilidad superiorcontabilidad para la inflacion, contabilidad superior
contabilidad para la inflacion, contabilidad superior
 
serenidad APP presentacion.pdfes una innovadora aplicación móvil diseñada par...
serenidad APP presentacion.pdfes una innovadora aplicación móvil diseñada par...serenidad APP presentacion.pdfes una innovadora aplicación móvil diseñada par...
serenidad APP presentacion.pdfes una innovadora aplicación móvil diseñada par...
 
Ciberseguridad y Seguridad Informática Franco Correa Grupo B.pptx
Ciberseguridad y Seguridad Informática Franco Correa Grupo B.pptxCiberseguridad y Seguridad Informática Franco Correa Grupo B.pptx
Ciberseguridad y Seguridad Informática Franco Correa Grupo B.pptx
 

Integrando Angular con Asp.net Core