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 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

Implementing Generic Repositories in Quasi-DDD Applications

Over the last several weeks I have been working to build a basic re-usable CRUD type repository interface useful for anemic CRUD domain models but that allows for extensions that can potentially be used with richer domain models like the

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

You Ain’t Gonna Need That API

Exhibit B: Simpler (& useful) design

If you are not sure who this API is going to benefit and how, chances are You Ain’t Gonna Need It

Tagged with: , , , , , , , , , , , , , , , , , , , , , , , , ,
Posted in API, architecture, design, Azure Storage SDK, Microsoft Azure, Over Engineering, refactoring, RESTful, SOLID, SOLID principles, Uncategorized
Categories
Follow Artineering on WordPress.com
Links