Last post Jun 24, 2011 10:30 AM by Yannick86
Jun 10, 2011 03:58 PM|dotnetnoob|LINK
Hi All: I just started playing with the dynamic data website template in VS2010. I generated a new website and bound it to a sql dB and it's really cool...a great timesaver!
If I wanted to utilize this as an "admin" area of a website, how would I integrate it? Would I just rename/move "default.aspx" and the master and css pages to an "admin" subdirectory? And then add the public-facing pages into the root of the project?
Or is it better to drag the various files and auto-generated content into an existing website project?
Jun 10, 2011 04:13 PM|XIII|LINK
this Tailspin travel sample shows how to do it:
http://tailspintravel.codeplex.com/SourceControl/changeset/view/53916#815499. They put all of the DD in the /Admin folder and wire it up in the global.asax.cs. Especially the RegisterDynamicData method is interesting. This sample makes use of MVC but it
shows the comcept clearly.
Jun 24, 2011 10:30 AM|Yannick86|LINK
FYI: You can also do it the other way around of course.
I know that you mention DD as an admin area, but ofcourse you could use a DD website and just add your own pages to it by linking to it or adding another menu item in the template menu. I'm currently doing it this way in my own project.
Again: just FYI.