Angular Input and Output Decorators and Directives
Angular Input and Output decorators are very important while establishing a relationship between parent and child components in our applications. While developing our project, sometimes our components may become large and hard to read. So, it is always a good choice...
Angular Error Handling
While sending requests to our web API server, we can get an error in response. Therefore, using Angular error handling to handle those errors while sending HTTP requests is a must. That’s exactly what we are going to do in this post. If we get the 404 or the 500...
Angular Lazy Loading
As a continuation of a previous post (where we learned how to use subscription), we will now implement that subscription to our HTTP requests to display the data on the page. Furthermore, we are going to use the advantage of Angular Lazy Loading, by using another...
Angular HttpClient, Services and Environment Files
While sending HTTP requests to our server, we need to use the Angular HttpClient. Of course, we may handle all the HTTP requests from every component and process the response as well, but it is not a good practice. It is much better to make the repository for your...
Angular Navigation and Routing
Angular Components and Project Preparation
Angular project preparation can vary from project to project and from version to version, and this article is dedicated to that topic. Creating the server part (.NET Core Web API part) is just half of the job we want to accomplish. From this point onwards, we are...
ASP.NET Core Web API – Post, Put, Delete
In the previous post, we handled different GET requests with the help of a DTO object. In this post, we are going to create POST PUT DELETE requests and by doing so we are going to complete the server part (.NET Core part) of this series. Let’s get into it. Prefer...
Content Negotiation in Web API
Content negotiation is the process of selecting the best resource for a response when multiple resource representations are available. Content negotiation is an HTTP feature that has been around for a while, but for one reason or another, it is, maybe, a bit...
ASP.NET Core Web API – How to Handle Get Request
The Get Request is something we can't miss while creating API because it is the most common request. So, it is very important to learn more about handling that kind of request. In the previous post, we have created a repository pattern for collecting the data from the...
ASP.NET Core Web API – Repository Pattern
What is a Repository pattern and why should we use it? With the Repository pattern, we create an abstraction layer between the data access and the business logic layer of an application. By using it, we are promoting a more loosely coupled approach to access our data...
Top REST API Best Practices
Many giants like Facebook, Google, Github, Netflix, Amazon, and Twitter have their own REST(ful) APIs that you can access to get or even write data. But why all the need for REST? Is it that good and why is it so prevalent? Surely it's not the only way to convey...
ASP.NET Core Web API – Logging With NLog
Why is logging so important during the application development? Well, while your application is in the developing stage it is very easy to debug the code and to find out what went wrong. But, can you debug in the production environment? Of course not. That is why...
ASP.NET Core Web API – .NET Service Configuration
Having a good understanding of how to configure your project and how to configure the services, that you will use until the end of the development process, is a must. In this article, we will explain how to use the configuration methods in the Startup class. Also, we...
ASP.NET Core Web API – Creating MySQL Database
If you wonder is it hard to manipulate the MySql database by using Workbench, well let me tell you that it is not that hard at all but quite opposite. Creating schemas, tables, relations, and populating those tables is very easy, once you are familiar with the MySql...
HTTP – Security, TLS, and Certificates
If you followed along with the HTTP series, you are ready now to embark on a journey of HTTP security. And a journey it will be, I promise 🙂 Many companies have been a victim of security breaches. To name just a few prominent ones: Dropbox, Linkedin, MySpace, Adobe,...
HTTP Authentication Mechanisms
In the previous part, we've talked about the different ways that websites can use to identify the visiting user. But identification itself represents just a claim. When you identify yourself, you are claiming that you are someone. But there is no proof of that....
HTTP – Client Identification
Up until now, you learned about the basic concepts and some of the architectural aspects of HTTP. This leads us to the next important subject to the HTTP: client identification. In this article, you'll learn why client identification is important and how can Web...
HTTP Architectural Aspects
In the first article of the series, we talked about the basic concepts of the HTTP. Now that we have some foundation to build upon, we can talk about some of the architectural aspects of the HTTP. There is more to HTTP than just sending and receiving data. HTTP cannot...
The HTTP Reference
This article contains all the reference to my HTTP series. This HTTP reference could be helpful if you need to quickly find what some HTTP status code means. It is also some kind of cheat sheet for myself because there is a lot of information to remember by heart. So...
HTTP – Overview of the Basic Concepts
In this article, we will go through the basic concepts of HTTP. But why HTTP? Why should I read about HTTP you may ask yourself? Well, if you are a software developer, you will understand how to write better applications by learning how they communicate. If you are a...
A Few Great Ways to Consume RESTful API in C#
By taking a path of Web development, you find yourself in need of dealing with external APIs (Application Programming Interface) sooner or later. In this article, my goal is to make the most comprehensive list of ways to consume RESTful APIs in your C# projects and...