Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0LLBLGen ProsLLBLGen Pros
Previous
 
Next
New Post
3/13/2006 11:06 AM
 
Ok, so I'm getting into DNN pretty seriously now. I'd like to use llblgen and I'm wondering what everyone is finding to be the best strategy for development. As an example to compare/contrast, please take a look at this excellent tutorial on CodeProject:

http://www.codeproject.com/aspnet/Creating_A_DNNModule.asp

This outlines how things are done w/ the standard model of development. I changed the following pieces to use LLBL:

1. Use LLBL to generate code, but altered project properties to look for the key: SiteSqlServer in the web.config instead of the default Main.ConnectionString.
2. Removed the GuestBookInfo class and used LLBL's GuestBookEntity instead
3. Added LLBL ref's to solution
4. Altered the code in the DataProvider (abstract and SQL) to accept GuestBookEntity objects instead of the individual properties that comprise the GuestBookEntity where applicable. (Just seemed easier)
5. Altered GuestBookController class to return EntityCollections instead of List<GuestBookInfo>
6. Removed the Object Data Source objects, and went back to old-school databinding.

I have a few concerns about this entire process, the biggest one is unit testing. (This is really a DNN question more than LLBL). Is there a way to test your code when you develop directly in the web project? It seems like developing in external projects would let me test, but would make it a pain to view the modules in the portal. Does anyone have any of their own preferred workflows that they'd like to share?

Bert, if you're reading this, I saw you mentioned on another forum that you had a CodeSmith template that consumed your llbl project file to create your modules. I couldn't find it here, so perhaps if you could post a link?
 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0LLBLGen ProsLLBLGen Pros


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out