Create User Login and Registration and Secure 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 […]

How to Seed Users and Roles in Asp.Net Core

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 […]

C# Basic: Nested Loop (Display Star Right Triangle)

Today I will show you how to use a nested loop. To demonstrate a nested loop we will create a star triangle pattern. Our output will look like this. First we will ask the user to enter the height of the triangle. We can get a user input by using the Console.ReadLine(). Console.ReadLine() returns a […]

How To Connect To MySQL Database Using C# and Perform CRUD Operation

I created a tutorial before on How To Connect SQL Server Database Using C# and Perform CRUD Operation. Now I will use the same application that we built in that tutorial to connect to MySql database and perform a CRUD operation. For this tutorial you need to install MySql Connector. You can download it from […]

Hotel Reservation System C# Entity Framework Part 2

This is part 2 of my Hotel Reservation System using C# Entity Framework tutorial. In this article we will create our customer management and implement search function in our form. Add new form in your project and call it CustomerForm. Then style it like the image below. Use this names for controls in add group […]