Posts

RxJS Introductions - The first steps

Image
IntroductionThis is a essential part of Reactive programming.

An observable represents a stream, or source of data that can arrive over time.

The most common use case in RxJS is from events. This can be anything from mouse moves, button clicks, input into a text field, or even route changes.

Observables are cold, or do not activate a producer until there is a Subscription.

To create a subscription, you call the subscribe method, supplying a function (or object) - also known as an observer.

// import the fromEvent operatorimport{ fromEvent }from'rxjs';// grab button referenceconst button = document.getElementById('myButton');// create an observable of button clicksconst myObservable =fromEvent(button,'click');// for now, let's just log the event on each clickconst subscription = myObservable.subscribe(event=> console.log

ASP.NET Core 2.x - Explaining Project Structure

ASP.NET Core 2.x - Getting Started

Image
ASP.NET Core is a cross-platform, high-performance, open source framework for building modern, cloud-based, Internet-connected applications.  It all sums up to:
ASP.NET Core can be used to build web apps and services, IoT apps, and mobile backends.You can develop it on any OS, say Windows, Linux or MacOSYou can deploy the code on the cloud, be it AWS or Azure or Google Cloud or any local server. In the new ASP.NET Core, you have the choice to chose between full blown .NET framework or .NET CoreASP.NET Core vs ASP.NET

When you get started with ASP.NET Core, the question that comes to your mind is what is so different about it? Well, a lot has changed.

ASP.NET Core can be used to build web applications on Windows, macOS, or Linux. This is truly open source and cross platform. You can even go ahead and use it in command line with any text editor (I prefer Visual Studio Code because of its cool features).
ASP.NET 4.X is a well tested and mature framework that provides the services needed …