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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...LinqDataSource in WAP configurationLinqDataSource in WAP configuration
Previous
 
Next
New Post
9/7/2009 10:34 AM
 

Can anyone tell me how to get the LinqdataSource configuration wizard to recognize DataContext classes in a WAP project?  WAP projects have no App_Code folder but the config wizard appears to look in the App_Code folder exclusively for the DataContext classes.  I'm using Visual Web Developer 2008 Express SP1.  The ORM Designer generates the DBML code correctly, but the config wizard doesn't see it.  I've also tried creating a separate assembly for the DBML generated classes and referencing it in the project as the error message implies that that is another possibility, but it won't recognize that either.  Manually creating an App_Code folder in the project doesn't work either (and, yes, I know the App_Code folder is a special folder for dynamic compilation, etc., so I didn't really expect that to work.)

Manually cofiguring the LinqDataSource and the various data controls that use it appears to work (it compiles correctly), but that is really tedious and prone to error.  It would be really nice to be able to use the LinqDataSource config wizard in a WAP project, even if it has to be via a compiled assembly.  I could live with that solution.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...LinqDataSource in WAP configurationLinqDataSource in WAP configuration


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.