Extension is great feature of C# 3.0. It's allow you to extend existing type class with new functionality, without having to sub-class or recompile the old type.
So we can say that Extension methods help us to add new methods to existing types without modifying the original code, inheriting or aggregating ....
AngularJS has two types of binding
a.) One way binding
b.) Two way binding
In AngularJS different way to bind value in view:
Type Casting is the mechanism to convert one data type to another. While type casting of one data type to another, we get exception if the previous one data type is not compatible with the new data type. To avoid this exception, we have IS and AS operator in C# for safe type casting. Let's understand how to use both of them...
IS operator check for Object Type.
AS operator convert between compatible type Object.
This tutorial will teach you how to create a CRUD Application using AngularJS,PHP,MySQL and Slim framework.
By :- Anjana Wijesundara
Q1: Directives can be applied to which all element type?
Ans: Following represents the element type and directive declaration style:
`E` – Element name: `
`A` – Attribute (default): ``
`C` – Class: ``
`M` – Comment: ``
Method chaining is a technique that can be used to simplify code in scenarios that involve calling multiple functions on the same object consecutively. This is an example of how you can use method chaining
when using jQuery.
AngularJS contains the following core types of objects and components:
These core types can be injected into each other using AngularJS dependency injection mechanism. Throughout the rest of this text I will explain how to define and inject these components into each other.
“M” “V” “C” stands for “MODEL” “VIEW” “CONTROLLER”. ASP.NET MVC is an architecture to develop ASP.NET web applications in a different manner than the traditional ASP.NET web development. Web applications developed with ASP.NET MVC are even more SEO (Search Engine) friendly.
Developing ASP.NET MVC application requires Microsoft .NET Framework 3.5 or higher.
You can implement the following types of directives:
- Element directives
- Attribute directives
- CSS class directives
- Comment directives
Of these, AngularJS recommends that you try to use element and attribute directives, and leave the CSS class and comment directives (unless absolutely necessary).
The type of a directive determines how the directive is activated. An element directive is activated when AngularJS finds a matching HTML element in the HTML template. An attribute directive is activated when AngularJS finds a matching HTML element attribute. A CSS class directive is activated when AngularJS finds a matching CSS Class. And, a comment directive is activated when AngularJS finds a matching HTML comment.