Link to home
Start Free TrialLog in
Avatar of Starr Duskk
Starr DuskkFlag for United States of America

asked on

Dynamic Data App_code directory - where is it?

I was creating a new Dynamic Data web site and I noticed that when I go to create my linqtosql class, that it puts it in the root directory, not the app_code. So when I go to create a new asp.net directory, the app_code directory doesn't even show up.

But in the online videos, they are putting it in the app_code.

Where is this and why isn't it there? I am using the 3.5 framework SP1 install of Dynamic Data.

thanks.
Avatar of Dustin Hopkins
Dustin Hopkins
Flag of United States of America image

I'm going to assume you are using vs 2008 or vwd 2008, if this is the case then the app_code directory is not created by default. So you must right click the solution explorer and click "add asp.net folder" and select app_code.

Hope this helps,
Dustin
have you create a web site or a web application? in a web application, it is not important to have the app_code folder as all the code is compiled into a DLL.
Avatar of Starr Duskk

ASKER

I said:
 >>So when I go to create a new asp.net directory, the app_code directory doesn't even show up.

 
emoreau:,
It's a Dynamic Data Web Application. there's only one option, (other than using entities).
I can manually add App_Code, but it doesn't offer it in my asp.net choices.
 
 
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
emoreau is right on this one, sorry I missed that line.