MSMVPS.COM
The Ultimate Destination for Blogs by Current and Former Microsoft Most Valuable Professionals.

Browse Site by Tags

Showing related tags and posts accross the entire site.
  • Open Source

    It’s occurred to me that if you are following this and my DNR TV show a logical reaction would be “OK, so that’s a lot of hot air, where do I get it?” I intend for all of this to be released Open Source, on whichever site s hot when I release it. I hope I’ll start releasing pieces in just a matter of...
    Posted to Leaning Into Windows (Weblog) by Kathleen on 02-13-2008
    Filed under: .NET, Code Generation, Visual Basic, C#
  • Isolating Metadata

    In code generation, metadata is the information about your application, generally about your database and definitions to express your data as business objects. If you use Entity Framework, your metadata is the edmx file which is displayed via the designers. If you’re using CodeSmith, the metadata is...
    Posted to Leaning Into Windows (Weblog) by Kathleen on 02-13-2008
    Filed under: .NET, Code Generation, Design, Visual Basic, C#
  • CurrentTypeInfo and the Context Stack

    Creating templates requires a lot of access to the thing you’re currently creating. That’s the current output type, which as I discussed in yesterday I suffix with “Info.” The CurrentTypeInfo is thus what you’re currently outputting. I neglected to clarify in that post that the Data and the Info classes...
    Posted to Leaning Into Windows (Weblog) by Kathleen on 02-12-2008
    Filed under: .NET, Code Generation, Visual Basic, C#
  • Two Parallel Entities - Metadata and Info

    One of the confusing things about templating is that you are writing two programs simultaneously and there is no way around it. My brilliant son may write a templating language for a class project, and this is exactly what he wants to address – that and the issue of escaping. You can’t avoid it, he just...
    Posted to Leaning Into Windows (Weblog) by Kathleen on 02-11-2008
    Filed under: .NET, Code Generation, Visual Basic, C#
  • Inheritance and Templates

    One of the most valuable things about templates written in .NET code of any style is the ability to use inheritance. This is classic inheritance where local state allows you to push functionality into base class methods that would become cumbersome and have excess dependencies if treated as external...
    Posted to Leaning Into Windows (Weblog) by Kathleen on 02-11-2008
    Filed under: .NET, Code Generation, Visual Basic, C#
  • .NET Template Organization

    So, now that you know where I’m going with this – language neutral templates – I want to step back to the basics. Even if you don’t want to build language neutral templates, there are things to learn along the way about making good XML literal templates, and why this approach might be better than your...
    Posted to Leaning Into Windows (Weblog) by Kathleen on 02-10-2008
    Filed under: .NET, Code Generation, Visual Basic, C#
  • The Punch Line

    I mentioned a few days ago that there was a punch line for the XML Literal Code Generation. I planned to unveil this slowly, but it just sprung out of the box when Carl posted episode #102 (which I thought was due for next Friday. And I’m afraid that I need to add that I was sick during the taping and...
    Posted to Leaning Into Windows (Weblog) by Kathleen on 02-10-2008
    Filed under: .NET, Code Generation, Visual Basic, C#
  • Code for DNR TV # 97 and #98 Sample Code

    Sometimes I drop the ball and I did on getting these samples posted. Note that this is for the two episodes I did on 3.5 languages. I think these episodes are a good run through of the features in both languages. The title wound up with the word "Compare" in the title. I'm not sure I really...
    Posted to Leaning Into Windows (Weblog) by Kathleen on 02-10-2008
    Filed under: .NET, Visual Basic, C#
  • XML Literal Code Genaration - Code again again

    Crap. For now, I'm just removing the coloring. Paste this into VS for coloring. It's much prettier: Private Function MemberDataPortalFetch() As String ' TODO: Add special handing for timestamp Return _ <code> Private Overloads Sub DataPortal_Fetch(ByVal criteria As Criteria) Using cn...
    Posted to Leaning Into Windows (Weblog) by Kathleen on 02-10-2008
    Filed under: .NET, Code Generation, Visual Basic, C#
  • XML Literal Code Generation - Code again

    OK, that code listing got friend on load. Let me try again. Private Function MemberDataPortalFetch() As String Return _ < code > Private Overloads Sub DataPortal_Fetch(ByVal criteria As Criteria) Using cn As New SqlConnection( <%= mObjectData.ConnectionStringName %> ) cn.Open() Using cm As...
    Posted to Leaning Into Windows (Weblog) by Kathleen on 02-10-2008
    Filed under: .NET, Code Generation, Visual Basic, C#
Page 1 of 2 (18 items) 1 2 Next >


Copyright © is the original authors. Blog site is an independent site not sponsored by Microsoft. The Yoda blog server and the Brianna SQL server would like to thank www.ownwebnow.com and www.exchangedefender.com. They wouldn't be here and broadcasting without the generosity of Vlad Mazek and his companies.

Powered by Community Server (Commercial Edition), by Telligent Systems