Saturday, February 17, 2018

Angular 2

For single page application we use the angular 2.
It is written in typescript language. All major browsers understand JavaScript only .And   type script automatically gets converted to JavaScript when we build the project.

Common Used Terminology.

Components: In this we write all business logic to fetch data from services and to manipulate the DOM.
Services: In this we write logic to fetch data from database.
Modules: In this all components, services, routing and library get imported, declaration and bootstrapped.  
Routing: All application routes are defined in this route is defined.
Web API
Because of the light weight and restless nature it is widely recommend.

Common Used Terminology

Verbs
HTTPGET: This attribute on the action method of the controller to fetch data from database.
HTTPOST: This attribute on the action method of the controller to insert record in database.
HTTPUT: This attribute on the action method of the controller to update record in database.

DELETE: This attribute on the action method of the controller to delete record in database.

No comments:

Post a Comment

Jquery Select and Change selector and event .How to Post data using jquery to mvc and web api action methods

Jquery :Change event in Jquery Method: Demo     $("#drpCountry").change(function () {             var id = $("#DrpCoun...