Leaning Into Windows

Kathleen Dollard's view of life and .NET development

Browse by Tags

All Tags » .NET (RSS)
MEF and Cardinality Composition Failures
You can check here for a quick description of MEF I'm giving a half dozen MEF talks this summer and I'm frequently asked "what happens if a part isn't available". The old answer was "the system crashes, how could it do anything...

Posted by Kathleen | 1 comment(s)

Filed under: ,

A Quiet Conversation about DDD and Data First Design
At the MVP Summit I had the pleasure to sit down at a party for some one on one time with Don Smith. I’m trying to think of my blog as a nice little corner to talk, rather than a soapbox. I want to make an share something that is not shouted from the...

Posted by Kathleen | 5 comment(s)

Filed under: ,

Entity Framework Petition
I feel I need to respond to the “ Vote of No Confidence ” on the Entity Framework. I have little interest in petitions. They are by nature backwards looking. To get a group of people to sign onto something they have to either understand it or be driven...

Posted by Kathleen | 12 comment(s)

Filed under: ,

Runtime vs. Design/Compile Time

...

Posted by Kathleen | 7 comment(s)

Filed under: ,

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...

Posted by Kathleen | 3 comment(s)

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...

Posted by Kathleen | 1 comment(s)

Minnesota VSTS User Group - Code Generation in 2008
I'm stepping out of my comfy sandbox again. Not only am I going to Minnesota in February, but I'm also talking to a VSTS user group - to remember that it's not just about code. You can get more information here . I am really looking forward...

Posted by Kathleen | with no comments

Filed under: ,

New Jersey SQL Server User Group - SQL Server Stored Procedure Code Generation in 2008
If you can make it to Parsippany, New Jersey on Tuesday Feb. 19, I'll be talking about code generation. This is a SQL group that's been kind enough to host a hard core .NET geek. The common ground is stored procedures and making them easier to...

Posted by Kathleen | with no comments

Filed under:

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...

Posted by Kathleen | 1 comment(s)

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...

Posted by Kathleen | 1 comment(s)

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...

Posted by Kathleen | with no comments

.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...

Posted by Kathleen | with no comments

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...

Posted by Kathleen | with no comments

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"...

Posted by Kathleen | with no comments

Filed under: , ,

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...

Posted by Kathleen | with no comments

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...

Posted by Kathleen | with no comments

XML Literal Code Generation
You must use VB for XML Literal Code Generation. Sorry, that’s life. I don’t have a crystal ball on this, but for now even if you’re a C# programmer you’ve got to suck it up and use VB. The code you output can be VB or C# however, but the template itself...

Posted by Kathleen | 1 comment(s)

Let’s Talk Templates
Code generation templates have several competing pressures – they need to be easy to use and they need to be powerful. They need to be flexible but encourage best practices. If you ever say “my templates got me started then I had to customize them” you...

Posted by Kathleen | 5 comment(s)

DNR TV on .NET 3.5 Languages - Part 1 Posted
Check out .NET Rocks TV this week for the first of two parts on .NET 3.5 languages - that's right C# 3.0 and VB 9 together. It makes sense since most features cross over, and where they don't you'll want a handle on the differences.

Posted by Kathleen | 4 comment(s)

Filed under: , , ,

First Experience with Pipeline Builder
Wow! System.AddIn the easy way Build and interface, press a button, build an add in, build a host. Wow! So, the pipeline builder tool really works. You have to do a couple of things not mentioned in the documentation I used. Actually the documentation...

Posted by Kathleen | with no comments

Filed under: ,

More Posts Next page »