Sunday, 15 January 2017

Angularjs rich text editor

Simple steps to use wysiwyg angularjs rich text edit. It is very simple in look and as well simple to implement.  Just follow the step by step way as given below to implement for AngularJs.


You can the editor like below. Sample screen Click here

Thursday, 12 January 2017

Develop android apps using visual studio 2015

1.       Need to Install the visual studio 2015 Community Version.
Use below link to install Visual Studio 2015

2.       Open Visual Studio and select  Apache Cordova
Open Visual Studio  à  click on New Project .
Select  Type Script à Apache Cordova App like below.

Thursday, 7 July 2016

Console application pass parameters

Target of application to be like calculator, you will pass the string like n1+n2-n3/n4*n5 and it will calculate the value and give the result. e.g. 2+2-2*2/2 will give the result as 2

Friday, 24 June 2016

get current location in android example code.

Below demonstration is in Visual Studio 2015, cordova application to get the current location in android. It will give the overview that how you will get your current location in google map. Like Below.

Follow the below steps to get current location in android code.

Sunday, 19 June 2016

Issue : procedure entry point __crtCreateSymbolicLinkW could not be located in the dynamic link library MSVCR110.dll.

Issue :

if you are getting below issue while starting the visual studio 2012,

devenv.exe - Entry Point Not Found
The procedure entry point __crtCreateSymbolicLinkW could not be located in the dynamic link library MSVCR110.dll.


Just install Visual C++ Redistributable for Visual Studio 2012 Update 4 from below link,
Based on requirement download 32bit or 64bit setup.

Sunday, 5 June 2016

Difference between string and String builder

Show below for demonstration of  Difference between string and String builder.

String belongs to system namespace. Its commonly use reference type.  If we are not perform any operation string is fast.  We can initialize the string directly like below.

string str = "name";

Friday, 20 May 2016

Visual studio shortcut keys.

Find out the Visual studio shortcut keys which helps in day to day development activity and makes your development fast. These visual studio shortcut keys and just common keys to use.

Short Cut Key
Ctrl+C , Ctrl+Ins
Copy Content
Ctrl+X, Shift+Del
Cut content
Ctrl+V, Shift+Ins
Paste content
Ctrl+Shift+V, Ctrl+Shift+Ins
Cycle Clipboard Ring, paste the multiple copy content
Del, Ctrl+Del

Thursday, 19 May 2016

Javascript Interview Question

1.       What is JavaScript?
2.       What is feature of JavaScript?
3.       Where we can use JavaScript.
4.       What Advantage and Disadvantage of JavaScript?
5.       What is difference in JavaScript and Asp Script and which is faster.
6.       Which has invented JavaScript?
7.       How to defined variable in JavaScript?
8.       What is Undeclared and undefined variables?
9.       What is global variable in Javascript?

Tuesday, 3 May 2016

AngularJs Service, Factories and Providers

 Service in AngularJS

AngularJs Service, Factories and providers are all injectable types.
An AngularJs service encapsulates specific business logic & exposes an API to be used by other components to invoke this logic.

e.g. $timeout service executes function after specifies interval. $http service encapsulates the logic required to interact with REST backbends.

AngularJS service is always Singleton.

Service is registered using service function of angular.module().
The Second argument to service() is a constructor function to inject the service.

Tuesday, 12 April 2016

encode and decode query string

Use below code to encode the query string using AntiXSS library for it you need to refer the antixss library in your code.

What is Antixsslibrary ?
It helps you to protect your code from cross site scripting. It helps to encode the text.
Cross site scripting (XSS) occurs  mostly on  due following .
1. When Dynamically data changing.
2. Passing the data through query string.
3. Displaying data to UI which is allowing to insert from user (they can insert the script aswell)
4. Showing any messages to UI.


You will like to read it