Angle Bracket Percent

David Ebbo's blog Follow me on Twitter (@davidebbo)

Browse by Tags

Tagged Content List
  • Blog Post: Peter Blum’s new blog and his cool new data source controls

    Peter Blum has been well known is the ASP.NET world for many years for writing a whole suite of powerful controls, which you can read all about on his site .  One thing that was missing on Peter’s resume is that he never had a blog.  Well he started one earlier this month, and is making up...
  • Blog Post: Using an Associated Metadata Class outside Dynamic Data

    A while back, I blogged about how ASP.NET Dynamic Data apps can uses an Associated Metadata class (aka a ‘buddy’ class) to add metadata attributed to properties defined in a generated class. It’s a mostly ugly thing that was made necessary by limitations of the C# and VB.NET languages: they don’t let...
  • Blog Post: Using a DomainService in ASP.NET and Dynamic Data

    Update (8/26/2010): I updated some of the content to reflect the new way to get the bits.   One of the big things that I discussed in my MIX 2009 talk is the new DomainDataSource control.  It is available as part of the WCF RIA Services Toolkit .  To install it, you’ll first need to install...
  • Blog Post: My MIX 2009 ASP.NET Data talk is available online

    Last Friday, I gave a talk at MIX on various things that we’re working on in ASP.NET data land.  This includes both some Dynamic Data features and some features usable outside Dynamic Data. The great thing about MIX is that they make all talks freely available online shortly after, and you can watch...
  • Blog Post: A helper to easily set up change notifications in Entity Framework

    When you use Entity Framework, you can perform Insert/Update/Delete operations on your entities, and you eventually call ObjectContext.SaveChanges() to actually make it all happen.  The call to SaveChanges() is either explicit, or can happen implicitly when you use the EntityDataSource (e.g. within...
  • Blog Post: Two worlds of Dynamic Data customization: generic vs schema specific

    There are many ways to customize a ASP.NET Dynamic Data site, which can sometimes be a bit overwhelming to newcomers. Before deciding what customization makes sense for you, it is important to understand the two major buckets that they fall into: Generic customization : things that apply generically...
  • Blog Post: Using Dynamic Data with multiple databases

    Most Dynamic Data web sites typically only use a single database, with either a Linq To Sql or Entity Framework model over it. But in some cases, you need your site to use multiple databases/models. This came up today in this forum thread . In fact, the original poster (Chris) is the one that came up...
  • Blog Post: Handling database exceptions in Dynamic Data

    This post was prompted from a forum thread in which the user wanted to display database errors in a Dynamic Data page, instead of the default behavior that ends up with an unhandled exception (or an AJAX error with partial rendering). When using Linq To Sql, this can be done fairly easily in a couple...
  • Blog Post: Fun with T4 templates and Dynamic Data

    T4 templates have been a pretty popular topic lately. If you have no idea what they are, don’t feel bad, I didn’t either only a couple weeks ago! In a nutshell, it’s a simple template processor that’s built into VS and allows for all kind of cool code generation scenario. For a bunch of information about...
  • Blog Post: Using User Controls as Page Templates in Dynamic Data

    Dynamic Data has the concept of Page Templates, which are pages that live under ~/DynamicData/PageTemplates and are used by default for all tables. Recently a user on the forum asked whether they could use User Controls instead of Pages for those templates. To me, this means potentially two distinct...
  • Blog Post: ProcessGeneratedCode: A hidden gem for Control Builder writers

    If you’ve ever written any non-trivial ASP.NET control, you’re probably familiar with the concept of a Control Builder.  Basically, it’s a class that you associate with your control and that affects the way your control gets processed at parse time.  While ControlBuilder has been around since...
  • Blog Post: A ‘Many To Many’ field template for Dynamic Data

    Update: the Many to Many template is now part of the default Dynamic Data project template (when using Entity Framework), so you should not need to download this template separately unless you're on 3.5SP1 Unlike Linq To Sql, Entity Framework directly supports Many to Many relationships. I’ll...
  • Blog Post: Dynamic Data Filtering project up on CodePlex

    Josh Heyse has just released a very cool extension to ASP.NET Dynamic Data which supports much fancier filtering than is available is the core Dynamic Data.  The core idea is that filters can contribute arbitrary LINQ expression trees to the Select query performed by the data source.  So for...
  • Blog Post: Using ASP.NET Dynamic Data with ObjectDataSource

    Support for LINQ based O/R mappers Out of the box, ASP.NET Dynamic Data has support for both Linq To Sql and Entity Framework.  In addition, it has a provider model which allows additional O/R mappers to be supported.  For instance, we have a sample provider that supports ADO.NET Data Services...
  • Blog Post: ASP.NET Dynamic Data on CodePlex

    Today, ASP.NET Dynamic Data moved from its current home on Code Gallery to its new home on CodePlex .  Note that this is part of a general ASP.NET CodePlex project, so you'll see other features mentioned in there, like MVC and AJAX.  This doesn't mean that those features tie with Dynamic Data...
  • Blog Post: Dynamic Data and the Associated Metadata Class

    If you've used Dynamic Data or watched some demos, you may have been puzzled by the way metadata is associated with database fields. Instead of being placed directly on the partial Entity class (e.g. Product), it needs to go on a different class which gets associated with the real class via a MetadataTypeAttribute...
  • Blog Post: Understanding foreign keys and relationship columns in Dynamic Data

    Suppose you're dealing with a table that has a foreign key relationship with another table.  To take the canonical example, let's say we're looking at the Northwind Products table, which has a foreign key into the Categories table.  What this means is that each Product is a member of a Category...
  • Blog Post: Sample: Dynamic Data and attribute based permissions

    Steve Naughton just posted a great series of articles on how he implemented an attribute based permission system that works with Dynamic Data.  This is something that we had been thinking about putting in the product early on, but decided against for a couple reasons: This was a short product cycle...
  • Blog Post: Dynamic Data, AJAX and JavaScript errors

    The default Dynamic Data application uses AJAX partial rendering (using an UpdatePanel ), which make browser post backs feel smoother.  One downside is that it can also make it harder to diagnose some error conditions. Specifically, while using your application you may run into a JavaScript error...
  • Blog Post: Clearing some confusion about Dynamic Data and VS SP1 Beta

    Today, we released Visual Studio 2008 and .NET FX 3.5 SP1 Beta, which include the new ASP.NET Dynamic Data .  The part that gets a little bit confusing is that the Dynamic Data bits that come with the brand new Beta are actually older than Preview bits that we've had out for a while on Code Gallery...
  • Blog Post: New Dynamic Data Preview available

    I'm happy to announce that we have made a new public drop of ASP.NET Dynamic Data available.  The last public drop was made in December and was starting to get a little outdated.  More recently we had made some drops available via Microsoft Connect , but it was a non-public preview which required...
  • Blog Post: Dynamic Data at MIX, and upcoming changes

    Yesterday, I gave a talk on ASP.NET Dynamic Data at the MIX 2008 conference.  It was a full room, and it was great to see the interest for the technology.  What's nice about MIX is that they are making all talks available online within 24 hours.  So you can watch my talk today!  Here...
  • Blog Post: Workaround for update issue in the Dynamic Data preview

    We found that  the Dynamic Data preview has a pretty nasty caching bug that prevents updates from showing up in some foreign key scenarios.  Marcin has posted a fix on his blog , so if you run into this, please check it out.
  • Blog Post: Answers to frequently asked ASP.NET Dynamic Data questions

    Now that ScottGu blogged about it , we have received a number of great feedback and questions.  I'll try to answer some them here.   Will this work with MVC? In this initial Preview, Dynamic Data is mostly targeting 'standard' ASP.NET pages, but we are absolutely planning to support Dynamic...
  • Blog Post: Dynamic Data screencast is now available!

    I made a screencast which walks through a basic scenario of using ASP.NET Dynamic Data in a simple site using Northwind. It's about 17 minutes long. Enjoy and feel free to give any feedback here or in the forum .
Page 1 of 2 (27 items) 12