Author: Marinko Spasojevic

Angular – Angular PUT 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 Angular client side – Form Validation and Create Actions The source code is...

Read More

.NET Core 2.0, Angular 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 Angular client side – @Input, @Output &...

Read More

Angular – Angular Input Output Decorators & Directives – Code Maze

Angular Input 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 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 Angular Input Output decorators is going to be our...

Read More

Angular – How To Handle Errors with 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 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...

Read More

Angular – Angular 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 the advantage of  Angular Lazy 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