Author: Marinko Spasojevic

.NET Core 2.0, Angular 4 and MySQL. Update Actions

In this post, we are going to update the owner entity by creating a form for the update action and by sending the PUT request towards our server. Without further ado, let’s dive right into it. If you want to see all the basic instructions and complete navigation for the .NET Core series, check out the following link: Introduction of the .NET Core series. For the complete navigation and all the basic instructions of the Angular series, check out: Introduction of the Angular series. For the previous part check out: Creating Angular4 client side – Form Validation and Create Actions The source code is...

Read More

.NET Core 2.0, Angular 4 and MySQL. Form Validation

In the previous post, we have created our child modal components and a directive. Now it’s time to use them in our project. Creating a new owner and using our child components and directives is our goal in this post. If you want to see all the basic instructions and complete navigation for the .NET Core series, check out the following link: Introduction of the .NET Core series. For the complete navigation and all the basic instructions of the Angular series, check out: Introduction of the Angular series. For the previous part check out: Creating Angular4 client side – @Input, @Output &...

Read More

.NET Core 2.0, Angular 4 and MySQL. @Input, @Output & Directives

While developing our project, sometimes our components may become large and hard to read. So, it is always a good choice to split that big component into a few smaller ones. Furthermore, smaller components can be reused into other components, therefore creating the parent-child relationship is a very good idea. Child component depends on the parent component, and because of that, they make one coherent part. Creating child components by using @Input and @Output decorators is going to be our goal in this post. If you want to see all the basic instructions and complete navigation for the .NET...

Read More

.NET Core 2.0, Angular 4 and MySQL. Error Handling

While sending requests to our web API server, we can get an error in a response. Therefore, handling 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 error, we are going to redirect the user to a specific page. For other errors, we are going to show an error message in a modal form. The page that handles the 404 error is already created, so, let’s continue on by creating 500 (Internal server error) component. If you want to see...

Read More

.NET Core 2.0, Angular 4 and MySQL. Lazy Loading

As a continuation to a previous post (in which I’ve shown you how to use subscription), we are now going to implement that subscription to our HTTP requests in order to display the data on the page. Furthermore, we are going to use an advantage of lazy content loading, by using another module in our application – the owner module. If you want to see all the basic instructions and complete navigation for the .NET Core series, check out the following link: Introduction of the .NET Core series. For the complete navigation and all the basic instructions of the Angular series, check out:...

Read More