Sunday, May 03, 2009

Yesterday I had the pleasure to present at the Ottawa Code Camp.I showcased something quite interesting and got alot of feedback on it.



In Entity Framework you can stronly type your linq to sql includes by adding Extension Methods. I found just methods as I was perusing the net one day.

Extension Method

Later on I discovered that the possiblitily to daisy chaine these strongly typed incudes could be done by daisy chaining lambda expressions. .This can be acheived with this Extension Method from the same author.

Extension Method for multiple includes

The lesson to retain is that the compilation is going to catch the erroneous fields if they are altered or missing , and not the user at run-time.

Here is the semantical variance:

NORTHWNDEntities ctx = new NORTHWNDEntities();

var Category_Products_EagerLoad = ctx.Categories.Include("Products");

//VS

var test = ctx.Categories.Include(c => c.Products);

Sunday, May 03, 2009 12:05:06 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Tuesday, November 11, 2008

Tomorrow J-R and Myself are going on a road trip to do a dual presentation in Québec city.

PART 1: C’est quoi SQL Service Broker? PART2: The pragmatics of Effective Web Farm Session State Management in ASP.NET

I am excited not only for the chance to enjoy a great poutine but to present in french for the first time.

I made some changes to my presentation as of late since I discovered many new things about Azure - Microsoft's Cloud Computing Platform. What I discovered is that the same things that plague Asp.Net and its Web Farms is present in Azure but there is already a provider to resolve the situation. I was very pleased to see this and have discused this at an event we had where I expose products during a Product Discovery Showcase.

Here are a few links for Azure (this is my blurb abotu Azure in the .net invite for the Ottawa .Net Community):

Joel Hebert’s Product Discovery Showcase

Joel Hebert will be opening the evening with a brief presentation on Microsoft’s Azure Services Platform (CTP). The Azure Service Platform provides developers with the ability to build new applications in the cloud or to use interoperable services that run on Microsoft infrastructure to extend and enhance existing applications. Joel Hebert is our in-house ASP.NET MVP and he’s on a mission to seek out the best developer tools out there and share his knowledge about them with the developer community. Learn more about Joel’s current projects at www.opulentasp.com.

 

Tuesday, November 11, 2008 5:16:44 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Friday, November 07, 2008

I was discussing with Peter Ritchie (C# MVP) about how excited I was for DevTeach and we both did conclude that if you dont go to DevTeach you are falling behind.

Then I go on the DevTeach site and see this!!!! 2 crazy deals

Get VS 2008 Pro, ExpressionTM Web 2 and Tech-Ed DVD set when you register
We believe that all developers need the right tool to be productive. This is what we will give you, free software, when you register to DevTeach or SQLTeach. Yes that right! We’re pleased to announce that we’re giving over a 1000$ of software when you register to DevTeach. You will find in your conference bag a version of Visual Studio 2008 Professional, ExpressionTM Web 2 and the Tech-Ed Conference DVD Set. Is this a good deal or what? DevTeach and SQLTeach are really the training you can’t get any other way.


DevTeach and SQLTeach are announcing a rebate for 350$ with your TechDay coupon…
What? A rebate of 350$, how is that possible! Well if you still have your TechDay/DevTeach rebate coupon you can use it for the December Montreal event and you will get a 350$ rebate. Originally the coupon was good for 100$ rebate but we like Microsoft so much that DevTeach changed its database and the coupon you have in your hand is worth 350$! This rebate will be effective until December 2nd. So hurry, don’t miss the opportunity to attend a conference with renowned speakers coming from all over the world.


http://www.devteach.com/

Friday, November 07, 2008 8:44:29 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Tuesday, October 14, 2008

For those of you whom are attending DevTeach it will be fun to have a few chats and to greet each other once again. I wanted to let you guys know I will be attending this pre-conference session. I chose this topic due to two reasons. I have seen Adam Machanic speak in Ottawa and it was very well done. The eloquence and simplycity was bar none.

For a reference do peruse here:

Designing Highly Concurrent SQL Server Database Applications

Here is a little more about the session I am attending.

SQLCLR from Beginner to Expert By Adam Machanic 

The integration of the Common Language Runtime into SQL Server 2008 provides SQL Server developers and DBA with a vast new toolset for solving complex business and technical problems. This full day post-con event is designed for SQL Server DBA and developers who know some .NET or .NET developers with a strong interest in databases, and is designed to take the attendee from SQLCLR beginner to expert. You will learn all of the ins and outs of working with SQLCLR routines, including best practices for leveraging them in real-world scenarios.

By Adam Machanic Pre-requirements: 300-level; assumes at least one year of basic SQL Server and .NET (C# preferred) experience

Here is a little more about Adam:


Adam Machanic is a Boston-based independent database consultant, writer, and speaker. He has been involved in dozens of SQL Server implementations for both high-availability OLTP and large-scale data warehouse applications, and has optimized data access layer performance for several data-intensive applications. Adam has written for numerous web sites and magazines, including SQLblog, Simple Talk, Search SQL Server, SQL Server Professional, CoDe, and VSJ. He has also contributed to several books on SQL Server, including "Expert SQL Server 2005 Development" (Apress, 2007) and "Inside SQL Server 2005: Query Tuning and Optimization" (Microsoft Press, 2007). Adam regularly speaks at user groups, community events, and conferences on a variety of SQL Server and .NET-related topics. He is a Microsoft Most Valuable Professional (MVP) for SQL Server and a Microsoft Certified IT Professional (MCITP).

Tuesday, October 14, 2008 4:34:56 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback
 Friday, September 19, 2008

The ODNC Luncheon Seminar Series Presents

An Introduction to ASP.NET Dynamic Data

 

We’ve got a bit of a good news, bad news” situation. The bad news is that we ran out of time at last week’s Season Kick Off” and Joel Hebert (our ASP.NET MVP) was unable give his presentation on “ASP.NET Dynamic Data”. The good news is that he’s agreed to present this material at next week’s Luncheon Event! As always, these Lunch and Learn sessions are a great way to enhance your development skills and meet up with colleagues and enjoying your lunch all at the same time. If you’d like to join in then please RSVP for the event by sending an email request to events@OttawaCommunity.Net today!

 

An Introduction to ASP.NET Dynamic Data

ASP.NET Dynamic Data is a web application scaffolding framework from Microsoft that can be used to build data driven web applications. It is packaged as an extension to ASP.NET and can be easily incorporated into a development project. This presentation will describe some of Dynamic Data’s key attributes and some of the scenarios in which it can be put to good use. We will also look at the ease with which Dynamic Data applications can be customized to meet your specific requirements.

 

About our Speaker

Joël Hébert is a Microsoft MVP for ASP.NET and the Director and Chief Architect at Opulent ASP Development Inc. where he works as a consultant specializing in ASP.NET Enterprise Architecture/Development. He has developed large-scale web applications and Computer Aided Audit Tools for CaseWare-IDEA and is currently working on federal government projects. Joel is a long standing member of the Ottawa .Net Community’s steering committee and has been involved in many of its projects including; the “The Developers” TV show, Inter-User Group Challenges, and a number of MCAD/MCTS study groups. Joel is also responsible for introducing & hosting the Product Discovery Showcases at our events.

Friday, September 19, 2008 2:41:39 PM (GMT Standard Time, UTC+00:00)  #    Disclaimer  |  Comments [0]  |  Trackback