Thursday, 18 February 2016

VS2015 New Features

1.       Download Visual studio community version as free.
Use below link to get the download page. Microsoft announce for open source of community version of VS2015.


Wednesday, 17 February 2016

Dependency Injection in MVC using Unity


What is dependency Injection?

Dependency Injection makes your application as decoupled and loosely couple to your code. It use to resolving the dependency of your code. It follow the Dependency Inversion principle of SOLID.
This is the way of injecting the code based on the feature required in application.
There are basically three ways you can approach to implement the dependency Injection.

1.       Using Property Getter and setter
2.       Using Constructor.
3.       Through Interface.


How Implement the Dependency Injection in MVC using Unity?

What is TypeScript

What is TypeScript

Type script is superset of javascript it compile on top of javascript only.  When Type script comple it will convert to javascript only. We are saying it as type script as it provide the Type safe javascript format. It uses the concept of OOPS and implement the javascript as OOPS based.
e.g. in Javascript we defined variable like;
var v = 20; // We don’t defined the type.
But if you see in type script it will be
var v : number = 20; // We defined the type
Command to install Type Script in node.js
npm install -g typescript


You can download the type script from Microsoft by given below link:

Wednesday, 10 February 2016

Difference between Delegate, Func, Action and Predicate.

Lets first see what is delegate.

If you will say delegate always one thing is come into our mind, a function pointer calling as an argument.
But it’s no sense with this Definition its showing the concept of use of delegate it won’t say why we need it and when we need this delegate.
For this we need to check with the English meaning of delegate, a representative. e.g Indian delegate go to US to deal something.
So this representative will give the time to time details of the operation and this delegate is the wrapper for our India which we hide but to present to the US also.

Saturday, 6 February 2016

NodeJS tutorial with Visual studio Code

 node.js tutorial for beginners with visual Studio Code

Download Visual Studio Code : Free IDE developed by microsoft which run under any platform.

Download Node JS :

What is node JS?

Node.js is an open-source, cross-platform runtime environment for developing server-side Web applications. Node.js worked under Chrome V8 JavaScript engine. Node.js was developed by Ryan Dahl in 2009 and its latest version is v0.10.36. Node.js is a runtime environment and library for running Javascript application outside the browser.

Others

You will like to read it