Author: Marinko Spasojevic

.NET Core with SignalR and Angular – Real-Time Charts

SingalR is a library which helps us provide a real-time web functionality to our applications. This means that our server can push data to any connected client as soon as that data is provided, in a real-time, and vice verse. In this article, we are going to show you how to use SignalR with .NET Core and Angular through the practical example. We are going to simulate a real-time data flow by using the Timer class in .NET Core and use that data to change states of our Angular charts in real time as well. For this example, we are going...

Read More

Angular Material Form Validation, Input, Datepicker and Modal

One of the most important components in Angular Material is the input component. Angular Material supports different types of input elements like color, date, email, month, number, password etc. In this article, we are going to use the input components to create a Create-Owner component and use it to create a new Owner object in our database. Of course, we will show how easy it is to apply form validation with the material input components and also how to create dialogs to show the error or success messages. We won’t dive deeply into the validation logic because we already...

Read More

Angular Material – Error and Details Pages With Material Components

In this article, we are going to create the error pages and the details component. The main focus will be on the material components. We are going to create the Not-Found component, the Server-Error component, and finally the Owner-Details component. Through these components, we will learn how to use different Angular Material components in our project. For the complete navigation and all the basic instructions of the Angular Material series, check out: Introduction of the Angular Material series. The source code is available at GitHub Angular Material Error and Details Pages – Source Code So, let’s start. We are going to divide...

Read More

Angular Material Table, Filter, Sorting, Paging

We are going to divide this article into two major parts. First part will consist of creating environment files, HTTP repository service and creating a new Owner module with the lazy loading feature. As you can see, everything is Angular specific, so we won’t dive too deep into this sections. We already have Angular Series in which we have talked about these topics in great detail. So if you are not familiar with these topics, we strongly recommend reading the mentioned series. In our source code, we can find the OwnerAccountServer folder which contains the entire .NET Core project, which...

Read More

C# Intermediate – Delegates in C#

In this article, we are going to talk more about delegates in C#. A delegate is a reference to a method. We can use a delegate object to pass it to the code in which we want to call a referenced method, without knowing at compile time which method will be invoked. If you want to see complete navigation of this tutorial, you can do that here C# Intermediate Tutorial. To download the source code, you can visit Delegates in C# Source Code.  We are going to divide this article into the following sections: Delegate Syntax Func<T> Delegate Action<T>...

Read More