Welcome to MSDN Blogs
Sign in
|
Join
|
Help
Angle Bracket Percent
David Ebbo's blog
Follow me on Twitter
This Blog
Email
Syndication
RSS 2.0
Atom 1.0
Search
Tags
ASP.NET
C#
CodeDom
Dynamic
Dynamic Data
Entity Framework
IronPython
MVC
T4
T4MVC
Archives
October 2009 (3)
July 2009 (5)
June 2009 (8)
April 2009 (1)
March 2009 (2)
January 2009 (2)
December 2008 (4)
November 2008 (4)
October 2008 (1)
August 2008 (2)
June 2008 (4)
May 2008 (3)
April 2008 (1)
March 2008 (1)
December 2007 (4)
June 2007 (1)
November 2006 (1)
November 2005 (1)
October 2005 (2)
Browse by Tags
All Tags
»
Dynamic Data
(RSS)
ASP.NET
Entity Framework
T4
Friday, July 24, 2009 6:31 PM
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:
ASP.NET
,
Dynamic Data
Attachment(s):
SimpleBuddyTypeSample.zip
Tuesday, March 24, 2009 6:52 PM
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:
ASP.NET
,
Dynamic Data
Monday, March 23, 2009 11:41 PM
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:
ASP.NET
,
Dynamic Data
Friday, January 09, 2009 6:39 PM
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
Posted by
davidebb
|
7 Comments
Filed under:
ASP.NET
,
Dynamic Data
,
Entity Framework
Attachment(s):
DynamicDataEFCRUDMethods.zip
Monday, December 22, 2008 3:44 PM
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:
ASP.NET
,
Dynamic Data
Thursday, December 11, 2008 6:47 PM
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:
ASP.NET
,
Dynamic Data
Attachment(s):
DynamicDataEFAndL2S.zip
Thursday, December 11, 2008 2:53 PM
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
Posted by
davidebb
|
3 Comments
Filed under:
ASP.NET
,
Dynamic Data
Attachment(s):
DynamicDataEntityDbErrorHandling.zip
Wednesday, November 26, 2008 7:18 PM
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:
ASP.NET
,
Dynamic Data
,
T4
Attachment(s):
Details.zip
Tuesday, November 25, 2008 6:58 PM
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:
ASP.NET
,
Dynamic Data
Attachment(s):
DynamicDataWithUserControls.zip
Wednesday, November 19, 2008 4:57 PM
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:
ASP.NET
,
Dynamic Data
Attachment(s):
ProcessGeneratedCodeTestSite.zip
Saturday, October 25, 2008 10:50 PM
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
Filed under:
ASP.NET
,
Dynamic Data
,
Entity Framework
Attachment(s):
ManyToMany.zip
Friday, August 22, 2008 5:39 PM
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:
ASP.NET
,
Dynamic Data
Wednesday, June 18, 2008 4:37 PM
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
Wednesday, June 18, 2008 12:09 AM
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:
ASP.NET
,
Dynamic Data
Monday, June 16, 2008 12:13 PM
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
Posted by
davidebb
|
3 Comments
Filed under:
ASP.NET
,
Dynamic Data
More Posts
Next page »