Odd noob question - migrating a working NH model & code to a new project

0 views
Skip to first unread message

bking

unread,
Sep 7, 2010, 10:44:22 AM9/7/10
to S#arp Architecture
I'm probably not going to include enough data to solve this right
away, but I have an odd situation that I just can't figure out. I had
a working 'first attempt' learning project done in S# 1.0, with a
simple model pulling from NH and displaying a set of data in a table.

So, I recently downloaded 1.5 and went about building a new project,
using ViewModels, etc. as I learned more Best Practices. However,
when I attempt to include the old working model, controller & view
along with supporting files in the new project, nothing is returned
via NH. I have thoroughly compared all the files I can think to
compare, and don't see any differences. Being new to this stack and
to the whole 'convention over configuration' world, my old-school
debugging skills seem to yield nothing here, as the code appears to
step the same in both projects with the only difference being that the
old project actually populates the model.

Where oh where to start?

Thanks in advance, and please let me know what else I might need to
supply.

curlyfro

unread,
Sep 7, 2010, 2:15:43 PM9/7/10
to S#arp Architecture
google NHProfiler. NHProfiler is great at figuring out what NH is
doing.

bking

unread,
Sep 7, 2010, 4:53:13 PM9/7/10
to S#arp Architecture
I did go ahead and grab that trial, and it did help me find a self-
inflicted error. A matching file existing in both solutions but was
located in a different project, so FNH wasn't finding any 'documents'
to automap..

Too bad the error was thrown but never consumed inside the
framework. :-s
> > supply.- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages