all posts

WhatIWantMost Starting off with .netTiers

Published to Blog on 15 Dec 2006

In my last post I took a first pass at designing the database for WhatIWantMost.com. The next step is to use CodeSmith and .netTiers to generate… well, um… the .NET Tiers.

Using .netTiers in as easy as they say it is on the site. Really, all you have to do is open up the NetTiers template file in CodeSmith and execute it. Those of you familiar with CodeSmith already know what I’m talking about, those of you not familiar with it will know once you try CodeSmith the first time. After that the only thing you must do is select a datasource, choose a folder to output the generated code, and provide a Namespace to be used in the code. There are plenty of other optional settings, I’ll leave investigating them further as an exercise for the reader. I have to admit that I did spend a few hours tweaking the settings and determining what each did and the optimal settings for me, but it was far from back-breaking labor.

When you execute the template your code, a VS 2005 solution, and some other goodies will be generated for you.  

 

One of the “other” things that is generated is a starter web site that includes a pre-built admin section for editing the database tables for which you choose to generate code. This feature alone can be a real time saver, though you could use tools like XLineSoft’s ASP.NET Runner (or ASPRunner) or 1ClickDB Free to do the same sort of things. I think the real value in the generated admin for me will be in looking at the code for examples on how to work with the .netTiers framework.

So, now that I have the framework in place, how does it all work? What do I do next? I have no idea. I guess I’ll start plugging in some code to figure it all out and learn how I’m supposed to use the generated .netTiers framework. .netTiers does provide some samples to get me started. Come back next time to read what I’ve learned.


Dan Hounshell
Web geek, nerd, amateur maker. Likes: apis, node, motorcycles, sports, chickens, watches, food, Nashville, Savannah, Cincinnati and family.
Dan Hounshell on Twitter


  • On 15 Dec 2006 "Community Server Daily News"" said:
    news of the day a grab bag for what's happening in Community Server Telligent's Adonis Bitar with a great
  • On 16 Dec 2006 "Daily News List Blog"" said:
    Dan Hounshell releases the week's final WhatIWantMost episode just under the wire, but it was worth the
  • On 18 Dec 2006 "TrackBack"" said:
  • On 19 Dec 2006 "TrackBack"" said:
  • On 19 Dec 2006 "Community Server Daily News"" said:
    news of the day a grab bag for what's happening in Community Server This conducido.nl post by Wouterc
  • On 19 Dec 2006 "Daily News List Blog"" said:
    ClintonCherry Windows Live blog post on getting the rowcount (and other properties) from a .netTiers
  • On 21 Dec 2006 "Digging My Blog - Dan Hounshell"" said:
    I've been getting cards and letters from people I don't even know asking, "Hey, how about a status update
  • On 1 Jan 2007 "Community Blogs"" said:
    I'm on the docket with other developers for next Monday's Vermont .NET Users Group meeting where I get
  • On 12 Mar 2007 "Community Server Bits"" said:
    ClintonCherry Windows Live blog post on getting the rowcount (and other properties) from a .netTiers
  • On 12 Mar 2007 "Community Server Bits"" said:
    Dan Hounshell releases the week's final WhatIWantMost episode just under the wire, but it was worth the
  • On 6 Jul 2007 "Digging My Blog - Dan Hounshell"" said:
    Following is a list of all the posts of the WhatIWantMost series. I'm listing them all here mostly for
  • On 19 Jan 2008 "Dave Burke Everyday Blog"" said:
    I&39;m on the docket with other developers for next Monday&39;s Vermont .NET Users Group meeting where