My apologies, I got list in the pressure cooker of ES2007.
A minor item - I'm not sure where you're keeping the esDataSource
configuration (assembly, entity, and columns). Does it make sense to
add them as properties, which are configurable in the control
definition in the ascx/aspx? It might save a little time if you're
adding a bunch of datasources (I created a userControl the other day
with a number of drodownlists) if you could just type in another entity
and it would be nice not to have to re-pick the Assembly.
This ability didn't make it into ES2007, however it is my plan to have this in our follow on release in early July. I know, it's really needed. It could be that we put these in the control definition. That's a great idea really, this way defining an esDataSource in pure html would be very easy. I think that is exactly how I'll do it.
Looking for advice here - I've been using file-based web development with DotNetNuke. After reading http://community.entityspaces.net/forums/thread/1125.aspx I was wondering - should I move to webprojects?
It sure makes it easier to use the esDataSource, even easier if your business objects (Generated and Custom) are in their own assembly. However, it's possible to do even in the file based approach, it's just a little more difficult. I think Scott told me a few weeks ago he's using the solution based projects now for everything he does.
If all of the modules use the DotNetNuke SQL Server Database, there's
no reason not to use the default ES connection that I've always had in
web.config, correct?
Yes, if you're running your own DNN site that's exactly how I'd do it. However, if you're doing commerical dnn modules we strongly recommend configless registration. Did you notice the new ability in ES2007 to point to an existing connection string in the standard windows connectionString area? You could use that as well to pull the existing DNN connection I think and not have the connection string in their twice, but Scott is really our DNN guru. It should work however just fine.
I wonder if anyone is keeping an eye on "Orcas"?
Yes, we'll have some blog posts on this soon, wait for those, a big topic.
I might also try testing with the treeview once hierarchical support is added.
Hierarchical binding is one of the big features coming in a follow on ES2007 release, that and the persistent esDataSource mappings mentioned in the first item above. It really is pretty simple for us to do at this point.
For the medium trust loader, is there any reason not to simply add the
following code to Application_Start in Global.asax.vb (which comes with
DotNetNuke):
Yes, again, if your developing your own site like we do for our ES site then yes, it would make it very easy just to add it in here and forget about it.
I hope that helps, if you have follow ups feel free to ask, I can alert Scott to this post too, he's our DNN guru and can probably shed more light ...
EntitySpaces |
Twitter |
BLOG | Please honor our Software License