Blog Archives

JWT Token Authentication with Cookies in ASP.NET Core

In this post I will show one way to mix JWT Token authentication with cookie authentication using ASP.NET Core and send out the JWT in a response cookie.

Tagged with: , , , , , , , , , , , , , , , , , , , , , , , , ,
Posted in API, architecture, design, ASP.NET Core, Azure Storage SDK, Microsoft Azure, refactoring, RESTful, software architecture, SOLID principles, Uncategorized

Dynamically Mapping Tenant Requests to Tenant Databases in Multi-Tenant Web Applications

In a multi-tenant environment the application database is usually partitioned by tenants. This is done to achieve isolation and scalability. The problem of course is how do you route tenant requests to the correct databases?

Tagged with: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Posted in API, architecture, design, ASP.NET Core, Microsoft Azure, refactoring, software architecture, SOLID principles, Uncategorized

Building Domain Driven Architecture in .NET – Part 3 (Repository Design)

In part 2, I talked about my domain modeling thought process so this post is about trying to persist those objects for long term storage. Although the avenue for different data storage provider is always open with the kind of

Tagged with: , , , , , , , , , , , , , , , ,
Posted in API, architecture, design, best practices, domain driven design, refactoring, software architecture, SOLID, SOLID principles, Uncategorized

Building Domain Driven Architecture in .NET – Part 5 (ASP.NET Core App)

In part 4, I detailed the way I went about creating application services for my expense tracking application. In this final post, I will talk about the ASP.NET Core MVC application that I built with HTML5/Razor front end views on

Tagged with: , , , , , , , , , , , , , , , , , , , , , , , , , ,
Posted in API, architecture, design, ASP.NET Core, domain driven design, Microsoft Azure, refactoring, software architecture, SOLID principles, Uncategorized

Building Domain Driven Architecture in .NET – Part 4 (Application Services)

Application services can be loosely compared with the business logic layer of the yesteryear with one key difference, application services don’t actually contain any business logic neither they enforce any business logic.

Tagged with: , , , , , , , , , , , , , , , , , , , , , , , , , ,
Posted in API, architecture, design, ASP.NET Core, best practices, domain driven design, refactoring, software architecture, SOLID, SOLID principles, Uncategorized

Building Domain Driven Architecture in .NET – Part 2 (Domain Modeling)

In this post, I will be going over the domain modeling in a bit more detail in terms of its design and show my thought process and the decisions I made and why I made them.

Tagged with: , , , , , , , , , , , , , , ,
Posted in API, architecture, design, best practices, domain driven design, refactoring, software architecture, SOLID principles, Uncategorized

Building Domain Driven Architecture in .NET – Part 1 (Overview)

Having read Vaugh Vernon’s book on DDD implementation, I decided to portgrade (port+upgrade) my old clunky Windows based N-tier desktop expense tracking application to ASP.NET Core MVC application using some of the Domain Driven Design concepts I studied in the book.

Tagged with: , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Posted in architecture, design, domain driven design, refactoring, software architecture, SOLID principles, Uncategorized
Categories
Follow Artineering on WordPress.com
Links