Latest articles

  • Implementing Pluggable MVC Services
    SERIES:End-to-end walkthrough: How to Multi-tenant Application, register it with Azure AD, onboard tenants, go through the admin consent workflow, work with incremental [just-in-time] consent. All the code we write will be in C# and the application is an ASP.NET MVC application. … This is Step 7 of the series. To navigate to other articles in this series, look at the end of any article in the series for the list. In the last episode we created a persisting token store, but we did not implement any mechanism to tie in the code […]
  • Software Engineering: The Monolith Argument
    Once in a while, there is a new fad. In everything. Software Engineering included. For a while, these new things appear to be the way to go. However, most often than not, the only reason that the new grass appears greener is because we have been bored of looking at the old pasture and we want some solutions to the moles and mountains on our side of the bargain. We refuse to believe that those problems exist because of us. Not because of problems with the philosophy of engineering. My […]
  • Create a Persisting Token Store
    SERIES:End-to-end walkthrough: How to Multi-tenant Application, register it with Azure AD, onboard tenants, go through the admin consent workflow, work with incremental [just-in-time] consent. All the code we write will be in C# and the application is an ASP.NET MVC application. … This is Step 6 of the series. To navigate to other articles in this series, look at the end of any article in the series for the list. What is a Token Store and Why do you need it? By default, when the user logs in to our app via […]
  • Write an Issuer Validator
    SERIES:End-to-end walkthrough: How to Multi-tenant Application, register it with Azure AD, onboard tenants, go through the admin consent workflow, work with incremental [just-in-time] consent. All the code we write will be in C# and the application is an ASP.NET MVC application. … This is Step 5 of the series. To navigate to other articles in this series, look at the end of any article in the series for the list. In the last chapter, when we configured the Azure AD UI services, we set ValidateIssuer to “false”. And I promised that we […]
  • Hello, Multi-tenant World !
    SERIES:End-to-end walkthrough: How to Multi-tenant Application, register it with Azure AD, onboard tenants, go through the admin consent workflow, work with incremental [just-in-time] consent. All the code we write will be in C# and the application is an ASP.NET MVC application. … This is Step 4 of the series. To navigate to other articles in this series, look at the end of any article in the series for the list. In this chapter, we wire it all up in a very basic way and test that our application runs and can indeed […]
  • Tenant on-boarding workflow, storage and general architecture
    SERIES:End-to-end walkthrough: How to Multi-tenant Application, register it with Azure AD, onboard tenants, go through the admin consent workflow, work with incremental [just-in-time] consent. All the code we write will be in C# and the application is an ASP.NET MVC application. … This is Step 3 of the series. To navigate to other articles in this series, look at the end of any article in the series for the list. This article is basically theory. Laid out below is how the onboarding workflow will work, what state and other information we need […]
  • Create ASP.NET MVC application that authenticates against Azure AD
    SERIES:End-to-end walkthrough: How to Multi-tenant Application, register it with Azure AD, onboard tenants, go through the admin consent workflow, work with incremental [just-in-time] consent. All the code we write will be in C# and the application is an ASP.NET MVC application. … This is Step 2 of the series. To navigate to other articles in this series, look at the end of any article in the series for the list. Prerequisites: Microsoft Visual Studio 2019. You may use Community Edition, it is free for life. Alternately, you may use VS Code or […]
  • Register Multi-tenant App in Azure AD
    SERIES: End-to-end walkthrough: How to Multi-tenant Application, register it with Azure AD, onboard tenants, go through the admin consent workflow, work with incremental [just-in-time] consent. All the code we write will be in C# and the application is an ASP.NET MVC application. What is our application going to do? We will enable two primary things: Read and write certain Azure resources and; Read and write user and group related information in Azure AD. … This is Step 1 of the series. To navigate to other articles in this series, look […]
  • SQL is Dead
    And I say that with heavy prejudice. Not more than five years ago, one had to know the Structured Query Language (SQL) to be able to store and retrieve information from database systems. Database engines like Microsoft’s SQL Server and the open source MySQL, and a myriad other proprietary and open source systems flourished in that era. Today, all that is a thing of the past. You hear names like Cassandra, Couch DB, Cosmos DB, Mongo DB and others. None of these “DB” (aka “databases”) have any resemblance to the […]
  • Fix: Network Discovery turn-ON problem
    In Windows Server 2012+ or Windows 10, have you tried to repeatedly turn ON the “Network Discovery” option only to have it turned off again? It seems it depends on a few services at the back that are both disabled and turned off on server systems. The fix is to turn them back on. Here is a code snippet – stick this into a CMD file and run from an Elevated Command Prompt. NOTE: You will still need to visit your Network Connections & Sharing screen from Control Panel, go […]