ASP.NET Core 3.1 Clean Architecture – Invoice Management App (Part 7 React – Create And List Invoice)
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. 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 use react-dates … Continue reading ASP.NET Core 3.1 Clean Architecture – Invoice Management App (Part 7 React – Create And List Invoice)
ASP.NET Core 3.1 Clean Architecture – Invoice Management App (Part 6 React – How To Convert ReactJs To Typescript)
ASP.NET Core 3.1 Clean Architecture – Invoice Management App (Part 5 NSwag – Setting up Swagger and Auto generate API client code)
How to use NSwag in ASP.Net Core 3.1 to generate API client code.
ASP.NET Core 3.1 Clean Architecture – Invoice Management App (Part 4 AutoMapper – Map object properties to another object)
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.
ASP.NET Core 3.1 Clean Architecture – Invoice Management App (Part 2 Auditing in EF Core with CreatedBy and LastModifiedBy)
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.
In this article, I will show you an easy way to create an application with user authentication, registration and management using ASP.NET Core 3.1 Web Api as backend and React as a frontend framework.
In this article we will implement JWT authentication in ASP.NET Core 3.1 API using Microsoft AspNetCore Identity.
In the previous article we implement user authentication and secure our api endpoint using Authorize attribute. The Authorize attribute allowed us to make sure that only logged in users can access our api. In a real world application we only want to allow a certain type of users to access some part of the api. … Continue reading Policy Based Authorization in Asp.Net Core Web Api
In this article I will show you to create user login and registration and how to secure your web api. This article is a continuation of my previous articles Creating a new ASP.NET Core Application Project and Setting Up Asp.Net Core Identity and How to Seed Users and Roles in Asp.Net Core if you haven’t seen them … Continue reading Create User Login and Registration and Secure Asp.Net Core Web API
In my previous article Creating a new ASP.NET Core Application Project and Setting Up Asp.Net Core Identity we created a new Asp.Net Core project and setup Asp.Net Core identity and database. Now in this article we will create I will show you how to create our initial data in our database. Using the same project that … Continue reading How to Seed Users and Roles in Asp.Net Core
Creating Asp.Net Core Web Api Project Create a new Asp.Net Core Web Application and name it whatever name you want, but for me I will name my project as PayrollApp.Api since I plan to create a payroll application. Then select Api for project template and leave Authentication to no Authentication. Building Asp.Net Core Database and … Continue reading Creating a new ASP.NET Core Application Project and Setting Up Asp.Net Core Identity
In this article I will teach you how to create an ASP .Net Core Web API using Visual Studio 2019. If you don’t have Visual Studio 2019, you can download it from https://visualstudio.microsoft.com/ for free. In installing Visual Studio 2019. Make sure to check ASP.NET and web development. After installing Visual Studio 2019. Open Visual … Continue reading How To Create an ASP.Net Core Web API Using Visual Studio 2019