Geeks With Blogs

News

This blog has moved to ericnelson.wordpress.com

 Subscribe in a reader

Add to Google Reader or Homepage


Links
View my teams slideshare
These postings are provided "AS IS" with no warranties, and confer no rights.



IUpdateable has moved to ericnelson.wordpress.com Please visit http://ericnelson.wordpress.com November 2009 Entries
UK MSDN Flash Poll for December 2nd: REST or SOAP in 2010?

Posted On Sunday, November 29, 2009 10:16 PM

Getting Started with Entity Framework 4 – Lazy Loading
[This is the fifth in a series of posts on getting started with the new features in Entity Framework 4 based on the demos I did in my session at TechEd Europe in Berlin last week (Nov 2009).] Entity Framework v1 did not support a commonly implemented ORM feature called Lazy Loading. Entity Framework 4 adds that feature. In Beta 1 it was known (confusingly IMHO) as Deferred Loading. In Beta 2 it is (thankfully IMHO) known as Lazy Loading. You run up against the absence of Lazy Loading in v1 when you ......

Posted On Thursday, November 26, 2009 10:23 AM

QandA: Is the ADO.NET Entity Data Model designer fixed in .NET 4?
[I haven’t done QandAs for a long while – very remiss of me.] Anyway, I have been asked this one so many times lately that I felt a more public answer was needed. The short answer is: Mostly. Certainly it is good enough to get work done. The longer answer is below… History In the first version of Entity Framework (which came with .NET Framework 3.5 SP1), the Entity Framework Designer was… bad. I mean very bad. I mean dumbly bad. We had a decent enough runtime but the design surface just wasn’t up ......

Posted On Tuesday, November 24, 2009 1:25 PM

Getting Started with Entity Framework 4 – Complex Types and Entities
[This is the fourth in a series of posts on getting started with the new features in Entity Framework 4 based on the demos I did in my session at TechEd Europe in Berlin last week (Nov 2009).] Complex Types make it easier to work with objects, allowing the grouping of related properties in Entities and the reuse of these groupings across Entities. The first release of Entity Framework included Complex Type support but did not expose this capability through the Entity Data Model Designer. The good ......

Posted On Tuesday, November 24, 2009 12:46 PM

SQL Azure and Entity Framework sessions from PDC 2009
Two areas I am looking at right now are SQL Azure and Entity Framework 4. PDC had plenty of content on both these areas. Just need to find the time to watch some of it! I have added direct links to the standard definition WMV and the PPTs to download (which is what I am doing right now). SQL Azure SQL Azure Database: Present and Future Windows Media Video PPT Using the Microsoft Sync Framework to Connect Apps to the Cloud Windows Media Video PPT The Future of Database Development with SQL Azure Windows ......

Posted On Monday, November 23, 2009 5:03 PM

Free Online and Offline .NET, SQL and Azure Training Resources from Microsoft
I was asked a little while back to pull together the best training resources for .NET development to feed into a MSDN UK site. I thought it would be useful to share here as well. By no means everything is listed but sometimes less is more :-). Enjoy: Top Tip: Watch out – these are sometimes big downloads. For instance I just downloaded a high def PDC2009 session at 600MB! I recommend you check out Free Download Manager – it is a great open source tool for working with large files. Offline Training ......

Posted On Monday, November 23, 2009 10:04 AM

T4 Templates and the answer to life, the universe and everything
[This is the third in a series of posts on getting started with the new features in Entity Framework 4 based on the demos I did in my session at TechEd Europe in Berlin last week (Nov 2009).] Entity Framework 4 relies significantly on the Text Template Transformation Toolkit (T4) to generate code from the EDM. I thought it would be useful to show a really simple example of T4 in action which is nothing to do with Entity Framework. In a Visual Studio 2008/2010 solution, add a new item of type Text ......

Posted On Friday, November 20, 2009 9:22 AM

Tangible T4 Editor – a life saver
I have been working with T4 (Text Template Transformation Toolkit) lately thanks to the Entity Framework team moving their code generation model over to T4 in Visual Studio 2010. However by default Visual Studio 2008 and 2010 do not include syntax highlighting or intellisense support for T4 files, which makes it rather difficult to work with them (very difficult at times!). Thankfully there are partners who address this. The one I am using with Beta 2 of Visual Studio 2010 is the Tangible T4 editor. ......

Posted On Friday, November 20, 2009 9:18 AM

Getting Started with Entity Framework 4 - Templated Code Generation
[This is the second in a series of posts on getting started with the new features in Entity Framework 4 based on the demos I did in my session at TechEd Europe in Berlin last week (Nov 2009).] Code generation from the Entity Data Model (EDM) has changed significantly in version 4 of the Entity Framework. The product does retain a backwardly compatible model of code generation but also now includes T4 templates for code generation. This is a fantastic addition to the Entity Framework as many developers ......

Posted On Thursday, November 19, 2009 1:47 PM

SQL Azure slides and links from EdgeUG session
A big thanks to all those who attended http://edgeug.net/ last night to hear about SQL Azure and SQL Server 2008 R2. I really enjoyed it and once again “Merry Christmas”! Links http://bit.ly/startazure takes you to the getting started page for SQL Azure (and Windows Azure) Download SQL Server Management Studio R2 which works with SQL Azure Brief walkthrough of using SSMS R2 with SQL Azure (nice screenshots similar to what I showed in the first demo) Download the SQL Azure Migration Wizard http://twitter.com/ericnel ......

Posted On Thursday, November 19, 2009 11:42 AM

Getting Started with Entity Framework 4 – Simple Model First Example
[This is the first in a series of posts on getting started with the new features in Entity Framework 4 based on the demos I did in my session at TechEd Europe in Berlin last week (Nov 2009). ] When adding an Entity Data Model to a project you are given the option to: Generate the Model from an existing database (SQL Server, Oracle etc) or Start with an Empty Model and create your conceptual model (sometimes referred to as Application Model or Domain Model) first – adding new Entities and Associations ......

Posted On Tuesday, November 17, 2009 10:30 PM

Using SQL Server Management Studio R2 with SQL Azure
As I mentioned earlier this week, we now have a CTP release of a version of SSMS that is SQL Azure aware. I thought it might be useful to share my first few minutes with it. First up, I cleared out my SQL Azure account using the portal (dropped all my databases). And I made sure the firewall setting would allow me to connect: (for simplicity I just opened up everything. Don’t do that!) Then I downloaded (155MB) SSMS R2 Nov CTP (32bit or 64bit) and installed it: Which gave me a new menu group for ......

Posted On Friday, November 13, 2009 3:06 PM

TechEd Europe 2009 Highlights and Lowlights
It is Friday 13th Nov 2009 - which means it is the last day of TechEd Europe in Berlin. Overall I have had a good week – high quality sessions, lots of time with customers and colleagues and a very smooth conference throughout. I spent the week doing a bunch of things. 9am Monday I was presenting on Entity Framework 4 after 4 hours of sleep and using a brand new VPC after my original failed to load following yet another blue screen from the host (the machine will be flattened next week – perhaps ......

Posted On Friday, November 13, 2009 11:52 AM

Pictures of TechEd Europe 2009 – brussel sprouts for the win!
Some pictures from the awesome TechEd Europe. My favourite – “Xmas Lunch” on the Thursday: The rather large entrance The Berlin wall (outside a restaurant!) The amazing hands on lab area: A typical session (AJAX in this case): The expo: The community doodle wall: I suspect Andrew Fryer was at work: And a panel discussion: ......

Posted On Thursday, November 12, 2009 6:41 PM

SQL Server Management Studio now supports SQL Azure
I have had a bit of a “SQL Azure” day at TechEd Europe. I sat through David Robinsons excellent intro to SQL Azure development (smooth, on time, great Q&A), caught up with David afterwards to exchange stories on SQL Azure and find out what I will be missing at PDC next week and then grabbed the chance to capture a short 10minute podcast which I will publish up on Channel 9 next week. David did his demos using a new version of SQL Server Management Studio which works with SQL Azure and announced ......

Posted On Wednesday, November 11, 2009 10:31 PM

Entity Framework 4 at TechEd Europe – standing room only
On Monday at 9am (9th Nov 2009) I presented a session on Entity Framework 4 to several hundred attendees at TechEd in Berlin (DEV305). I have presented EF to developers many times before but this was the first time I had shown the new EF 4 in any detail. I was really interested in the questions and feedback after the session. The tone was much more positive. Developers recognise that we are addressing their concerns with v1 and that v4 includes many very welcome improvements. They just want to get ......

Posted On Wednesday, November 11, 2009 10:07 PM

Did you know Microsoft makes a mocking tool? Meet the latest version of Pex
No? Nor me. (If you are wondering what Mocking is, check out my previous post on Mocking, Stubs and Test Doubles.) I am at TechEd Europe this week in Berlin, speaking on Entity Framework 4.0 and manning the .NET Framework stand. Behind the .NET Framework stand is the Pex and Code Contracts stand manned by the two lead developers of Pex, Peli de Halleux and Nikolai Tillmann. I looked at Pex many months back but was completely unaware of a great new feature they added in September 2009 – Stubs and ......

Posted On Wednesday, November 11, 2009 11:39 AM

UK MSDN Flash Poll for November 18th: Do you think you will develop solutions for SharePoint 2010?
SharePoint development has always been a little bit “lumpy” but Visual Studio 2010 and SharePoint 2010 plan to make thing much easier – yet offer more control and power. There are some great resources popping up to help you get started such as: Get Started Developing on SharePoint 2010 10 great modules plus documentation for the beta of Sharepoint. Sharepoint development with Visual Studio 2010 Including 14 great walkthroughs. But – will you be one of those developers targeting SharePoint ......

Posted On Wednesday, November 11, 2009 10:32 AM

Summary of the Entity Framework 4 changes introduced with Beta 2 and CTP 2
I thought it would be useful (at least to me!) to summarise the new stuff in Entity Framework 4 given it actually comes in 2 parts. The list is a simplified and categorised version of this and this. General Foreign Keys now added: EF 4 now includes a new type of associations (Foreign Key Associations) that allow you to have Foreign Key properties on your entities. They are the default although the EF v1 Independent Associations remain. Lazy Loading on by Default in new Models: Also name change from ......

Posted On Friday, November 6, 2009 4:37 PM

The relationship between Entity Framework 4 betas and ctps explained
There seems to be enough confusion about the betas and ctps of Entity Framework 4 to warrant a brief post. Hopefully this should clear things up nicely. Put simply: Most of Entity Framework 4 (EF4) will ship with .NET Framework 4 and Visual Studio 2010 (.NET4/VS2010), however not all of it will. Most of EF4 is therefore in the beta releases of .NET4/VS2010, however not all of it is. The missing bits of EF4 appear in EF4 Feature CTP releases “soon after” the release of a beta. Right now (Nov 6th 2009), ......

Posted On Friday, November 6, 2009 4:13 PM

The Plan B is all my DEV305 Entity Framework 4 demos as slideware
Next week I will be presenting Entity Framework 4 at TechEd Europe. At least that is what I hope to do. However my Lenovo T61P seems to have some other plans. A year back the screen packed in. The nice IBM man replaced it. All was well. Last week the screen packed in again. The nice IBM man replaced it. All was well … with the screen. However since then I am getting blue screens (whenever I really don’t want them) and drive errors and the odd bit of corruption of files. I need to flatten – but now ......

Posted On Friday, November 6, 2009 3:29 PM

Entity Framework 4 Session DEV305 at TechEd Europe 2009 – what to expect
Next Monday (9th Nov 2009) at 9am I will be delivering an overview of the new stuff in Entity Framework 4 at TechEd Europe. The session is DEV305 and the description reads: ADO.NET Entity Framework in Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 (catchy?) This presentation offers an in-depth discussion demonstrating the new capabilities of the Entity Framework that will ship with Visual Studio 2010. The second release of the Entity Framework focuses on addressing two primary customer ......

Posted On Friday, November 6, 2009 3:23 PM

Copyright © Eric Nelson | Powered by: GeeksWithBlogs.net | Join free