Home SubSonic MVC-Storefront

SubSonic 3 Alpha Updated

Many thanks to the folks who downloaded and ran the alpha. As I figured, I missed a few things. The good news is that I’ve fixed them, and 99% of them were with the templates – which is good news because it means that you could have fixed them if you had to :) .

But first – I’d like to say a big HELLO! to all the folks at CodeBetter, because as of today, I will be cross-posting my blog there. Indeed it’s quite an honor and many thanks to Jeremy Miller for inviting me!

Here’s the updated list of bits:

  1. Fixed an SP bug that would result in the command type not getting set properly
  2. Restructured and re-organized the namespacing
  3. Renamed the DLL to SubSonic.Core, rather than SubSonic (forgot to do that earlier)
  4. Fixed up the _Settings.tt template to more accurately convey just WTF it is you’re setting
  5. Fixed a foreign-key naming bug which allowed spaces through
  6. Fixed a bug with self-referencing tables, wherein a child property could wiggle through and end up having the same name as the parent
  7. Fixed a commenting issue in the Repositories, which VS didn’t like

You can download the source, if you like, or grab the download here (DLL plus templates). If you have a question – you can leave a note here or (preferably) ask it here, on our mailing list.

Setup Walkthrough
I was asked on the comments of my last post for a walkthrough – so here it is. Setting up SubSonic 3:

1) Download the bits.

2) Open Zip file, and put on your hard drive somewhere

3) Create a project and add an app/web.config file

4) Add a VALID connection string to your favorite DB

5) Edit the _Settings.tt file, letting it know the name of your connection string and whatever Namespace you want for your generated objects:

setup1

6) Drag the _Generated file into your project – put it where you like

setup2

7) You’re done. Go grab a soda, then start coding.

If you want more information about how to use what’s generated for you, read more here and also read up here.

Many thanks to the folks testing!

Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • DotNetKicks
  • del.icio.us
  • Technorati
  • TwitThis
  • Reddit
  • Slashdot