Posts
ASP.NET Core MVC - All about Tag Helpers
Introduction Tag Helpers provide us with means to change and enhance existing HTML elements in our views. Therefore, we add them to our views, and afterwards, they are processed by the Razor Templating engine which in return creates an HTML and serves it to the browser. Few Tag Helpers actually act as elements or actual tags (environment, cache, etc.).
Middleware in ASP.NET Core - Handling requests
Introduction Middleware is software that application assembles into the pipeline to handle requests and responses. Each part chooses whether to pass the request on to the next part in the pipeline, and can do certain actions before and after application invokes the next part in the pipeline. Request delegates usage is to build the request pipeline.
Logging in ASP.NET Core - Connecting the pieces
Logging in ASP.NET Core 1 Logging has been a built-in feature since the first release of ASP.NET Core. Good thing about logging is that ASP.NET Core configures it to log internal events from the platform.
ASP.NET Core 2.0 Preview 1 introduction
Few days ago at Build conference we got some good news: .NET Core 2.0 Preview 1 and ASP.NET Core 2 Preview1 were announced. We will take a look at some new exciting features that are coming to ASP.NET Core world. Lets see what goodies ASP.NET Core 2 brings for us developers!
RxJS - Part 6 - Chat application with RxJS
Introduction In the first post of RxJS series we talked about reactive programming and benefits or RxJS. Second post covered Observable and how we can effectively use and manipulate Observables. After that, in third post we tried to get familiar with RxJS operators. We tried to briefly cover the error handling subject in the fourth post.
Chat Application with Angular and Socket.IO
Introduction We will use RxJS, Angular, express (Node.js) & Socket.IO to make a chat application. We will get to see how useful RxJS can be in this scenario. For the purpose of making things smooth and easy we will be using Angular CLI to generate basic client structure and get us a boilerplate for simplest working Angular application. On the back-end we will use Node.js with express and Socket.IO. Reasoning behind this is that Socket.IO is very easy to set up and work with. Furthermore, it provides both server and client side libraries. Socket.IO primarily uses WebSocket protocol to enable real-time bidirectional communication.
RxJS - Part 5 - RxJS error handling
Error handling In the first post we saw that we have 3 main methods on Observer object: next, error and complete. Lets focus on error() method. When does it gets called? Lets see the code example.
RxJS - Part 4 - Operators
RxJS Operators introduction This time we are going to talk about operators. If you are not familiar with RxJS you should read first post in the series - introductory post. There are many different ways to deal with asynchronous data. We could use callback functions or promises. Also, we could use generators and make our life easier by writing code that deals with asynchronous data in a synchronous manner. However, when we are using RxJS, operators are primary tool for manipulating and dealing with data. Consequently, main benefit of RxJS is various range of operators it supports.
RxJS - Part 3 - Hot and Cold Observable
Hot and cold Observable While working with RxJS you will definitely run into these two terms - hot and cold Observable. Hot observable produces items regardless of the subscribers. Even if no one subscribed it will produce values. Such example is mouse move event. Mouse move occurs whether someone is listening or not.
RxJS - Part 2 - Observable
Observable creation In the first post we saw how we can work with simple data sources and create an Observable from them. In this post we will see how can create Observable using various sources and methods available on Observable object.