@manhng

Welcome to my blog!

IdentityServer4 + React + .NET Core + EF Core + MySQL

October 19, 2020 02:03

IdentityServer4 + React + .NET Core + EF Core + MySQL (edit)

https://github.com/tungphuong/Dapper.SimpleCRUD

https://github.com/vietnam-devs/crmcore

https://github.com/vietnam-devs/coolstore-microservices

https://medium.com/hackernoon/clean-domain-driven-design-in-10-minutes-6037a59c8b7b

Microsoft Graph

August 17, 2020 14:31

Work with Microsoft Graph (edit)

Visual Studio 2019 with .NET Core 3.1 SDK

ADAL (Azure AD v1.0) and MSAL (Azure AD v2.0)

https://docs.microsoft.com/en-us/samples/microsoftgraph/aspnetcore-connect-sample/microsoft-graph-connect-sample-for-aspnet-core-31/

https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-v2-aspnet-webapp

OpenID Connect in ASP.NET Core

https://andrewlock.net/an-introduction-to-openid-connect-in-asp-net-core/

https://deblokt.com/2020/01/24/01-identityserver4-quickstart-net-core-3-1/

https://deblokt.com/2020/01/24/02-identityserver4-entityframework-net-core-3-1/

https://vmsdurano.com/apiboilerplate-and-identityserver4-access-control-for-apis/

https://awesomeopensource.com/project/damienbod/AspNet5IdentityServerAngularImplicitFlow

https://buildmedia.readthedocs.org/media/pdf/identityserver4/release/identityserver4.pdf

https://fullstackmark.com/post/22/build-an-authenticated-graphql-app-with-angular-aspnet-core-and-identityserver-part-1

https://christianlydemann.com/openid-connect-with-angular-8-oidc-part-7/

https://devblogs.microsoft.com/aspnet/bearer-token-authentication-in-asp-net-core/

https://github.com/Deblokt/IdentityServer4Demos.NETCore31 (HAY HAY HAY)

https://www.brunobrito.net.br/aspnet-core-identityserver4/

https://anthonygiretti.com/2018/10/29/common-features-in-asp-net-core-2-1-webapi-authentication-with-a-jwt/

https://hansamaligamage.blogspot.com/2017/02/secure-your-netcore-web-applications.html

https://code-maze.com/wp-content/uploads/2020/06/Bonus-6-Table-of-Content.pdf

https://www.jerriepelser.com/blog/overriding-name-claimtype-aspnetcore-oidc/

https://www.gfxtra31.com/tutorials/programming/1344814-complete-aspnet-core-31-and-entity-framework-development.html

https://lurumad.github.io/identityserver4-retrieving-an-user-s-email-from-twitter-external-login-account

https://www.codeproject.com/Articles/5160941/ASP-NET-CORE-Token-Authentication-and-Authorizatio

https://www.edument.se/en/blog/post/kursnyhet-asp-net-core-med-openid-connect-och-identityserver

https://devblogs.microsoft.com/aspnet/upcoming-samesite-cookie-changes-in-asp-net-and-asp-net-core/

https://identityserver4.readthedocs.io/en/latest/quickstarts/2_interactive_aspnetcore.html

https://pradeeploganathan.com/patterns/repository-and-unit-of-work-pattern-asp-net-core-3-1/

https://fullstackmark.com/post/21/user-authentication-and-identity-with-angular-aspnet-core-and-identityserver

https://stackoverflow.com/questions/60858985/addopenidconnect-and-refresh-tokens-in-asp-net-core

https://docs.identityserver.io/_/downloads/en/latest/pdf/

https://www.jerriepelser.com/blog/authenticate-oauth-aspnet-core-2/

https://www.blinkingcaret.com/2018/05/30/refresh-tokens-in-asp-net-core-web-api/

https://ppolyzos.com/2017/10/30/add-jwt-bearer-authorization-to-swagger-and-asp-net-core/

https://www.keycloak.org/docs/4.8/authorization_services/

https://nahidfa.com/posts/blazor-webassembly-authentication-and-authorization-with-identityserver4/

  • Azure Active Directory
  • OpenID Connect
  • ASP.NET Application ~ WebApp
  • ASP.NET & OWIN
  • Cookie-Based Authentication
  • Microsoft Identity Platform
    • ClientId ~ ApplicationId
    • Authority ~ Include TenantId
    • RedirectUri
    • PostLogoutRedirectUri
    • Scope
    • ResponseType
    • TokenValidationParameters
    • Notifications
  • OWIN middleware
    • Install-Package Microsoft.Owin.Security.OpenIdConnect
    • Install-Package Microsoft.Owin.Security.Cookies
    • Install-Package Microsoft.Owin.Host.SystemWeb
  • Microsoft 365 Developer Program
  • Products 
    • Azure AD
    • Office 365
    • Outlook
  • Technologies
    • Office Add-ins
    • Microsoft Graph
    • Microsoft identity platform
    • Office UI Fabric
  • Applications will need to be upgraded to Microsoft Authentication Library (MSAL) and Microsoft Graph.

Microsoft identity platform overview

https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-overview

Authentication and authorization in Azure App Service and Azure Functions

https://docs.microsoft.com/en-us/azure/app-service/overview-authentication-authorization

Quickstart: Register an application with the Microsoft identity platform

https://azure.microsoft.com/en-us/resources/security-best-practices-for-azure-solutions/

OAuth 2.0 and OpenID Connect protocols on Microsoft identity platform

https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-v2-protocols

Microsoft Graph Explorer

https://developer.microsoft.com/en-us/graph/graph-explorer

Add Microsoft identity platform sign-in to an ASP.NET web app

https://docs.microsoft.com/en-us/azure/active-directory/develop/quickstart-v2-aspnet-webapp

Add Microsoft identity platform sign-in to an ASP.NET web app (Source Code)

https://github.com/AzureADQuickStarts/AppModelv2-WebApp-OpenIDConnect-DotNet/archive/master.zip

Use OpenID Connect to sign in users to Microsoft identity platform (formerly Azure Active Directory for developers) and execute Microsoft Graph operations using incremental consent

https://github.com/Azure-Samples/ms-identity-aspnet-webapp-openidconnect

Build ASP.NET MVC web applications with the Microsoft Graph .NET SDK

https://docs.microsoft.com/en-us/learn/modules/msgraph-build-aspnetmvc-apps/

Microsoft 365 Developer Program

https://developer.microsoft.com/en-us/microsoft-365/

IdentityServer4 and Asp.Net Core Identity

February 10, 2020 21:35

IdentityServer4 and Asp.Net Core Identity (edit)

https://github.com/skoruba/IdentityServer4.Admin

This web application is based on these projects:

  • ASP.NET Core
  • IdentityServer4.EntityFramework
  • ASP.NET Core Identity
  • XUnit
  • Fluent Assertions
  • Bogus
  • AutoMapper
  • Serilog

Any feedback is welcome - feel free to create an issue or send me an email - jan@skoruba.com.

Microsoft REST API Guidelines

https://github.com/Microsoft/aspnet-api-versioning/tree/master/samples/aspnetcore/SwaggerSample

https://github.com/microsoft/aspnet-api-versioning

https://dotnetcoretutorials.com/2017/01/17/api-versioning-asp-net-core/

ASP Core 2.2 Web API + Api Versioning + Swagger (HAY)

https://github.com/jobairkhan/MultipleApiVersionsWithSwagger/tree/AspNetCore2.2

ASP.NET Core 2.1 Web API + Api Versioning + Swagger (HAY)

https://dejanstojanovic.net/aspnet/2018/november/setting-up-swagger-to-support-versioned-api-endpoints-in-aspnet-core/

https://github.com/dejanstojanovic/api-versioning-swagger

ASP.NET Core 2.1 WEB API

https://www.talkingdotnet.com/create-petstore-like-swagger-ui-asp-net-core-web-api/

Add Swagger to ASP.NET Core 2.1 Web API include PetStore sample UI

https://github.com/talkingdotnet/ASPNETCoreSwaggerDemo

Upload File using Angular 5 and ASP.NET Core 2.1 WEB API

https://github.com/talkingdotnet/Angular5FileUpload/

Add JWT Bearer Authorization to Swagger and ASP.NET Core

https://dotnetcoretutorials.com/2017/05/18/csrf-tokens-angularjsjquery-asp-net-core/

https://ppolyzos.com/2017/10/30/add-jwt-bearer-authorization-to-swagger-and-asp-net-core/

https://ssandhu.co.uk/wordpress/2019/03/01/asp-net-core-2-1/

https://medium.com/@salmanlone89/add-swagger-to-asp-net-core-2-1-web-api-f5ef0d170d4f

https://medium.com/@salmanlone89/customize-swagger-to-asp-net-core-2-1-web-api-8af4ff28835d

ASP.NET Core MVC application using API, OpenID Connect Hybrid flow , second API, Code Flow with PKCE

Updated to .NET Core 3.1

https://github.com/damienbod/AspNetCoreHybridFlowWithApi

ASP.NET Core 2.1 with CRUD in A LIST (List replace with Database)

https://github.com/prateekparallel/StudentRegistrationDemo3

LINQ - Populate object collections from multiple sources

https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/concepts/linq/how-to-populate-object-collections-from-multiple-sources-linq

Generic Database Access

https://www.codeproject.com/Articles/601307/Generic-Database-Access

https://www.codeguru.com/columns/dotnet/step-by-step-guide-to-using-generic-ado.net.htm

 

IdentityServer4

February 1, 2018 00:19

Database samples

Chinook is a good name choice for a database that intents to be an alternative to Northwind

Sample database for SQL Server, Oracle, MySQL, PostgreSQL, SQLite, DB2

Chinook Database

See also Chinook Database Schema

https://archive.codeplex.com/?p=chinookdatabase

Code Samples

https://damienbod.com/2016/10/01/identityserver4-webapi-and-angular2-in-a-single-asp-net-core-project/

https://damienbod.com/2017/05/06/secure-asp-net-core-mvc-with-angular-using-identityserver4-openid-connect-hybrid-flow/

https://github.com/jorgecotillo/aspnet_core_identity_server_4_postman

Web API in ASP.NET Core with IdentityServer4

An In Depth Guide Into a Ridiculously Simple API Using .NET Core

https://medium.com/@pielegacy/an-in-depth-guide-into-a-ridiculously-simple-api-using-net-core-8f5edd427b0

Your Guide to RESTful APIs with ASP.NET Core

https://stackify.com/asp-net-core-web-api-guide/

Creating Web API With ASP.NET Core Using Visual Studio Code

http://www.c-sharpcorner.com/article/creating-web-api-with-asp-net-core-using-visual-studio-code/

Five RESTFul Web Design Patterns Implemented in ASP.NET Core 2.0 Part 1: Content Negotiation

https://blog.jeremylikness.com/5-rest-api-designs-in-dot-net-core-1-29a8527e999c

Five RESTFul Web Design Patterns Implemented in ASP.NET Core 2.0 Part 2: HATEOAS

https://blog.jeremylikness.com/5-rest-api-designs-in-dot-net-core-2-ad2f204c2d11

Five RESTFul Web Design Patterns Implemented in ASP.NET Core 2.0 Part 3: Exceptions

https://blog.jeremylikness.com/5-rest-api-designs-in-dot-net-core-3-91ebff38393d

Five RESTFul Web Design Patterns Implemented in ASP.NET Core 2.0 Part 4: Optimistic Concurrency

https://blog.jeremylikness.com/5-rest-api-designs-in-dot-net-core-4-8ac863e961e4

Five RESTFul Web Design Patterns Implemented in ASP.NET Core 2.0 Part 5: Security

https://blog.jeremylikness.com/5-rest-api-designs-in-dot-net-core-5-3ee2cf16713e

Enabling authentication using Facebook, Google, and other external providers

https://docs.microsoft.com/en-us/aspnet/core/security/authentication/social/

Five RESTFul Web Design Patterns Implemented in ASP.NET Core 2.0 Bonus: Swagger

https://blog.jeremylikness.com/5-rest-api-designs-in-dot-net-core-6-9e87cf562241

BonusSwashbuckle.AspNetCore

Sourcehttps://github.com/FabianGosebrink/ASPNETCore-WebAPI-Sample

Categories

Recent posts