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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Connecting to databaseConnecting to database
Previous
 
Next
New Post
9/26/2012 5:49 AM
 

While connecting to database or creating custom modules we have been asked to add a new folder to App_Code. but to my surprise the App_Code Folder does not exist at all.All the documents for e.g. in http://www.adefwebserver.com/dotnetnukehelp/LinqTutorial/LinqTutorial2.htm  provided speak about this App_Code Folder but i have failed to understand what am i supposed to do as the DNN site File does not have an App_Code Folder. Or if i m missing it can anyone point out to me where can i find it..Otherwise please suggest an alternative for this..

I really need help in this respect because m not getting any help from any of the present documents in this respect. Please help me..

Thanks in advance...

 
New Post
9/26/2012 6:53 AM
 
there should be an /app_code folder in the root of your DNN Installation, please be aware that it won't show up in DNN file manager, which just display subdirectories of /portals folder. if by any chance, folder app_code is missing, you may easily create it yourself.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/27/2012 10:55 AM
 
Papiya,

please be aware that you only need the App_Code folder when you create a WSP (Web Site Project), which is a bit of an out-of-time method to create modules. Search the web for and read the blog entries about DNN module development using WAP (Web Application Project). It makes compilation and distribution of your modules much easier.

Best wishes
Michael

Michael Tobisch
DNN★MVP

dnn-Connect.org - The most vibrant community around the DNN-platform
 
New Post
9/27/2012 9:34 PM
 
I agree with Michael that module development using WAP is the best way to go as opposed to WSP. However, Papiya may be using Entity Framework, Linq to Entities or some other ORM for his database access and thus need to use the App_Code file for his generated entity models.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
9/28/2012 8:09 AM
 
Simply create an /App_Code folder in the root folder of you site and put the files i there.

FWIW since he indicated that he is following a tutorial about linq this does kinda make sense.

And you know - for in house and custom module development - ive yet to actually find a single good reason NOT to use WSP - sure if you are planning on selling your module and want to hide the source code from 3rd parties yes - but there are some serious development upsides to not having to deal with compile cycles while debugging and testing a site.
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...Connecting to databaseConnecting to database


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