In this blog we will build a URL shortener using Node.Js and MongoDb. If you are not familiar with a URL Shortener, it is basically a tool that can make a long URL like this one https://alexcodetuts.com/2020/02/05/asp-net-core-3-1-clean-architecture-invoice-management-app-part-1/ into something like this https://tinyurl.com/y6zsg2ms Let's start building our project. Create a folder somewhere to store our files. … Continue reading Creating a URL Shortener using Node.Js
In this part we will use the API that we created in the previous tutorials and the generated client code to communicate to our API. https://www.youtube.com/watch?v=0KeGqzk5hpY&feature=youtu.be https://www.youtube.com/watch?v=NzVfWKL5jf8 Now we will create our user interface for Create invoice. We have a date input on it, so we will need a date picker and I decided to … Continue reading ASP.NET Core 3.1 Clean Architecture – Invoice Management App (Part 7 React – Create And List Invoice)
In this article I will show you how to use React and dropzone to upload images in the server such as Cloudinary.
In this article I will create a web api using ASP.Net Core 3.1 and instead of using the Entity Framework which I usually do. I will try to use Dapper. We will also use Repository pattern and Unit of Work to manage our data.
How to use NSwag in ASP.Net Core 3.1 to generate API client code.
AutoMapper is a library that can map your object properties with the other object. By default, It maps the value of one object to another by looking on the properties with similar names from the source object to destination object.
We will follow CQRS (Command Query Responsibility Segregation) approach in handling our data. We will use MediatR to handle the mappings of request to response and FluentValidation for validation.
Now we will create our domain entities and implement EF Core auditing by saving the user who created the record and the last user who modified the record.
If you are not familiar with clean architecture, following along this article will help you understand it. I will try create my own implementation of clean architecture based on Jason Taylor's clean architecture.