Tutorials - C#, WPF, ASP.NET MVC, WCF, Entity Framework, AngularJS and MVVM Frameworks - MVVM Light - DotNetPattern.com

Filters - AngularJS

AngularJS Filters is used for change the format of the expression result. Filters are applied directly on expressions. AngularJS Filter Syntax {{ expression | filter1:arg1,arg2 | filter2:arg1,arg2 }} Filters use the pipe (|) character for its syntax. Main AngularJS Filters currency number lowercase uppercase json date orderBy limitTo...

Continue Reading

Forms - AngularJS

AngularJS provides great way to create Forms which submit their data without postback. AngularJS Forms use two directives: ng-model: The ng-model directives is used for binding input controls to Javascript Objects. ng-submit: Bind AngularJS Controller submit function to submit event of HTML Form. It also prevents the form to submit to server directly. Angu...

Continue Reading

Nested Forms - AngularJS

Nested Forms provides a great way to apply grouping of form controls. Because HTML does not allow you to nest forms so AngularJS provides support for nested forms using ng-form directive. Nested Forms is useful for creating grouping of form controls so that their validition can be implemented separately. Nested Forms Example <html> <head> <t...

Continue Reading

Validations - AngularJS

AngularJS provides great support for implemeting validations in Forms. Validation is performed by States properties and Validators directives. There are four States in AngularJS Forms. $invalid : This state describes that form is in invalid state. $valid : This state describes that form is in valid state. $dirty :This state describes that form is in dirty state ...

Continue Reading

AJAX - AngularJS

Ajax is used for creating asynchronous web applications that get and store data from server without postbacks. In AngularJS $http object is used for get and post data from the server. $http use asynchronous techniques for interacting with server. A $http object returns a Promise object. A promise object represent a value that is not yet available. Its provides a then()...

Continue Reading

WCF Architecture

WCF provides a runtime environment for developing distributed services that are interoperable, secure, and reliable. A service is a reusable unit of functionality that performs a particular task. A WCF Service exposes Web Service Definition Language (WSDL) file contains the available functionality and the communication methods supported by the service. A client can import th...

Continue Reading

WCF Hello World Example

WCF is very popular platform for developing services. In this blog, we'll create a very basic and simple example of WCF service in just 6 steps. Steps are: Declare ServiceContract Declare DataContract Implement Service Configure Service Host Service Access Client Declare ServiceContract Create a new blank Console solution and name the soluti...

Continue Reading

WCF Instance Management

WCF Instance management is a set of techniques to decide whether create a new service instance on each client request or use existing service instance that handles client request. Advantages of WCF Instance Management The biggest advantage of instance management is the use of WCF sessions. With the use of WCF session, a client can use a single service instance for his ...

Continue Reading

C# Versions and Features

C# versions C# 1 comes in 2002 with .NET framework 1.0 and Visual Studio 2002 C# 2 comes in 2005 with .NET framework 2.0 and Visual Studio 2005 C# 3 comes in 2008 with .NET framework 2.0 and Visual Studio 2008 C# 4 comes in 2010 with .NET framework 4.0 and Visual Studio 2010 C# 5 comes in 2012 with .NET framework 4.5 and Visual Studio...

Continue Reading

Introduction to Design Patterns

Design patterns is an essential concept in software engineering. Every developer should know about Design patterns and how to apply these patterns in your project. Design Patterns are solutions to some common software design problems. These problems are the recurring design problems that software developers often faced during the development. Design patterns descri...

Continue Reading

Join our newsletter and get an occasional email with a technology and DotNetPattern.com news update.