- .Net 5 Web API With Repository Pattern Docker and PostgreSQLBefore we start coding make sure your environment is ready. Make sure you have .net 5 sdk install in your machine. If not download it form this link https://dotnet.microsoft.com/download/dotnet/5.0 We will also use docker in this tutorial, so make sure to install it. You can get docker from this link https://www.docker.com/products/docker-desktop We will be using … Continue reading .Net 5 Web API With Repository Pattern Docker and PostgreSQL
- Godot 3.2 Guide To Build Your 2D Platformer Game – Part 5 (Camera That Follows The Player, Background And Resetting the Game)This is the fifth part of the series on how to build a 2D Platformer Game using Godot Game Engine. If you miss the last part you can read it here Godot 3.2 Guide To Build Your 2D Platformer Game – Part 4 (Creating the Player) Go to Player scene and add child node. Select … Continue reading Godot 3.2 Guide To Build Your 2D Platformer Game – Part 5 (Camera That Follows The Player, Background And Resetting the Game)
- Godot 3.2 Guide To Build Your 2D Platformer Game – Part 4 (Creating the Player)This is the fourth part of the on going series on how to build a 2D Platformer Game using Godot Game Engine. If you miss the last part you can read it here Godot 3.2 Guide To Build Your 2D Platformer Game – Part 3 (Spawning Platforms Dynamically) In the Scenes folder add a new … Continue reading Godot 3.2 Guide To Build Your 2D Platformer Game – Part 4 (Creating the Player)
- Godot 3.2 Guide To Build Your 2D Platformer Game – Part 3 (Spawning Platforms Dynamically)This is the third part of the on going series on how to build a 2D Platformer Game using Godot Game Engine. If you miss the last part you can read it here. Godot 3.2 Guide To Build Your 2D Platformer Game – Part 2 (Creating a Platform) Add a new folder inside the Scenes … Continue reading Godot 3.2 Guide To Build Your 2D Platformer Game – Part 3 (Spawning Platforms Dynamically)
- Godot 3.2 Guide To Build Your 2D Platformer Game – Part 2 (Creating a Platform)This is the second part on how to build a 2D Platformer Game using Godot game engine. If you miss the first part, here is the link for it Godot 3.2 Guide To Build Your 2D Platformer Game – Part 1 In this part we will build our platforms where the user can jump to. … Continue reading Godot 3.2 Guide To Build Your 2D Platformer Game – Part 2 (Creating a Platform)
- Godot 3.2 Guide To Build Your 2D Platformer Game – Part 1Before we start building our game, there are things that we need to download. First, is the Godot game engine which you can download on your website or just click on this link https://godotengine.org/download I’m using the 64bit standard version of Godot game engine, to follow along I recommend to download the same version. Then … Continue reading Godot 3.2 Guide To Build Your 2D Platformer Game – Part 1
- 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)
- Drag and Drop Image uploader using React, Dropzone and CloudinaryIn this article I will show you how to use React and dropzone to upload images in the server such as Cloudinary.
- ASP.Net Core 3.1 Repository Pattern and Unit of Work Using DapperIn 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.
- ASP.NET Core 3.1 Clean Architecture – Invoice Management App (Part 6 React – How To Convert ReactJs To Typescript)Honestly, I might feel uncomfortable using javascript in a react app. These past few years, I always used typescript whenever I worked on a front-end application. This is the major reason, why I want to convert the ClientApp to a 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.
- ASP.NET Core 3.1 Clean Architecture – Invoice Management App (Part 3 MediatR and FluentValidation)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.
- ASP.NET Core 3.1 Clean Architecture – Invoice Management App (Part 1)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.
- ASP.NET Core 3.1 with React: Facebook external loginIn this article I will teach you how to add Facebook external login in your ASP.NET Core 3.1 application with react. This is a continuation of my previous article ASP.NET Core 3.1 with React: User Authentication and Registration you might want to have a look on it before continuing.
- ASP.NET Core 3.1 with React: User Authentication and RegistrationIn 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.
- ASP.NET Core 3 JWT AuthenticationIn this article we will implement JWT authentication in ASP.NET Core 3.1 API using Microsoft AspNetCore Identity.
- Policy Based Authorization in Asp.Net Core Web ApiIn 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
- Create User Login and Registration and Secure Asp.Net Core Web APIIn 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
- How to Seed Users and Roles in Asp.Net CoreIn 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 a new ASP.NET Core Application Project and Setting Up Asp.Net Core IdentityCreating 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
- VS Code Extension To Scaffold Angular 7 ComponentsI usually used Angular as my front end framework in web development and in my experienced I have to do some repetitive task in creating components, services, directives and other angular files, because of that I looked for a plugin to help me generate those files and I found Angular Files a VS Code extension. … Continue reading VS Code Extension To Scaffold Angular 7 Components
- How To Create an ASP.Net Core Web API Using Visual Studio 2019In 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
- 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 … Continue reading C# Basic: Nested Loop (Display Star Right Triangle)
- How To Connect To MySQL Database Using C# and Perform CRUD OperationI 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 … Continue reading How To Connect To MySQL Database Using C# and Perform CRUD Operation
- Hotel Reservation System C# Entity Framework Part 2This 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 … Continue reading Hotel Reservation System C# Entity Framework Part 2
- Hotel Reservation System C# Entity Framework Part 1To create a Hotel Reservation, we first need to determine our requirements. The user should be able add and update rooms. The user should be able add and update customers. The user should be able to see available rooms. The user should be able to book a customer to a multiple rooms. The user should … Continue reading Hotel Reservation System C# Entity Framework Part 1
- C# Windows Form App CalculatorIn this tutorial I will show you how to create a simple calculator app using C#. You will also learn how to use enum to enumerate a possible values. First Create a new application and design your form to look like this. I named my textbox as txtDisplay. Then my button one to … Continue reading C# Windows Form App Calculator
- How To Connect SQL Server Database Using C# and Perform CRUD Operation – Part 2This is part two of my first post How To Connect SQL Server Database Using C# and Perform CRUD Operation – Part 1. In this post you will learn how to insert, update and delete data in the database using C#. Let’s start by adding form controls to enter data. Add two textboxes in the … Continue reading How To Connect SQL Server Database Using C# and Perform CRUD Operation – Part 2
- How To Connect SQL Server Database Using C# and Perform CRUD Operation – Part 1In this tutorial I will teach you how to connect to SQL Server using C# and perform a basic CRUD operation in object oriented manner. You will also learn how to use DataGridView to display data from the database and how to get the data from the selected row of the data grid. For this … Continue reading How To Connect SQL Server Database Using C# and Perform CRUD Operation – Part 1
- C++ Displaying Text on ScreenIn this article, we are going to learn how to display text on the screen using C++. I am using a Visual Studio 2017 Community Edition. You can download it for free on this link Visual Studio 2017 Community Edition. After installing, Step 1: Open Visual Studio 2017 Community Edition Step 2: Click File -> … Continue reading C++ Displaying Text on Screen
- Reading excel file using C# and ExcelDataReaderI want to introduce you in a library that I usually used to read excel file in C#. It’s called ExcelDataReader, it’s lightweight library for reading excel files. I will not discuss more about it, you can just to the github repository for the details about it. Create a new Windows Forms Project. Then add … Continue reading Reading excel file using C# and ExcelDataReader
- Library Management using ASP.Net MVC (Part 6) Borrowing and returning a bookIn this part we will be finishing up the functionality to assign a book to a customer and returning the book. Source Code: https://github.com/alexcalingasan/LibraryManagement Now let’s update our View for Create and Edit page of BorrowHistory. Copy and paste this for your BorrowHistory create view. Then change your BorrowHistories Edit view code to this. Then … Continue reading Library Management using ASP.Net MVC (Part 6) Borrowing and returning a book
- Library Management using ASP.Net MVC (Part 5) Eager Loading and ProjectionIn this part you will learn how to get the data from the related entities using eager loading. We will also use projection to get the data that we need for the frontend. In the index page of our books, we want to see the list of books and if they are still available or … Continue reading Library Management using ASP.Net MVC (Part 5) Eager Loading and Projection
- Library Management using ASP.Net MVC (Part 4) Entity Framework Relationship and Navigation PropertiesIn this article, we will start looking at the relationship between the customer and book model and how we can keep track of customer borrowing history. Before we start coding we should determine first the relationship of the customer and the book. Points to consider The customer can borrow multiple books. The book can be … Continue reading Library Management using ASP.Net MVC (Part 4) Entity Framework Relationship and Navigation Properties
- Library Management using ASP.Net MVC (Part 3) Adding the CustomersIn this article you will learn about Entity Framework code first migration. In the first part we use Entity Framework code first to create the book model. Code first allows us to focus on creating classes for our domain requirements rather than designing a database first then create a classes to match our database. We … Continue reading Library Management using ASP.Net MVC (Part 3) Adding the Customers
- Library Management using ASP.Net MVC (Part 2) Request LifecycleIt is important to understand the request lifecycle in ASP.Net MVC before we proceed with other tutorials. In this article I will briefly discuss to you how the ASP.Net MVC handles the request. When we make http request in our MVC application it will look for the registered routes in URL Routing Module to determine … Continue reading Library Management using ASP.Net MVC (Part 2) Request Lifecycle
- Library Management using ASP.Net MVC (Part 1) Books CRUD FunctionThis tutorial is about creating a library management system using asp.net mvc and in this part you will learn how to create a Model for your data, add the needed data annotation and scaffold a basic crud application for your model. Before we start coding we should identify first the user’s problem that we are … Continue reading Library Management using ASP.Net MVC (Part 1) Books CRUD Function
- MEAN app with Angular 4 (Part 5) Saving data to MongoDbIn this part we will post a data from angular to node.js and save it to mongoDb. I’m going to use mlab for mongoDb. If you don’t have an account yet with mlab, you can register at https://mlab.com/. Login to your mlab account. Then in create new MongoDb. Select the amazon web services as cloud provider … Continue reading MEAN app with Angular 4 (Part 5) Saving data to MongoDb
- MEAN app with Angular 4 (Part 4) Angular Form and RoutingThis is the continuation of my tutorial of angular 4. In this part you will learn how to bind angular models to input fields and setup angular routing. Angular Form and Data Binding Let’s start by creating a form for new event. Open your angular project then add new file called events-register.component.ts inside your app … Continue reading MEAN app with Angular 4 (Part 4) Angular Form and Routing
- MEAN app with Angular 4 (Part 3) Displaying the data using Angular MaterialIn this article we will be using Angular Material to display the data in the front end. In installing angular material it is good to follow the instruction in their website. You can read the instruction in Angular Material getting started page. Setting up Angular Material Open your angular project using your visual studio code editor … Continue reading MEAN app with Angular 4 (Part 3) Displaying the data using Angular Material
- MEAN app with Angular 4 (Part 2) Getting the data using AngularIn this part we will create an angular service to make a get request to the backend to get the events data. Creating Angular Service Open your angular project using visual studio code. Then create a file name “app.service.ts” inside the src->app folder. Then copy and paste this code inside that file. What we did … Continue reading MEAN app with Angular 4 (Part 2) Getting the data using Angular
- MEAN app with Angular 4 (Part 1) Setting up a development environmentThis article will help you to get started with Angular 4 and Node.js. After finishing this tutorial you will have the basic knowledge that you need to create your own Angular application. In this tutorial I will assume that you already have experience in programming, but haven’t tried the angular 4. In this tutorial we … Continue reading MEAN app with Angular 4 (Part 1) Setting up a development environment
Advertisements