Every Angular App has multiple components which we use to represent different types of data. And, usually the data to display in a component comes in through an Observable wired to a Rest API call to the backend. When we create a component in Angular, there are multiple ways we consume such an observable andContinue reading “The Proper Way to Destroy Angular Components”
Category Archives: Programming
Do we really need Angular Route Resolvers ?
Resolvers have been around in angular for a while now and they have become quite popular if you look at the forums. In my opinion, resolvers solve a very specific problem, i.e. it helps you load data for a “component to function” before the component is activated. That’s my definition btw, but the way angularContinue reading “Do we really need Angular Route Resolvers ?”
Functional Programming – You probably already know it!
Functional programming as a concept has been around for years. But in the last 5-6 years, somehow, it has become the popular kid on the block.Most of the folks I’ve talked with in the recent years have been intimidated by functional programming, and specifically the popular languages, like, Scala, Erlang, Haskel, etc. Well, my (official)Continue reading “Functional Programming – You probably already know it!”
Patterns patterns on the Wall, which is the Coolest of them All
The Observer Pattern. Its easily the coolest and most practical pattern I have ever used and since I am big fan of DRY (Don’t Repeat Yourself), I will redirect you to an article which I recently wrote on CodeProject about the Observer pattern. Implement Observer Pattern in .NET (3 techniques) The above link has differentContinue reading “Patterns patterns on the Wall, which is the Coolest of them All”
Programmatically make(fake ;)) HTTP Requests using WebRequest, WebResponse and WebClient
Its without a doubt that Microsoft .NET provides us with wonderful APIs to interact with a variety of interfaces/entities. One such API/library exists in the System.Net namespace. WebRequest and WebResponse are two such libraries which help us in programatically making HTTP Requests and analyse the Responses in the code itself. Its actually pretty straightforweard makingContinue reading “Programmatically make(fake ;)) HTTP Requests using WebRequest, WebResponse and WebClient”
Strongly Typed JavaScript (TypeScript)–No excuse now for not diving deep into JavaScript!!
The mainstay of .NET or for that matter, C# has been its strong type checking which we get at compile time. Its so much a part of C#, that we somewhat take it for granted. If we remove Type checking in C#/VS, we’ll be severely handicapped for sure. Type checking and Intellisense are the 2Continue reading “Strongly Typed JavaScript (TypeScript)–No excuse now for not diving deep into JavaScript!!”
Consuming and Deploying ASP.NET WebApi Services – Gotchas!!
Last week I posted about how every web programmer should know about the RESTful nature of Web and start using Asp.NET MVC 4 Web Api to accomplish the same. The post was accompanied by a sample HTTP GET resource call to an ASP.NET Web Api controller action. So, I believe you people have already startedContinue reading “Consuming and Deploying ASP.NET WebApi Services – Gotchas!!”
JSON and RESTful Web services using ASP.NET MVC WebApi–Its what every Web Programmer should know !
In my last post I indicated as to how Microsoft & MS technologies have made programming for the web simple and easy. I also suggested how these same MS technologies have created misinformed web developers (like me) as well. All the abstraction over the RESTful nature of HTML (or HTTP) have solved at least oneContinue reading “JSON and RESTful Web services using ASP.NET MVC WebApi–Its what every Web Programmer should know !”
Operation Contract Overloading in WCF.. Not your usual Polymorphism!
There is no denying the fact that Microsoft has made life easy for Developers, both Windows and Web. Over the years MS have come up with great IDEs using which any High School Student could go ahead and build a fully functional application(Yes, it’s that easy). Microsoft makes things easy for people by abstracting allContinue reading “Operation Contract Overloading in WCF.. Not your usual Polymorphism!”