When you are designing, implementing, and releasing new REST API a lot of constraints and standards should be considered; once the API is available to public, and clients start consuming it, significant changes are very hard! There are lot of API designs in the web; but there is no widely adopted design which work for […]
Implementing Dependency Injection using Ninject
I’ve been always asked by fresh grads who joined our Development team a very basic question “Why do we have to code against Interfaces not against concrete implementations?”. And to answer this question we start an interesting talk about the benefits of writing loosely coupled classes, and how to write unit tests without changing implementation, […]
Boost UI Rendering with Client Side Templating
Previous week I was preparing for internal Tech. session for my work colleagues; It was mainly about how we can Improve UI rendering experience for heavy pages and how we can move the UI heavy lifting from the server to the client. Let the server get busy with Data retrieval only. You can download the demo application using the […]
Use jQuery to call ASP.NET Web Service the right way!
Recently I was revising an application created long time ago which uses AJAX and jQuery extensively, and I found myself doing a common mistake which many articles and forums fall into it. The mistake is Normal Serialization for service methods response then Deserializing the JSON string on the client. I will describe the mistake using the below example, then we […]