July 2006 - Posts

I begin Attensa, formly You subscribe, at the first quarter of 2005. That was a time when Desktop Search is emerging and coupled with a software called Lookout,I can easily search any RSS in my outlook. You subscribe + Lookout + Outlook means all my RSS feeds are indexed effortlessly.

 Attensa has released its 'Attensa for Outlook 1.5' last week. I suppose many developers around the globe alike, has also install outlook 2007 beta in the recent weeks. I think the bad news for Attensa is that Outlook 2007 has built in RSS reader, and its very much the same functionality and interface like Attensa.

Once Office 12 begins to ship, there seems to be little reason for people not to use its built in RSS functionality (even me is trying it now). I wonder what will be its impact to the many RSS aggregators and software in the market. With so many web browsers supporting rss natively, I think the market for RSS Readers are pretty over crowded. 

with 2 comment(s)
Filed under: ,

In this post I will be talking about the technologies I used to built Foodlane.sg. I tried to refrain doing 'marketing' for Foodlane.sg here, so I will discuss about the tools and framework I used.

ASP.Net 2.0
Foodlane.sg is built on ASP.Net 2.0 and Sql Server 2005. ASP.NET 2.0 greatly speed up the development time. Coupled with NUnit, unit testing is a breeze. I must admit I do not have time to ‘play’ with the new features like themes. The most useful feature I believe will be Master pages, Membership provider and Role provider. If you want to know how to use membership provider with Paladin, read my previous post here http://community.sgdotnet.org/blogs/shunjie/archive/2005/12/02/23156.aspx.

 
SQL Server 2005

Well, paging of Foodlane’s search result is done by ROW_NUMBER(). ROW_NUMBER() is a new function in SQL Server 2005, allowing us to do paging without creating a temp table. If you want to know more about ROW_NUMBER(), you can take a look at this post by Serena:
http://serena-yeoh.blogspot.com/2005/04/thelongawaitedfeature.html 

 

Paladin
Before RAILS amaze many with its RAD capability, there was Paladin that does similar task in .NET with its ability to develop the DAL in a blink of eyes, without compromising performance. I am proud to say that Foodlane.sg is built on Paladin and Paladin’s BusinessComponent. I must admit I have tried (and wasted a lot of time) some O/R mapper before I decide to go back to Paladin. These are the framework I have tried:

1)      NHibernate

2)      MyGeneration

3)      SPOIL (not really a O/R mapper, but I tried it too)

 
Eventually, I switch back to Paladin. Why? Performance and the flexibility. Any one that work extensively with Paladin before will know how flexible it is. Change a column name? Need some custom paging? Need to use Stored Procedure instead or Dynamic SQL? Paladin can do that. I stick to Paladin from now on. Nothing even come close. Download here: workspaces.gotdotnet.com/paladin

 
Ajax.net
Again, I choose Atlas before I end up with Ajax.NET. Reason is performance. Maybe I am doing it wrongly for Atlas, but under my circumstance, Ajax.NET is a better choice. It has no issues with Master pages, user controls as well as nested user controls and even custom Page class I written. Most importantly, it WORKS with Opera. If you are working with ASP.NET and is racking your head on making your ajax works with opera or master pages, choose ajax.net. Same with Paladin. I stick with Ajax.net. Link: ajax.schwarz-interactive.de/

 
RSS.NET
RSS.NET is used to powered Foodlane’s RSS Feeds. I believe RSS is a MUST for delivery of content nowadays. If you want to feed on Foodlane RSS, so that you can eat Foodlane’s recommendations (hope someone see the 'catch' in the sentence), this is the xml.

 

Flash Develop.
Well, pretty poor me got to do everything myself, from ajax to writing javascript to setting up server to taking photos to aligning that ‘1 pixel’ to cooking RSS and to actionscripting in flash.

Anyway Flash Develop is used for development for Flash banners, Flash games. I once hear someone telling me “You mean you still code in FLASH???”. That time I did not know why his reaction is so big. I downloaded Flash Develop some time after that incident. 1 week later, I told someone else the same thing. FYI, Flash Develop is develop in C#. Wink

 
That’s about all for the tools and stuff I used for Foodlane.sg. Feel free to visit Foodlane.sg, regardless whether you are a Singaporean or not. If you need a headstart in above framework like Ajax.net,or Paladin, drop me a mail and I will do my best to help.

And of course, do support Foodlane.sg 

In response to Weehyong : An alternative to Da Vinci Code - MS code ;) Posting , which I have read and laugh til my jaws drop, there is a short video named 'the Davincicoder', another idea that spawn off the original Da Vinci Code.

If you are a developer, or at can understand { }, then take a look at www.thedavincicoder.com for a good laugh 

I do not have the slightest idea of what they are actually selling, so don't worry if you don't. Just watch for the sake of humour. =) 

 

with no comments
Filed under: ,
Wow, Sgdotnet is back! I realized some changed to my blog interface too. I have a lot of postings to post. Haha. =)
with no comments
Filed under: ,
I will like to express my thanks to 8 to Infinity hosting here for helping me out with my web hosting.If you are looking for reliable, and local (Singapore) hosting, then look no further. (Ok, sounds a bit like advertisement, but they are really good).

8 to Infinity are among the very few Singapore hosting company that provides ASP.Net 2.0 shared hosting as well as SQLServer 2000. They also provides Shared hosting, Dedicated Servers, Co-Locations, and Domain registration.

I think there are threads in this forum that talks about the company too, to list a few:

http://forum.sgdotnet.org/forums/post/10137.aspx
http://forum.sgdotnet.org/forums/post/24823.aspx

Recently I am migrating my website to a new local server and once everything is up, I do a test run and this error pops out:

System.Security.SecurityException: Requested registry access is not allowed.

Whats wrong?

This error occurs if your application is trying to create an event log but does not have the necessary rights to do so. If you are using Paladin, this happens when Paladin is trying to create an Event Log.

I googled for about an hour before finding the right solution

Around 80% of the solutions ask me to do the following, which I think has serious security implications:
1) Use System and Password = antoGenerate in machine.config
2) Create a new user other than Network Service (the default account running asp.net process)
and then assign the rights for the user to create an event log
3) Edit the registry to add permission to Network Service.


Finally, I found this link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGHT000015.asp

What is recommended is that we DO NOT give Network Service account the rights to create an Event Log, but we create the Event Log first manually.

Simply do the following to create a new Event Log. For Paladin users, the error will be solved. Note that the following are extracted from MSDN.
  
1.  Start the Registry Editor tool Regedit.exe.
  

2. Using the Application Event log, expand the outline list in the left panel to locate the following registry subkey.

     HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Eventlog\Application
 
3. Right-click the Application subkey, point to New, and then click Key.
  
4. Type a new event source name for the key name (in this case, type Paladin)
and press Enter.

Done!

Start > run > eventvwr.msc now and you should be able to see the event log named 'Paladin'. =)

For Paladin I just been told that this is a known issue. While I suppose I put it here so that its easier for others to reference to next time. =)
I think the logo has been changed for quite some time but I did not realize that until today when I go to re download my Flash MX 2004 developer logo. The new logo is pretty nice, its on the right hand side of my blog if you didn't notice.

Its been 2 years since I took the exam and now, we are looking at Flash 9, AS3.0 and Flex 2.
Then I 'flash' in fustration in Flash MX 2004. Now I 'flash' happily in  Flashdevelop. Technology evolves.

For the logo, those who have achieve the certification can download it here: