VistaDB Providers

Its been a long time since I have made any posts on this blog. I am very busy these days and its been very hard to find time. To continue with the post, I was looking at alternate providers for this site and I ran into VistaDB . Its a fully managed file based SQL engine. What got me interested is it has a free express edition and it supports SProcs :) . I will provide the full source for the site once I develop it. For starters I wanted a provider API for VistaDB with membership, roles and profile management.  Well I got membership and roles from the forum I guess ( I don’t remember ) , and added a profile provider to it. Its not perfect and you might find a lot of bugs.

You can download the source for it from here. It has the full source code for the providers and a sample website.

Any sort of feedback is appreciated.

Read More...

Automatic Properties and Object Initializers

C# comments suggest edit

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.

Read More...

Source Code made Open Source

MPS comments suggest edit

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.

Read More...

Site Source Available for Download

MPS comments suggest edit

The source code for this is site is available for download from here.

Here is a list of features that i have implemented.

  1. 3 layered architecture.
  2. MetaWeBlog implementation (Partial) [Have tested with BlogJet].
  3. Provider based design - Pluggable providers [Includes SqlProvider].
  4. File system based Image gallery.
  5. Guestbook.
  6. Comments.
  7. Complete administration of site.
  8. RSS feeds
  9. Technorati ping.
  10. Caching features for performance.
Read More...

Lazy Loading of Objects

.NET comments suggest edit

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.

Read More...