I was deployed to this new project which will be using Sitecore CMS solution and Lucene.NET.

The Sitecore CMS allows you to create rich interactive websites, easily. It scales to meet virtually any need. And it helps sustain and keep fresh your compelling web experience. 
Lucene.Net is a source code, class-per-class, API-per-API and algorithmatic port of the Java Lucene search engine to the C# and .NET platform utilizing Microsoft .NET Framework.  

Although Sitecore was built in .NET technology I have zero experience using or working with it. And so with the open source Lucene.NET search engine. For sure my entire time with the project will be challenging.

 

I have this functionality that needs to reset the password of my user. But I just could not make it because the MembershipUser keeps on throwing 'Data is Null' error. The membership provider in my web.config does allow Reset, does not allow password retrieval and does not require Question and Answer.

 

       <membership defaultProvider="MySQLMembershipProvider">
            <providers>
                <clear/>
                <add name="MySQLMembershipProvider"
                connectionStringName="MyConnection"
                applicationName="/"
                autogenerateschema="true"
                type="MySql.Web.Security.MySQLMembershipProvider, MySql.Web, Version=5.2.2.0,

                Culture=neutral, PublicKeyToken=c5687fc88969c44d"
                enablePasswordReset="true"
                requiresQuestionAndAnswer="false"             
               requiresUniqueEmail="true"
               passwordFormat="hashed"
            />
            </providers>
        </membership>

  Although, creating a user without requiring for question and answer will succeed. Question and Answer is still required for reseting his password. So, how can your application handle the scenario where in you will not require you user to enter Question and Answer upon registration but still be able to reset his password? What I did was handle the Question and Password in 'CreatingUser' event of the CreateUserWizard cotrol. 

  protected void CreatingUser(object sender, LoginCancelEventArgs e)
    {
        CreateUserWizard cuw = (CreateUserWizard)sender;
        cuw.Question = "your-own-question";
        cuw.Answer = "your-own-answer";

    }

 

That piece of code will make your Reset() method to work but still the GetPassword() will not. 

 

SoulSolutions is a very good resource when it comes to Windows Live development. They also posted articles and one of them is the full description of the pop-up styles that Virtual Earth is generating. View their post here.

Since I find it hard for me to create Join inside LINQTOSQL, I created a Stored Procedure for my select statement. I will just call the Store Procedure using LINQ and presto I have my resultsets.

That is all fine if I have a straight select statement. The problem happens when I have a dynamic statement and I need to create string command and then execute it using EXEC command inside the Stored Procedure. When a statement is build in this manner, the LINQTOSQL treated the result as int and not the INUMERABLE result. 

 

I cannot find a solution for now. I'll post it here once I was able to solve it. 

 

Last Friday, September 5, I attended the Philippine Launch of SQL Server 2008. Well, the new product is very promising with its new features and functionalities. The most I like is the Policy Based Management - assigning  a certain percentage of resources to set of users.  Also the new datatypes caught my attention. Building reporst seems so easy with this new SQL Server. This product is worth evaluating especially for those with large financial and/or spatial data.