Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Trunk is compatible with MVC RC
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Billy  
View profile  
 More options Feb 10 2009, 12:38 am
From: Billy <wmccaffe...@gmail.com>
Date: Mon, 9 Feb 2009 21:38:42 -0800 (PST)
Local: Tues, Feb 10 2009 12:38 am
Subject: Trunk is compatible with MVC RC
I have checked in an RC compatible version of S#arp Architecture; this
includes updates to the Northwind sample project and the VS project
template.  The trunk/VersionHistory.txt file discusses the changes in
great detail and the upgrade path to it.

The only big change is with the CRUD scaffolding generator which is
now quite a bit more powerful having much more expressive entity and
property describing capabilities.  It now enables you to generate CRUD
scaffolding and not have to mess with the output files at all to get
all passing unit tests, besides creating the table.  Take a look at
the Northwind project's scaffolding generator to check out the new
capabilities.  You can include property attributes, designate which
properties are in the domain signature, provide default values for
unit tests, and have unit tests automatically generated to support
your decisions.

A smaller, but important change is with the VS project template which
now builds in auto-persistence for generated projects.  It includes an
interesting means to override conventions (see the Northwind sample
project for examples) but don't get too attached to it.  James Gregory
of Fluent NHibernate (and on this discussion board) is considering
making some changes to Fluent NHibernate to make it easier to organize
overrides.  After he finalizes that code change, after I check in the
change of entity.ID to entity.Id, and once I update the documentation
to this release, we'll be ready for an RC release package.  (Hopefully
just in time for MVC 1.0!)

Billy McCafferty


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Martin Hornagold  
View profile  
 More options Feb 10 2009, 8:20 am
From: "Martin Hornagold" <Martin.Hornag...@marstangroup.com>
Date: Tue, 10 Feb 2009 13:20:14 -0000
Local: Tues, Feb 10 2009 8:20 am
Subject: RE: Trunk is compatible with MVC RC
Billy,

Thanks for the update.

I was just having a look at the AutoPersistence support and noticed the
magic string lookup on the GetAutoMappingFilter method.

This implementation takes away the need for the magic strings:

private bool GetAutoMappingFilter(Type t)
{
    return t.GetType().GetInterfaces().Any(x =>
              x.IsGenericType &&
              x.GetGenericTypeDefinition() ==
typeof(IEntityWithTypedId<>));

}

taken from:
http://stackoverflow.com/questions/503263/how-to-determine-if-a-type-imp
lements-a-specific-generic-interface-type

Martin


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Billy  
View profile  
 More options Feb 10 2009, 9:28 am
From: Billy <wmccaffe...@gmail.com>
Date: Tue, 10 Feb 2009 06:28:50 -0800 (PST)
Local: Tues, Feb 10 2009 9:28 am
Subject: Re: Trunk is compatible with MVC RC
Thanks Martin!  Magic strings are the spawn of the devil; thanks for
the fix!

Billy

On Feb 10, 6:20 am, "Martin Hornagold"


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Iain Holder  
View profile  
 More options Feb 11 2009, 9:58 am
From: Iain Holder <iain.hol...@gmail.com>
Date: Wed, 11 Feb 2009 14:58:12 +0000
Local: Wed, Feb 11 2009 9:58 am
Subject: Re: Trunk is compatible with MVC RC

As always Billy, nice work.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »