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: Web 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 ?”
Uploading/Downloading a file using WCF REST service in .NET 3.5
Last week I blogged about how to create a RESTful service using WCF and how it was to actually not learn anything in order to make your existing WCF service RESTful. Converting a normal WCF service to being RESTful might be an easy task, but when it comes to streaming files over a REST callContinue reading “Uploading/Downloading a file using WCF REST service in .NET 3.5”
Creating and consuming a RESTful service using WCF and JavaScript
REST !! REST !! REST !! It’s the buzz word recently with the advent of mobile revolution. You know what’s more worse than not having heard about a Buzz word!! Its having heard about it, but having no idea of its implications or practical implementation. Sometime back I blogged about how easy Microsoft has made it toContinue reading “Creating and consuming a RESTful service using WCF and JavaScript”
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!!”
JavaScript does NOT support Method Overloading–Thats true!!
A few weeks back I blogged about how “surprisingly” WCF Operation Contracts do not support Method overloading, due to the way the Web is designed. It may come as a surprise to a lot of folks that even JavaScript does NOT support method overloading in the strictest sense. For people from C# and Java background,Continue reading “JavaScript does NOT support Method Overloading–Thats true!!”
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 !”