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
»
ASP.NET
(RSS)
C#
CodeDom
Dynamic
Dynamic Data
Entity Framework
IronPython
MVC
T4
T4MVC
Friday, October 23, 2009 6:22 PM
Using C# dynamic to call static members
By now, you’ve probably heard that C# 4.0 is adding support for the dynamic keyword, which introduces some aspects of dynamic languages to C#. I had not had a chance to really try it, but recently I was reading Bertrand Le Roy’s post on the topic,
Posted by
davidebb
|
12 Comments
Filed under:
ASP.NET
,
C#
,
Dynamic
Attachment(s):
DynamicCallsToStaticMembers.zip
Thursday, October 15, 2009 1:02 PM
T4MVC 2.4.04 update: MVC 2 support, new settings, cleanup, fixes
To get the latest build of T4MVC: Go to download page on CodePlex Though I haven’t blogged for a while about T4MVC, I’ve been making a few minor updates and only sent notification via Twitter. Now, I have a few things that are worth discussing
Posted by
davidebb
|
8 Comments
Filed under:
ASP.NET
,
MVC
,
T4
,
T4MVC
Tuesday, July 28, 2009 4:15 PM
T4MVC 2.4 updates: settings file, sub view folders, ActionName support and more
To get the latest build of T4MVC: Go to download page on CodePlex This post is a continuation of various previous posts on the T4MVC template for ASP.NET MVC: A new and improved ASP.NET MVC T4 template The MVC T4 template is now up on CodePlex T4MVC 2.2
Posted by
davidebb
|
34 Comments
Filed under:
ASP.NET
,
MVC
,
T4
,
T4MVC
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
Friday, July 17, 2009 12:43 AM
Two ways to use T4 templates: support code vs. one-time generation
T4 templates have proven to be useful is a whole range of scenarios, and more and more developers are finding interesting things to do with them. For the most part, all those scenarios fall under two very distinct categories: “support code” versus one-time
Posted by
davidebb
|
6 Comments
Filed under:
ASP.NET
,
MVC
,
T4
Sunday, July 12, 2009 12:21 AM
AspPathGuru: A little T4 love for ASP.NET WebForms
Last month , I wrote a number of posts on using T4 templates to get strong typing in ASP.NET MVC applications. The result is the T4MVC template available on CodePlex . This template has been pretty popular with many MVC users, and I received a huge amount
Posted by
davidebb
|
7 Comments
Filed under:
ASP.NET
,
T4
Attachment(s):
AspPathGuru.zip
Tuesday, June 30, 2009 4:42 PM
T4MVC 2.2 update: Routing, Forms, DI container, fixes
To get the latest build of T4MVC: Go to download page This post is a continuation of various recent posts, most notably: A new and improved ASP.NET MVC T4 template The MVC T4 template is now up on CodePlex First, I’d like to thank all those who are using
Posted by
davidebb
|
17 Comments
Filed under:
ASP.NET
,
MVC
,
T4
,
T4MVC
Friday, June 26, 2009 10:23 AM
The MVC T4 template is now up on CodePlex, and it does change your code a bit
Short version : the MVC T4 template (now named T4MVC) is now available on CodePlex, as one of the downloads in the ASP.NET MVC v1.0 Source page . Go to download page Poll verdict: it’s ok for T4MVC to make small changes Yesterday, I posted asking how
Posted by
davidebb
|
53 Comments
Filed under:
ASP.NET
,
MVC
,
T4
,
T4MVC
Wednesday, June 24, 2009 11:45 PM
Mind if my MVC T4 template changes your code a bit?
Update : Please see this post for what came out of this ‘poll’, and for a pointer to the newest T4 template on CodePlex. When working on my MVC T4 template , I was not able to use reflection to discover the Controllers and Actions, because the code that
Posted by
davidebb
|
40 Comments
Filed under:
ASP.NET
,
MVC
,
T4
,
T4MVC
Wednesday, June 17, 2009 8:34 AM
A new and improved ASP.NET MVC T4 template
Update : Please read this post for the newest and greatest. A couple weeks ago, I blogged about using a Build provider and CodeDom to generate strongly typed MVC helpers at runtime. I followed up a few days later with another version that used T4 templates
Posted by
davidebb
|
40 Comments
Filed under:
ASP.NET
,
MVC
,
T4
,
T4MVC
Thursday, June 04, 2009 11:52 PM
A T4 based approach to creating ASP.NET MVC strongly typed helpers
Update : Please see this newer post for the latest and greatest MVC T4 template Earlier this week, I wrote a post on using a BuildProvider to create ActionLink helpers . That approach was using CodeDom to generate the code, and there was
Posted by
davidebb
|
12 Comments
Filed under:
ASP.NET
,
MVC
,
T4
Attachment(s):
AspNetT4Bridge.zip
Monday, June 01, 2009 6:41 PM
A BuildProvider to simplify your ASP.NET MVC Action Links
Update : Please see this newer post for the latest and greatest MVC T4 template One downside of using Html.ActionLink in your views is that it is late bound. e.g. say you write something like this: <% = Html.ActionLink( "Home"
Posted by
davidebb
|
26 Comments
Filed under:
ASP.NET
,
MVC
,
CodeDom
Attachment(s):
MvcActionLinkHelper.zip
Wednesday, April 15, 2009 12:03 PM
A new flag to optimize ASP.NET compilation behavior
Update (9/04/2009) Actually downloading this fix for 3.5SP1 has been a confusing topic. Here are links from which you can download it directly without having to call Product Support. Note that even though the links appear to refer to an unrelated
Posted by
davidebb
|
20 Comments
Filed under:
ASP.NET
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
More Posts
Next page »