How to do Component Communication in Angular?

In Angular Apps, you are going to come across a scenario where component needs to communicate with each other. In this blog, we will see how to send data from one component to another component in Angular application. You can send data from parent to child or child to parent component. How to pass data … Read more

Angular CLI Commands

Below are some of the important and useful Angular CLI commands that are useful while developing an Angular Application. To install Angular CLI To get online help To get detailed help of a command To get Angular version details Read:- Angular Interview Questions To create new Angular Project  To Build Angular Application To build Angular … Read more

Angular 2 vs Angular 4 vs Angular 5

Angular 2, Angular 4 and Angular 5 are open source and fully TypeScript based client-side framework to develop a Single Page Application (SPA). In this blog, we will explore the new features in Angular 2, Angular 4 and Angular 5. As we all know Angular 2 was a significant upgrade from AngularJS or Angular 1. … Read more

Building Blocks of an Angular Application

The main building blocks of any Angular Application are Component, Modules, Template, MetaData, Data binding, Directive, Services, Dependency Injection, Routing. In this blog, we will see main building blocks of Angular one by one. Architecture of Angular 2 moves around component and module and this is one of the major difference between Angular 1 and … Read more

Learn Type Script Quickly

In thig blog, we will learn Type Script. If you are going to learn Angular then you must be comfortable with TypeScript. What is TypeScript? TypeScript is a typed superset of Java Script that compiles the code into JavaScipt. Type Script Installation In order to work with TypeScript, first you have to install node package … Read more

Create Angular App and run using Angular CLI

Once you are done with the installation and setting the local development environment, we will create a new Angular App using Angular CLI. Install Angular CLI To install Angular CLI run this command in command prompt. npm install -g @angular/cli In above command -g means you are installing it globally, if you will not apply -g … Read more

How to Enable HTTPS for ASP.Net Web API?

In this blog, we will see how to enable a Web API service to the server over HTTPS only and not on HTTP.If you are new to Web API, then read my earlier blogs on ASP.Net Web API here.As you know ASP.Net Web API runs over HTTP protocol. Suppose you want to serve your Web … Read more

Basic Authentication in Web API

In this blog, we will see the implementation of basic authentication in Web API. Security is very important aspects while working on the distributed application. While exposing an API we must take care about security. Basic Authentication is a simple authentication mechanism where the client sends requests with an Authorization header with word Basic. In … Read more

What is AutoMapper in C#?

AutoMapper is used to map data between two objects. In this blog, we will see how to use AutoMapper in our application. Let’s demonstrate the use of Automapper by an example. Suppose we have a class called Employee with 2 properties in it – Name and City class Employee     {         public string Name … Read more

Consume Web API 2 in C# Console Application

Web API can be consumed either using JQuery, Angular JS, MVC or Console Application. In this blog, we will consume Web API 2 using HttpClient in a Console Application. I have already created a Web API2 demo project earlier, you may visit below link to see how can we create a Web API 2 project. Web … Read more

RSS
YouTube
YouTube
Instagram