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
This blog has moved!
Posted
over 2 years ago
by
David Ebbo
2
Comments
You can now find my blog at http://blog.davidebbo.com/ , and all posts from now on will be there. Here is the intro post on the new blog. My feed goes through feedburner, so if you were subscribing to this blog before, you should now get updates...
Angle Bracket Percent
An update on the NuGet package submission process
Posted
over 3 years ago
by
David Ebbo
0
Comments
If you’ve submitted a package to the NuGet feed, then you’re probably aware that our submission process is not as good as it could be. Ok, this may be an understatement, so let’s go ahead and say it: it sucks! With the current process, you have...
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
Introducing NuGet: the smart way to bring bits into your projects
Posted
over 3 years ago
by
David Ebbo
11
Comments
I’m thrilled to announce that the secret project we’ve been working on for the last few months is no longer a secret! It’s called NuGet, and you can download it from here . Make sure you also read ScottGu’s post about it. So what the heck...
Angle Bracket Percent
The easy way to create an Entity Framework ‘Defining Query’
Posted
over 3 years ago
by
David Ebbo
7
Comments
Entity Framework supports a concept called a ‘Defining Query’, which is basically a client side database View. I only learned about that feature a few days ago, and I thought I’d share some tips about how to create them in a way that’s...
Angle Bracket Percent
A short take on Microsoft.Data
Posted
over 3 years ago
by
David Ebbo
10
Comments
Yesterday, David Fowler blogged about the Microsoft.Data APIs that come with ASP.NET WebMatrix . While there were some positive comments, the majority were negative. The reason for that is that a lot of readers completely missed the point...
Angle Bracket Percent
T4MVC 2.6.20, and upcoming T4MVC talk at MvcConf
Posted
over 3 years ago
by
David Ebbo
12
Comments
I just pushed T4MVC out to the MvcContrib CodePlex site. You can go to the T4MVC Home Page to get started with it. Last time I blogged about a T4MVC release was for 2.6.13. In the mean time, I released 2.6.14 and 2.6.15, but they were minor...
Angle Bracket Percent
Check out Chirpy, a very cool Add-In to run T4MVC and do many other cool things
Posted
over 3 years ago
by
David Ebbo
2
Comments
Just a quick post to point folks to a very cool CodePlex Add-In that you may not know about. It’s called Chirpy and can be downloaded from http://chirpy.codeplex.com/ . The reason I discovered it is that it includes functionality to automatically...
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
An even better way to run T4MVC: a VS AddIn
Posted
over 3 years ago
by
David Ebbo
8
Comments
Last week, I blogged about a nice way of auto-running T4MVC by using the Macro IDE to write an OnBuildBegin event handler . This was a big improvement over the hacky ‘AlwaysKeepTemplateDirty’ flag that we’ve been using since T4MVC’s early days....
Angle Bracket Percent
A better way to auto-run T4MVC when you build
Posted
over 3 years ago
by
David Ebbo
14
Comments
Update: also see the newer post on this topic T4MVC has always struggled with finding the right way of running automatically when you build. Being a T4 template in your project, by default it just runs when you save it. This is not...
Angle Bracket Percent
T4MVC 2.6.13: now officially in MvcContrib, with a few new features
Posted
over 3 years ago
by
David Ebbo
1
Comments
To get the latest build of T4MVC: Go to MvcContrib T4MVC page on CodePlex A few weeks back, we announced (mostly on Twitter) that T4MVC was moving into the MvcContrib Codeplex project. I didn’t say much about it at the time because there...
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
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
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
T4MVC 2.6.10: fluent route value API, shorter way to refer to action, and more
Posted
over 3 years ago
by
David Ebbo
7
Comments
To get the latest build of T4MVC: Go to T4MVC page on CodePlex I just posted build 2.6.10. There were also a few builds in between since I last blogged about 2.6, so this post describes some of those changes (full history here ). Fluent route...
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
T4MVC 2.6: MVC 2 Areas support
Posted
over 4 years ago
by
David Ebbo
14
Comments
To get the latest build of T4MVC: Go to T4MVC page on CodePlex One of MVC 2's major new features is the support for breaking up a large application into "Areas". This works by following a structure that looks like: Root folder Models...
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
T4MVC 2.5.01: added support for Html.RenderAction and Html.Action
Posted
over 4 years ago
by
David Ebbo
11
Comments
To get the latest build of T4MVC: Go to T4MVC page on CodePlex MVC 2 Beta introduces two nice helpers called Html.RenderAction and Html.Action. Phil Haack described them in detail on his blog , so you may want to read through that before reading...
Angle Bracket Percent
T4MVC 2.5.00 update: multiple output files and minified javascript support
Posted
over 4 years ago
by
David Ebbo
9
Comments
To get the latest build of T4MVC: Go to T4MVC page on CodePlex T4MVC build 2.5.00 brings a couple of fun new features that I’ll describe in this post. I can’t take too much credit for them as they came from users who suggested them to me, and helped...
Angle Bracket Percent
Peter Blum’s new blog and his cool new data source controls
Posted
over 4 years ago
by
David Ebbo
2
Comments
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...
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
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...
Page 1 of 3 (73 items)
1
2
3