Sign in
Angle Bracket Percent
David Ebbo's blog Follow me on Twitter (@davidebbo)
Translate This Page
Translate this page
Powered by
Microsoft® Translator
Options
Email Blog Author
RSS for posts
Atom
RSS for comments
OK
Search
Tags
ASP.NET
C#
CodeDom
Dynamic
Dynamic Data
Entity Framework
IronPython
MVC
NuGet
NuPack
Razor
Spark
T4
T4MVC
Web Pages
WebMatrix
Archive
Archives
January 2011
(1)
December 2010
(1)
October 2010
(4)
August 2010
(1)
July 2010
(3)
March 2010
(3)
February 2010
(1)
January 2010
(3)
December 2009
(1)
November 2009
(5)
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)
Posts
Subscribe via RSS
Sort by:
Most Recent
|
Most Views
|
Most Comments
Excerpt View
|
Full Post View
Angle Bracket Percent
Turning an ascx user control into a redistributable custom control
Posted
over 8 years ago
by
David Ebbo
65
Comments
[Update 1/31/2011: I just attached a zip that demonstrates the files you'll get at each step. In the process, I verified that the steps still work well with VS 2010] This article applies to ASP.NET 2.0 and Visual Studio 2005. Background Since...
Angle Bracket Percent
How WebMatrix, Razor, ASP.NET Web Pages and MVC fit together
Posted
over 3 years ago
by
David Ebbo
13
Comments
Today, we announced the public availability of the Microsoft WebMatrix Beta . This is an exciting time, as we’ve been working on this project for quite a while, and have been eager to get it out there! Our VP Scott Guthrie has been blogging about...
Angle Bracket Percent
Take your MVC User Controls to the next level
Posted
over 3 years ago
by
David Ebbo
30
Comments
Note: this is based on ASP.NET MVC 2 RC , and will not work on earlier builds. The quick pitch: make your User Controls as cool as built-in render helpers! The goal of this post is to show you how to change the way MVC user controls are called...
Angle Bracket Percent
Dynamic Data screencast is now available!
Posted
over 6 years ago
by
David Ebbo
59
Comments
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 .
Angle Bracket Percent
Overriding ASP.NET combine behavior using a VirtualPathProvider
Posted
over 8 years ago
by
David Ebbo
30
Comments
This article applies to ASP.NET 2.0. Background This article originated from a customer question on the ASP.NET site . What they are trying to achieve is running multiple sites under a single actual ASP.NET application. This can be useful...
Angle Bracket Percent
Turn your Razor helpers into reusable libraries
Posted
over 3 years ago
by
David Ebbo
35
Comments
Note: the generator has evolved since this post. Although the post is still worth reading, please go to http://razorgenerator.codeplex.com/ for the most up to date doc. The first blog post I ever wrote was titled “ Turning an ascx user control...
Angle Bracket Percent
Light up your NuGets with startup code and WebActivator
Posted
over 3 years ago
by
David Ebbo
25
Comments
[Please see the WebActivator wiki for the latest docs] Wow, it’s hard to believe that it’s been less than a week since NuGet went public. We were hoping to get noticed, but the attention we got was way beyond my wildest expectations! The...
Angle Bracket Percent
A new and improved ASP.NET MVC T4 template
Posted
over 4 years ago
by
David Ebbo
40
Comments
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...
Angle Bracket Percent
A new flag to optimize ASP.NET compilation behavior
Posted
over 4 years ago
by
David Ebbo
28
Comments
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 issue...
Angle Bracket Percent
Passing anonymous objects to MVC views and accessing them using dynamic
Posted
over 4 years ago
by
David Ebbo
25
Comments
Note (12/22/2011): now that MVC 3 has direct support for dynamic, the technique below is no longer necessary. This post is in fact what led to integrating the feature into MVC! First, I’ll start with a little disclaimer: this post is not about...
Angle Bracket Percent
A ‘Many To Many’ field template for Dynamic Data
Posted
over 5 years ago
by
David Ebbo
48
Comments
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...
Angle Bracket Percent
The MVC T4 template is now up on CodePlex, and it does change your code a bit
Posted
over 4 years ago
by
David Ebbo
53
Comments
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 T4MVC home page Poll verdict: it’s ok for T4MVC to make small changes Yesterday, I posted...
Angle Bracket Percent
Using C# dynamic to call static members
Posted
over 4 years ago
by
David Ebbo
17
Comments
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...
Angle Bracket Percent
Using ASP.NET Dynamic Data with ObjectDataSource
Posted
over 5 years ago
by
David Ebbo
6
Comments
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...
Angle Bracket Percent
Fun with T4 templates and Dynamic Data
Posted
over 5 years ago
by
David Ebbo
15
Comments
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...
Angle Bracket Percent
Use C# 4.0 dynamic to drastically simplify your private reflection code
Posted
over 3 years ago
by
David Ebbo
15
Comments
Update 8/10/2011 : this project now has a home at https://github.com/davidebbo/ReflectionMagic . Also, it is installable via nuget. It's named ' ReflectionMagic '. Private reflection allows you to access private and internal members in other assemblies...
Angle Bracket Percent
A BuildProvider to simplify your ASP.NET MVC Action Links
Posted
over 4 years ago
by
David Ebbo
29
Comments
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"...
Angle Bracket Percent
Using a DomainService in ASP.NET and Dynamic Data
Posted
over 4 years ago
by
David Ebbo
15
Comments
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...
Angle Bracket Percent
Debugging ASP.NET generated code
Posted
over 3 years ago
by
David Ebbo
12
Comments
Update 2/4/2010 : changed Technique #2 to use Debugger.Break() This post applies to any ASP.NET app that uses .aspx files, whether WebForms or MVC. When you write an aspx/ascx/master file (I’ll just say aspx for here on, but it applies to all)...
Angle Bracket Percent
T4MVC now has a real home and a dedicated forum!
Posted
over 4 years ago
by
David Ebbo
5
Comments
Up until now, most things related to T4MVC were happening through my various blog posts about it. And while that was sort of working ok for a while, it was also less than ideal for a couple reasons. First, there was no single place to go to in order...
Angle Bracket Percent
Using C# Dynamic to simplify ADO.NET Data Access
Posted
over 4 years ago
by
David Ebbo
16
Comments
Update (11/7/09) : fixed Execute() method per Richard’s suggestion to wrap IDataRecord instead of Reader. Recently, I started playing around with C# dynamic, and blogged how it could be used to call static class members late bound . Today, I was talking...
Angle Bracket Percent
ProcessGeneratedCode: A hidden gem for Control Builder writers
Posted
over 5 years ago
by
David Ebbo
13
Comments
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...
Angle Bracket Percent
A T4 based approach to creating ASP.NET MVC strongly typed helpers
Posted
over 4 years ago
by
David Ebbo
12
Comments
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...
Angle Bracket Percent
T4MVC 2.4 updates: settings file, sub view folders, ActionName support and more
Posted
over 4 years ago
by
David Ebbo
36
Comments
To get the latest build of T4MVC: Go to T4MVC 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...
Angle Bracket Percent
Using an Associated Metadata Class outside Dynamic Data
Posted
over 4 years ago
by
David Ebbo
10
Comments
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...
Page 1 of 3 (73 items)
1
2
3