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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...WAP project with LINQ - canWAP project with LINQ - can't seem to run project in DesktopModules/Module folder
Previous
 
Next
New Post
3/13/2009 8:29 AM
 

This will work.

Normally I use the WSP model but I have a special situation where I need to make the LINQ .dbml class visable among multiple projects (because we have multiple developer's) and I need a assembly in the bin directory. With the WSP model a class in te APP_Code folder may not be "compiled in time" so other projects cannot see it's classes.

Anyway I made a WAP project that creates a web.config in it's project. I set debug to "true" in both the DNN Web.config and the web.config in the WAP project.

I set the Linq .dbml class to get it's connection info from the "SiteSqlServer" key.

Make sure you specify that the project will build into the "/bin" directly of the DotNetNuke website.

I call the assembly from a WSP module. When a set a break point in the Linq WAP project my break points are hit.

Now perhaps this works for me because I still make the main module a WSP module.

If you want to see a module that uses this set-up see the DotNetNuke version of http://SilverlightDesktop.net



Michael Washington
http://ADefWebserver.com
www.ADefHelpDesk.com
A Free Open Source DotNetNuke Help Desk Module
 
New Post
3/19/2009 8:32 PM
 

Guys, what about not wanting to use LINQ?

I have numerous modules that don't use link, developed using the WAP framework in VS2005.
These ned to be ported over to VS2008 and I want to keep using the WAP framework/model/method/what-ever-you-may-call-it...

Any tips and pointers would go a long way.

Thanks

 
New Post
3/19/2009 9:09 PM
 

Lindsay,

first, please be aware, that there are multiple implementations of LINQ, latest is LINQ to Entities (though LINQ2SQL is ... still supported).

In general, Microsoft is focusing on ORM solutions - which would have significant advantages for DNN as well, especially the option to become datastore agnostic. I expect, there will happen a lot within the next year or two...

Unfortunately, this is not a satisfying answer to the question, what to do now :( 


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
3/20/2009 11:25 AM
 

Thanks for the response Seb.

Right now, all I'd like to do is port my modules over to VS2008 and continue in a WAP environment. Once I get more knowledge AND time to gain said knowledge of LINQ and related emerging technicalities/methodologies, I will redevelope/upgrade modules to that.

I don't want to be forced to use LINQ and work outside of WAP for my development purposes as I have a lot of time invested in that.

BUT, as you say, what to do NOW?

Any other ideas? ANYONE?

How to setup a WAP project in VS2008 to develop a module WITHOUT using LINQ....?

 

 
New Post
3/23/2009 6:22 AM
 

Lindsay - if this is any use ...

I only find I have to store my WAP module project outside DNN if the project targets ASP.NET 3.5 features (like LINQ). It is only then that VS creates a web.config file in the project folder. If the project can just target the 2.0 framework, it can be safely stored in a DesktopModules folder.

Not a useful tip if you want to use VS 2008 for the new features though ....

Off topic Q - is anyone getting email notifications of thread updates on these forums? It seems they were turned off months & months ago and never re-enabled.

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...WAP project with LINQ - canWAP project with LINQ - can't seem to run project in DesktopModules/Module folder


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