:::: MENU ::::
Posts tagged with: Asp.net core

Building multi-tenant application with Asp.Net Core

Recently i am trying to build multi-tenant application using Asp.Net Core. In that journey, I found an amazing series by Ben Foster where he wrote step by step guide to build multi-tenant application with Asp.Net Core and SaaSKit (A developer toolkit for building SaaS applications). With the help of that series, i am able to  build foundation for multi-tenant application. I have added a bit more features in my sample like creating database per tenant as they loaded first time. I have shared my multi-tenant foundation application in github so that other can get idea to build their own. I will add more features along the way.

Continue Reading

Identity Server 4 with Entity Framework Core Sample

Recently i am working on project where i have to build simple Authentication Server. For that project i need to use Resource Owner Password (ROP) OAuth flow with persistence storage of all data. Also need to handle Social Signup/login with ROP flow. Facebook and Google as third party Identity Provider is available in this sample ( up to now)

So i am using Identity Server 4 and Entity Framework core to build this simple authentication server. This sample might be helpful if you are working on same as my requirement.

Also i am extending this sample to support other OAuth flow in future.

Here is project link in Github.


Using MongoDB with ASP.NET Core – Part I (Setup)

In this 2 part series, I will show you how to use MongoDB as data storage in your ASP.NET Core application.

As you may know, MongoDB is an open-source document database, and leading NoSQL database. It is a cross-platform, document oriented database that provides, high performance, high availability, and easy scalability. MongoDB works on concept of collection and document.

Continue Reading

External login provider in AspNet Core

Currently i am developing a simple web application (my side project https://test-api.net/) where developers can get mock API for test purpose and i want to set up login feature but i don’t want to put classical username/password so i was searching for suitable login provider where most of developer hang around and came up with GitHub as login provider because this is a place where developer hang around most and it will be easy to use as a login provider.

Continue Reading