What is a Multi-tenant SaaS application?

A multi-tenant application is nothing but a software application basically a web app, where a single application handles multiple tenants (organization/company). Software as a Service (SaaS) applications are usually multi-tenant in nature.

I have been developing applications using Microsoft stack for 7 years, so references which I will be sharing in this article will be based on ASP.NET Core. But similar kind of concepts is applicable in other tech stacks like JAVA, Golang, Ruby on Rails, etc.,

In this article, I will describe in detail how a hybrid multi-tenant system can be architected to support a single database per tenant…


This article will guide you on how to add Azure Application Insights in your ASP.NET Core application for tracking application performance.

Application Insights, a feature of Azure Monitor, is an extensible Application Performance Management (APM) service for developers and DevOps professionals provided by Microsoft Azure. Use it to monitor your live application performances.

Creating Application Insights new instance in Azure Portal

Step 1: Go to Azure Portal and search for Application Insights.


Docker — ASP.NET Core

In this tutorial, you will be learning about how to dockerize an ASP.NET Core MVC 5.0 web application to build a docker image for a production build.

Normally, you may find several articles on dockerizing simple ASP.NET Core projects. Even if you try to use a Visual Studio feature for adding docker support to a project, it will generate a simple docker file which may not work if you have a complex project structure. In this article, I will explain using a docker file that can be used for a production build.

What is the need for Dockerization?

You may think, why do I need to…


Google Material Design System has been for a quite long time and being used by several applications. While using Google Cloud I felt the better implementation of Material Design is done by Google Cloud. While surfing and using the application for quite a long time I got inspired by the User experience of the Google Cloud product.

If you are designing a Web application I recommend having a look at the UX of Google Cloud. Small UX tweaks will make your application more user friendly.

1. Text box character length validation — Google Drive Forum

A clear indication of how minimum and maximum character limit


Redis is an open-source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. This article will walk through simple steps to install a Redis Instance in Google Kubernetes Engine Cluster. By following this you can set up and deploy a Redis instance for the development environment in just 5 minutes in your existing K8s cluster.

This article assumes that you have a basic knowledge of handling K8s.

Prerequisite

Procedure for installing Redis using Helm

Step 1: Creating a secret credential for Redis

Create a secret named “ dev-redis-password” from a file containing a Redis password which you need…


Redis is an open-source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. You can find Redis CLI being used most of the time, If you are in need of a GUI for Redis then this guide is for you. A simple Visual Studio Code extension.

Prerequisite

Download and Install VS Code
Guide on how to install VS Code Extension

Steps

1, Install this extension redis explorer by Xuan Zheng in VS Code.

Note: There are several similar extensions, cross-check name, and author of extension as in screenshot and install, since some similar extensions are not working.


Integration testing helps in testing applications in real-time, using actual dependencies without mocking. Unit Tests, on the other hand, mocks external dependencies using fake objects. Unit tests are great for testing systems involving logical functionalities, without external dependencies. For example algorithms or a unit involving logical functionalities. But for Web API Integration testing is much more beneficial compared to the Unit Tests. There is a great article written by Steven Sanderson which explains the cost and benefits of Unit Testing.

In this article, I am going to explain an approach for integration testing Web API using a snapshot-based technique.

The…


In upcoming years, you will see a huge market for SaaS products. If you are building a SaaS application, have a look at this curated collection of open source libraries to build SaaS application using Microsoft ASP.NET Core technology, which is battle-tested, fast, and efficient. Microsoft is improving performance of ASP.NET Core release after release.

Architecture references

Project templates / Frameworks

  • Dotnet-Boxed — Project templates with batteries included, providing the minimum amount of code required to get you going
  • Clean Architecture — This is a solution template…


Postgres 13.1 beta releasedhttps://www.postgresql.org/about/news/2040/

PgConf 2020 on going https://www.pgcon.org/2020/
PgConf 2020 Indiahttps://pgconf.in/conferences/pgconfin2020/schedule/events

Some advanced not known features which PostgreSQL is capable of

RDMS — as like other Database ACID compliant

NoSQL — Using jsonb — provides native json querying functionalities

https://www.pgcon.org/events/pgcon_2020/schedule/speaker/84-oleg-bartunov/

http://www.sai.msu.su/~megera/postgres/talks/jsonb-roadmap-pgcon-2020.pdf

https://www.compose.com/articles/faster-operations-with-the-jsonb-data-type-in-postgresql/

ZedStore — Columnar Storage — as like Cassandra

https://www.pgcon.org/events/pgcon_2020/schedule/session/44-zedstore-in-core-column-store-for-postgres/

TimeScaleDB — Timeseries Database
https://blog.timescale.com/blog/building-a-distributed-time-series-database-on-postgresql/

https://www.pgcon.org/events/pgcon_2020/schedule/session/58-time-series-databases-a-deeper-look/

DB for Analytics

http://www.silota.com/docs/getting-started/postgres-vs-mysql-database-analytics.html

Virtual Computed Columns

https://rob.conery.io/2019/10/24/virtual-computed-columns-in-postgresql-12/

Advanced Indexing

https://sharetechlinks.com/tags/98/postgre-sql?page=1

Advanced Full Text Search

https://rob.conery.io/2019/10/29/fine-tuning-full-text-search-with-postgresql-12/

Materialized Views

https://www.postgresql.org/docs/9.3/rules-materializedviews.html

Using Postgres as a Queue — 10,000 jobs per second

https://gist.github.com/chanks/7585810

Some more links accumulated here

https://sharetechlinks.com/tags/98/postgre-sql


In this article, I will explain from scratch in just 5 steps, How to Setup Azure Web app for Linux and publish your Angular application. You can also setup Azure DevOps Pipeline to setup continuous integration for automatic deployment of your app.

  1. Create a new App Service Plan. If you have already created then skip this step. App service is like one container or a VM machine. In a single azure app service, you can host N no. of web apps. Based on the load you can split your apps to separate app services if required. To create a new…

Bharat Dwarkani

Tech Enthusiast, Full Stack Software Engineer, Product Manager, Engineering Enterprise SaaS product

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store