I’m happy to announce, I got re-awarded as Microsoft Most Valuable Professional (MVP) under Visual Studio and Development Technologies category. This is my 5th year in a row as MVP. I’m proud to be part of Microsoft MVP program. Who are MVPs? Microsoft Most Valuable Professionals, or MVPs, are community leaders who’ve demonstrated an exemplary…
I am using Underscore.js from long time, it’s a JavaScript library that provides useful functional programming helpers without extending any built-in objects. I recently came across it’s templating capabilities. Underscore provides _.template() function to dynamically build markup from a template and some data(JavaScript objects). Here is the syntax: _.template(templateString, [settings]) _.template() compiles JavaScript templates into functions…
Dealing with dates is always a nightmare. In this example I will show how to convert a JSON date to JavaScript date returned from server side to an AngularJS app. In AngularJS we use filters to transform data, in this case we can use angular date filter. But it doesn’t work directly with JSON formatted…
Microsoft User Group Hyderabad (MUGH ) invites you to Global Azure Bootcamp 2015 . This is scheduled on coming Saturday 25th April at Microsoft India Development Center , Building 3 MPR Halls , Gachibowli, Hyderabad. It’s a one full day of deep dive sessions on Azure for Developers and IT Pro’s delivered by the experts…
It is very simple with HTML5 Canvas API, it provides toDataURL() method. The toDataURL() method of the canvas object converts the canvas drawing into a 64 bit encoded PNG URL. We can pass “image/jpeg” as argument to toDataURL() method, to get image data URL in the jpeg format. Here is the code snippet which explains…
The $http service is a core angular service that helps in consuming web services (either REST or SOAP) via the browser’s XMLHttpRequest object or via JSONP . $http service is similar to jQuery $.ajax() method. Here is the syntax of $http service : The $http service is a function which takes a single argument that…
I was working with AngularJS from couple months. I came across some new features in AngularJS 1.2. I am going blog about this new features. AngularJS 1.2 introduces new “controller as” syntax. This syntax helps us to abstracts the use of $scope in controllers, simplifying the syntax of controllers, html markup. Let’s have a look…
Welcome To 2014
Filters are used to perform logic either before an action method is called or after an action method runs. Filters are custom classes that provide both a declarative and programmatic means to add pre-action and post-action behaviour to controller action methods. Prior to ASP.NET MVC 5, there are 4 types of filters: Authorization filters (IAuthorizationFilter)…