IBloggable - implemented
-
Templated Razor Delegates – Phil Haack
This post is largely based off of Phil Haack’s article titled Templated Razor Delegates. I strongly recommend reading this article first. Here’s a sample code for the same, so you can have a look at. I also have a custom type being rendered as a table.
-
Passing a parameter so that it cannot be changed – C#
I read this requirement of not allowing a user to change the value of a property passed as a parameter to a method. In C++, as far as I could recall (it’s been over 10 yrs, so I had to refresh memory), you can pass ‘const’ to a function parameter and this ensures that the parameter cannot be changed inside the scope of the function.
-
ASP.NET MVC ‘Extendable-hooks’ – ControllerActionInvoker class
There’s a class ControllerActionInvoker in ASP.NET MVC. This can be used as one of an hook-points to allow customization of your application. Watching Brad Wilsons’ Advanced MP3 from MVC Conf inspired me to write about this class.
-
WSDL-world vs CLR-world – some differences
A change in mindset is required when switching between a typical CLR application and a web service application. There are some things in a CLR environment that just don’t add-up in a WSDL arena (and vice-versa). I’m listing some of them here. When I say WSDL-world, I’m mostly talking with respect to a WCF Service and / or a Web Service.
-
WCF – interchangeable data-contract types
In a WSDL based environment, unlike a CLR-world, we pass around the ‘state’ of an object and not the reference of an object. Well firstly, what does ‘state’ mean and does this also mean that we can send a struct where a class is expected (or vice-versa) as long as their ‘state’ is one and the same? Let’s see.
-
Hierarchy flattening of interfaces in WCF
Alright, so say I have my service contract interface as below:
-
Very detailed chapter on Garbage Collection
I recently read one of the most detailed chapters on GC in the book
-
Get and Set property accessors are ‘actually’ methods
Well, they are ‘special’ methods, but they indeed are methods. See the class below:
-
Top 10 posts of 2010
I quote one of my professors when I say: “We Share – We Improve”. It is through blogging that I’ve learned quite a bit. The ‘R&D’ done to learn and perfect a technology and the comments by other experts adds towards skill-set building. Below are some of the articles that I’m glad I blogged about.
-
To ref or not to ref
So the question is what is the point of passing a reference type along with the ref keyword?