PHP Web Service

29/08/2007 22:23

In the web service world, PHP is always behind other modern languages, such as, Java and .Net. Today, I got a project to code a consume side of web service which implements WS-Security and following WS-I 1.0.

In my knowledge, there are couple SOAP packages out, and PHP 5.x has its own module. But never see the implementation of WS-*. Lee mentioned WSO2 to me which is a PHP extension and supports all WS-* stack(as it said). I will give a go tomorrow and possible write a series of posts on consume WS-I BSP web service. All comments are welcome

Great search engine for your .Net website

26/08/2007 01:49

Recently works on a .Net web app, and thinking to have a “google” kind search engine for my system. I found Searcharoo

it is a really great bit written in C#, so eacy to embeded to your system and also provide an interface for a window application(for indexing). The most great feature I like is this system has the ability to ms office file, such as word, excel and ppt including the latest file format of office 2007.

AND IT IS FREE

http://www.searcharoo.net/

.NET bug on DateTime.MaxValue?

03/08/2007 13:14

Not sure if my problem can be considered as a bug. But when I try to compare a DateTime with MaxValue, it already returns false.

Code:
DateTime aDate = DateTime.MaxValue;
Console.WriteLine(DateTime.Compare(DateTime.MaxValue, aDate));

Very simply code, can you guess what you will get “0″, which means they are not equal!!

Some people says it caused by “DateTime.MaxValue is not serializable” (http://blogs.ugidotnet.org/teo/archive/2005/11/21/30271.aspx)

Dig into ASP.NET Membership - Extend MembershipUser

22/07/2007 22:25

Membership in ASP .NET 2.0 is a great add-on. But I believe you will ask a question as soon as you start using it. “How can I add extral info to a user”. Normally I create a user will name, telephone number, company, etc. but the membershipuser wont let you do it. dont think membership is useless, MS gives you the option to extend it.

I spent some time this weekend to dig into how to extend the membership and successully getting it work. Yaaaa ^_^

I’d like to share my experience with you, so please leave comment. but before you do it, read this MSDN article first
http://msdn2.microsoft.com/en-us/library/ms366730.aspx

I also integrate the extended MembershipUser with my NHiberante MembershipProvider. They both work great :)