Welcome to MSDN Blogs Sign in | Join | Help

Browse by Tags

All Tags » Dynamic Data » ASP.NET   (RSS)

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

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
Posted by davidebb | 8 Comments
Filed under: ,

Attachment(s): SimpleBuddyTypeSample.zip

Using a DomainService in ASP.NET and Dynamic Data

One of the big things that I discussed in my MIX talk is the new DomainDataSource control.  It is currently available in Preview form as part of ASP.NET Dynamic Data 4.0 Preview 3 .  This can be confusing, because even though Dynamic Data makes
Posted by davidebb | 13 Comments
Filed under: ,

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
Posted by davidebb | 6 Comments
Filed under: ,

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

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
Posted by davidebb | 5 Comments
Filed under: ,

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
Posted by davidebb | 9 Comments
Filed under: ,

Attachment(s): DynamicDataEFAndL2S.zip

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

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
Posted by davidebb | 14 Comments
Filed under: , ,

Attachment(s): Details.zip

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.
Posted by davidebb | 4 Comments
Filed under: ,

Attachment(s): DynamicDataWithUserControls.zip

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. 
Posted by davidebb | 13 Comments
Filed under: ,

Attachment(s): ProcessGeneratedCodeTestSite.zip

A ‘Many To Many’ field template for Dynamic Data

Unlike Linq To Sql, Entity Framework directly supports Many to Many relationships.  I’ll first describe what this support means. In the Northwind sample database, you have Employees, Territories and EmployeeTerritories tables.  EmployeeTerritories
Posted by davidebb | 31 Comments
Attachment(s): ManyToMany.zip

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
Posted by davidebb | 2 Comments
Filed under: ,

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
Posted by davidebb | 6 Comments
Filed under: ,

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
Posted by davidebb | 1 Comments
Filed under: ,
More Posts Next page »
 
Page view tracker