|
Abstract:
Automatic Properties
In this post we will look at some of the new features added in C# 3.0. The first of these will be automatic properties. Automatic properties gives us with a shorthand notation for defining a new property...
|
Abstract:
I am now sharing the source code to this site under the Creative Commons License Distribution. The terms and conditions can be read here . As always the code can be found here. Happy Coding. ...
|
Abstract:
The source code for this is site is available for download from here. Here is a list of features that i have implemented. - 3 layered architecture.
- MetaWeBlog implementation (Partial) [Have tested with BlogJet].
- Provider based design - Pluggable providers [Includes SqlProvider].
- File system based Image gallery.
- Guestbook.
- Comments.
- Complete administration of site.
- RSS feeds
- Technorati ping.
- Caching features for performance.
I would love to hear some feedbacks on the design so that i could better the application in any way possible. ...
|
|
Abstract:
Lazy loading of objects essentially means that the data is loaded only when requested and not when the object instance is created.
For Eg. suppose we have a Blog class which has a blogText property. Now this property can be encapsulated like so...
|
Abstract:
The Windsor container gives you a provision of adding behavior to components without having to change the components implementation. For example if you want to log whenever a method is called through your services class say CustomerService, you can assign an Interceptor for this particular component and add behavior when this component is called. Lets see how logging can be achieved for the CustomerService component. First thing is to create a LogInterceptor.
|
Abstract:
After spending a very long time to build this site, i finally put it in production. The prime reason for the delay was hosting which i was not able to afford up until now. Well everything seemed to work fine on my dev machine but once i put the code in production, my URL rewriting logic failed. I was using Gaidar Magdanurov's UrlRewiting solution. From what i observed the http module was not picking up on the application load. So as a last minute change i used UrlRewritingNet.UrlRewrite. I did not have to change much of the thing for this to work. Its pretty straight forward to setup and use. First you have to add a config section...
|