Sunday, December 30, 2018

What is .NET Standard

.Net Standard is a set of specifications / APIs which is to be followed by all .Net implementations like .Net Framework, .Net Core etc. The specifications are set with the intention to bring in uniformity in .Net ecosystem. .Net specification also enables developers to produce portal libraries which are compatible with various .Net implementations which follow the same .Net Standard.

Tuesday, December 25, 2018

What's new in .Net Core 3.0

The .Net Core preview 1 version was released in Dec’ 2018. One of the major enhancements in this version of .Net Core is the support for Windows & WPF applications. Additionally .Net Core also brings enhancements to the way the applications are packaged and shared. Enhancements for faster JSON processing using Utf8JsonReader. Finally .NET Core 3.0 implements .NET Standard 2.1.

Let us see each of the new features of .Net Core 3.0 in detail

What's new in .Net Core 2.2

Similar to .Net Core 2.1, the .Net Core 2.2 version also includes performance enhancements, additionally it adds enhancements to event handling, runtime services, JIT compiler and application development enhancements.

Saturday, December 22, 2018

What's new in .Net Core 2.1

.Net Core 2.1 mainly focus on enhancing performance both build and execution performance, in addition it also added more support to the tools library by adding more commands and global tool commands. Along with .Net Core 2.1, Entity Framework Core 2.1 was also released which added a lot of interesting featured to EF Core. Let us now look into the new features of .Net Core 2.1 in detail.

What’s New in .Net Core 2.0

.Net Core 2.0 is the 2nd Major version of .Net Core released in August 2017, it was released along with Asp.Net 2.0 and Entity Framework 2.0. .Net Core 2.0 brings some improvements like tooling support, language support, support for .Net Standard 2.0, Side-by-side support for .NET Core SDKs, better integration with Visual Studio etc. In this post we shall see each of these in detail.

Thursday, December 20, 2018

.Net Core version History

The first version of .Net Core was released in June 2016, from then on .Net core has been receiving new versions and feature additions from time-to-time. I this post we shall see some of the Major version released in .Net Core and a brief overview of features released in each version of .Net core.

.Net vs .Net Core

.Net Core is the new .Net framework released by Microsoft, it has many advantages over the previous version of .Net Framework. In this post let us compare the features of the original .Net framework with the .Net Core.

Wednesday, December 19, 2018

Advantages of .Net Core

.Net Core is the new .Net framework from Microsoft, the focus of .Net Core is to provide a light weight, faster platform for developing applications which have cross platform support. Microsoft is focusing more on .Net Core, hence we can expect more feature additions and developments to happen in .Net core in the years to come. Following are some of the advantages of .Net Core over the previous version of .Net

What is .Net Core?

.Net Core is an open-source development platform developed and maintained by Microsoft. The main idea behind creation of .Net Core is cross platform compatibility. The older versions of .Net framework can execute only in Windows environment, .Net core can execute in Windows, Linux & Mac Operating systems.

Using .Net core we can create console applications, class libraries and Web (MVC & Web API) applications. .Net core is a lighter version compared to the previous version of .Net hence is supports limited project types at this point. The lighter version makes it easier to ship it with applications developed in .Net core, it also supports deployment using Dockers.

Friday, December 7, 2018

Angular Pipes

Angular Directives

What are Web Components

Web Components are a set of browser standards which allows us to create custom HTML elements and use them in HTML pages. Web Components use 3 technologies to create these reusable elements.

Custom Elements – JavaScript class which contains the Element’s definition and behavior.
Shadow DOM – Used to render to custom component separately without affecting the actual DOM.
HTML Templates – The

Web Component can be created by first creating a class with the actual component implementation. Once the class is created use CustomElementRegistry.define() register the custom element. 

Wednesday, December 5, 2018

What are Angular Elements

Angular Elements is an interesting new feature introduced in Angular 6. Angular Elements allows us to create Angular Components, package them and allows us to re-use the components in non-Angular environments like jQuery, HTML etc.

Angular Elements are angular components which are packaged into Custom Elements. Custom Elements allows us to create custom HTML tags which have their pre-defined functionality, these custom tags can be used in any HTML page. Custom Elements is a Web Component feature which helps us create custom elements and reuse them in HTML pages.

Saturday, December 1, 2018

Angular Custom Pipes example

Angular provides built-in pipes like date, uppercase, etc to format/transform values. Angular also allows us to create custom pipes for situations where we cannot use the built-in pipes. Custom pipes are created using the @Pipe decorator. Pipes are classes which implement PipeTransform and use the transform() method to provide the transformation logic. The trasform() method takes the input value and pipe parameter values as its arguments.

We can use the ng generate pipe command to create custom pipes. In the following example we will create a simple squareNumber pipe which will take the input value and return the square value of the number. Let us start by create a new custom pipe using the following command.