TDC São Paulo - Arquitetura .NET – Integrando a Autenticação do ASP.NET MVC e WEB API com o...

Preview:

Citation preview

Globalcode – Open4education

Arquitetura .NET – Integrando a

Autenticação do ASP.NET MVC e

WEB API com o Angular JS

Murilo Amarú Gomes

Globalcode – Open4education

Estrutura e Modificações

Globalcode – Open4education

Classe User

Arquivo /Models/User.cs

Globalcode – Open4education

Classe Repository

Arquivo /Models/Repository.cs

Globalcode – Open4education

ApplicationOAuthProvider

Arquivo /Providers/ApplicationOAuthProvider.cs

Globalcode – Open4education

ApplicationOAuthProvider

Arquivo /Providers/ApplicationOAuthProvider.cs

Globalcode – Open4education

Startup

Arquivo /App_Start/Startup.Auth.cs

Globalcode – Open4education

WebApiConfig

Arquivo /App_Start/WebApiConfig.cs

Globalcode – Open4education

Configuração Angular

Arquivo /Scripts/app/tdc.js

Globalcode – Open4education

Configuração Angular

Arquivo /Scripts/app/tdc-routing.js

Globalcode – Open4education

Configuração Angular

Arquivo /Scripts/app/tdc-httpInterceptor.js

Globalcode – Open4education

Serviço Angular

Arquivo /Scripts/app/services/tdcService.js

Globalcode – Open4education

LoginController Angular

Arquivo /Scripts/app/controllers/LoginController.js

Globalcode – Open4education

ApiController

Arquivo /ApiControllers/TDCController.cs

Globalcode – Open4education

MvcController

Arquivo /Controllers/HomeController.cs

Globalcode – Open4education

Obrigado

Murilo Amarú Gomes

murilo@mag-it.com.br

blog.murilogomes.com

www.murilogomes.com

murilomag@hotmail.com

murilotdc2015.azurewebsites.net