M-V-VM

Yesterday (1/31/09), I attended www.baynetug.org education event held at Hewlett Packard, Cupertino. I attended by volunteering to bring the breakfast from Noah’s Bagels.

I learned a lot about Model View ViewModel (M-V-VM) framework. This is a new Model View Controler framwork coming out of Microsoft. I hope to dive into this new technology that can enhance my productivity as a developer. The M-V-VM ties the best practices in WPF, .NET, Silverlight, etc.

For more information, go to http://karlshifflett.wordpress.com/mvvm/. Download the mvvm.

Click here for more…

2008 Fonacier Family Reunion

Sky Diving

San Francisco Bay Cruise

Linkedin Profile

If you are a member of Linkedin, you can create a button that goes back to your linkedin profile.

http://www.linkedin.com/profile?promoteProfile

I just found out how to do it and I needed to save the address someplace.

MSDN Magazine article

This months MSDN article (April 2008) is very interesting.  The article is on page 99, titled “Test Run Testing SQL Stored Procedures Using LINQ,” by Dr. James Mccaffrey.  It peaked my interest because I’ve been looking for a sample test harness for LINQ and stored procedures.

I downloaded the sample code at msdn2.microsoft.com/magazine/cc13511.  Installed it on my Visual Studio 2008 Pro and tried to run it out of the box.  Well, it did not run.  It could not connect to the database.  So, I looked for the sql script somewhere in the installed files and found it.  I was also missing the SQL Server Management Studio Express, so I had to install it to run the sql script.  After running the sql script the test run code still does not run because it could not connect to the database.  So, I manually connect the database through Visual Studio.  It still would not connect.  I discovered that my manual connection string is not the same as the code so I went ahead and replace it:

string connString = “server=.\\SQLEXPRESS;Initial Catalog=dbMovies;Integrated Security=True”;

Well, the code runs as expected after replacing the connection string.  So, I just want to put this blog post out there for other folks that are going to blaze the same path to save them some time.  I also sent a note to the author.

Regards,

Bennett

NUnit in Visual Studio 2008

How to use NUnit with Visual Studio 2008.

First you should install both NUnit and Visual Studio 2008.  I happen to have Visual Studio 2008 Pro and it comes with a Test menu.

Second, download the NUnitTestExample and install it on your Visual Studio 2008 project.  Open the project file and compile it.

Third, go to the bin folder of the project and drag the .dll file into the NUnit icon on your desktop. In other words, open the NUnit with the .dll file as the parameter.

Fourth, click the “run” button to run the specific test of this project.

That is it.  You can use this starter C# Library project as a starting point for a Test Driven Development (TDD).

Flex 2 and Visual Studio 2008

I received a free Visual Studio 2008 from Microsoft recently. In late 2007, Microsoft promised to give away a Visual Studio 2008 Professional, after installing a trial copy of VS2008. Well, they made good on their promised and I received it about a week ago. I was able to use the trial install to mix a Flex 2 component in a VS2008. I used the opportunity working on the haas project that I was involve. The test site is at http://www.fonacier.com/yeah.

Flex 2 and opensocial

Flex 2 is an Adobe technology that I happen to stumble into, when I attended Adobe’s Flex 3 kickoff, last year, around november 2007. When I attended the opensocial hackathon, I run into some developers that want to tinker with the idea of mixing the opensocial and Flex 3. I meet Ariel Jakobovitz, a young guy who have done some integration of these two technologies.

So, one goal that I set to myself is to make use of the free Flex 2 that I got from Adobe and mix it with the opensocial api.

 Ariel Jokovobitz is one of the first that I know who integrated Flex-opensocial.  Here is the link: http://hackathon.wordpress.com/2008/02/29/flex-javascript-api-roundtrip/

Sycamore Park