navigation
 Friday, March 27, 2009

This helper will do the trick:

    public static class FileHelper
    {
        public static void MoveWithOverwrite(string sourceFileName, string targetFileName)
        {
            if (File.Exists(targetFileName))
            {
                if ((File.GetAttributes(targetFileName) & FileAttributes.ReadOnly) == FileAttributes.ReadOnly)
                    File.SetAttributes(targetFileName, FileAttributes.Normal);
                File.Delete(targetFileName);
            }
            File.Move(sourceFileName, targetFileName);
        }
    }

 

 | 
posted on March 27, 2009  #    by John Waters  Comments [5]

Today I was trying to figure out the Linq syntax to find the max DateTime out of a list of objects that had a ModifiedOn property. Here is what I came up with:

DateTime maxLastModified = list.PickListItems.Items.Max(p => p.ModifiedOn);

Too easy, huh?

Actually, this is not so much Linq as just extension methods and lambda expressions, although one could argue that is what Linq is...I will leave that to the philosphers.

 |  | 
posted on March 27, 2009  #    by John Waters  Comments [0]
 Sunday, March 22, 2009
Yesterday, I discovered Mars, and that made my life a whole lot easier! Find out how setting MultipleActiveResultSets in your connection string can solve thorny issues with multiple active SqlDataReaders using the same Connection...
posted on March 22, 2009  #    by John Waters  Comments [1]

Yesterday I was debugging some SQL Server transaction logic, and came across the following handy command to see which transactions are running:

SELECT * 
FROM sys.dm_tran_session_transactions
posted on March 22, 2009  #    by John Waters  Comments [0]
This video will demonstrate the use of TestExecute 6 from AutomatedQA.com to run scripts and recording on build and lab machines without the need to have TestComplete installed.
posted on March 22, 2009  #    by Lino Tadros  Comments [3]
 Saturday, March 21, 2009

Our dear colleague at Falafel Software Brad Divine, this week, achieved MCSD status (Microsoft Certified Solution Developer).  Congratulations Brad! 

Brad just passed the final exam of Software Architecture after passing the ASP.NET, WinForms, XML Web Services and SQL Server exams before then.

Wow!  Two members of the team at Falafel achieved MCSD status in one week, Congratulations to Brad and also to Falafel Software!.

Microsoft Certified Solution Developer

posted on March 21, 2009  #    by Lino Tadros  Comments [1]
 Wednesday, March 18, 2009

Falafel Software is pleased to announce the launch of training.falafel.com a site detailing Falafel’s available training offerings for Telerik and AutomatedQA products. We’ve recently broadened our training offerings to include Open Classes hosted at our new office location here in Capitola, CA. Booking trainings is quick and easy, here is all you need to do:

Step 1 - Select a class

Telerik Classes

  • RadControls ASP.NET AJAX
  • RadControls for WinForms
  • Report
  • Sitefinity CMS

For detailed information including course agenda’s click here.

AutomatedQA Class

Step 2 – Choose the type of training

Select the option that best meets the needs of your organization:

  • Onsite – a trainer will travel to your office for a 3 days scheduled through Falafel
  • Online – over GotoMeeting 5 days, 4 hours each day scheduled through Falafel (same class as the 3 day onsite training)
  • Open Classes – attend an Open Class here at our training facility in Capitola, CA
  • Webinar’s – Attend on of our 1-2 hour online training sessions.

For Open Classes, Webinar’s and Summit training’s refer to our training calendar for upcoming sessions and Webinar’s.

Step 3 – Contact us to register

Contact us and we’ll be happy to book your training!

For available pricing click here. We have also published a list of trainings that we’ve done since January 2007 here.

Be sure to check out the new site and let us know if you have any questions!

posted on March 18, 2009  #    by Steve Trefethen  Comments [0]
 Tuesday, March 10, 2009

Our dear friend and Master Consultant Adam Anderson achieved MCSD status (Microsoft Certified Solution Developer).  Congratulations Adam! or Mr. SQL as we call him here at Falafel during the last 5+ years.  Adam has been an incredible asset for Falafel from the start and a go to guy for many technologies.  He is always there for everybody to lend a hand and help grow the company and achieve great things.  Adam passed his last exam yesterday on Software Architecture after passing the ASP.NET, Winforms, XML Web Services and SQL Server exams before then.

Congratulations again Adam! and we will celebrate with you in Capitola on Thursday!  You can Super Size! :)

posted on March 10, 2009  #    by Lino Tadros  Comments [1]
 Saturday, March 07, 2009
Are you heading to Los Angeles for Microsoft TechEd in May? Why not arrive a few days early and attend Falafel's Telerik RADControls Summit:

Agenda:

The course features real-world based training on AJAX, RADControls components, data binding, design-time configuration, server-side coding, client-side scripting and tips and tricks. The course materials also include a bonus reference application “ActiveSkill” that demonstrates combining controls and techniques.

When:
May 8-10, 2009

Where:
Hilton Checkers in Downtown Los Angeles, CA

Requirements:
Attendees will be required to bring their own laptops with Telerik  RadControls for ASP.NET Ajax installed.

Contact us:
For more information, including the dates for the next Summit , please email training@falafel.com.

posted on March 7, 2009  #    by Steve Trefethen  Comments [0]

Recently Falafel Software relocated to Capitola where we have a training center from which we’re hosting Open Classes on Telerik’s RADControls. Open classes are available for anyone to attend and cost $999 for three days of intense training. Your first opportunity to attend this training is rapidly approaching on April 6, 7 & 8 so contact us or send email to info@falafel.com. The instructor Noel Rice wrote  the book, yeah all 798 pages, on Telerik’s RADControls for ASP.NET AJAX so come learn from the pro’s and at the same time enjoy the Central Coast of California with easy walking access to the beach and Capitola Village and all the Monterey Bay has to offer.

Click here for a complete agenda. Be sure to sign up soon as the class is filling up!

posted on March 7, 2009  #    by Steve Trefethen  Comments [1]
Falafel is proud to announce that it just renewed its Microsoft Gold Partnership for the sixth year running.
posted on March 7, 2009  #    by John Waters  Comments [0]
 Tuesday, March 03, 2009
Today was the second day at the MVP Summit in Redmond and it was a lot of fun.  This is my 5th MVP summit and it is so nice to see all the faces that I don't get to see except at the MVP summit from all over the world.  We spent several hours with Anders Hejlsberg discussing futuristic features to the C# language and the evolving of this powerful powerful language inside of the Visual Studio IDE for the next few years.  Met so many friends that I usually see in Europe and Australia while speaking at conferences like Miguel Castro, Richard Campbell, Steve Forte, Todd Anglin, Neil Ford, Remi Caron and many others... It was so nice for us not to be speaking this time but actually attendees :)
These events are usually for us like taking kids to Disneyland :)
This time is so special though because it is the first time I took my wife with me to Microsoft to see what I do and meet these friends.  She was shocked on how childish we all are when we get together :)
    mvp
posted on March 3, 2009  #    by Lino Tadros  Comments [0]
 Sunday, February 15, 2009

My dear friend Steve Teixeira, Product Group Manager of Parallel Computing at Microsoft, has been telling us at Falafel to keep an eye on PCP for a while now and we are definitely listening.  Some of us are taking PCP to a completely new level, especially when they can apply their techniques in real life scenarios.

Our President and CTO, John Waters in the picture below took a night in the town away from work and the kids and implemented his version of PCP on alcoholic drinks, Swedish way!

image

posted on February 15, 2009  #    by Lino Tadros  Comments [1]