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.
LVL 2
Starr DuskkASP.NET VB.NET DeveloperAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dustin HopkinsSenior Web DeveloperCommented:
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
0
Éric MoreauSenior .Net ConsultantCommented:
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.
0
Starr DuskkASP.NET VB.NET DeveloperAuthor Commented:
I said:
 >>So when I go to create a new asp.net directory, the app_code directory doesn't even show up.

 
0
OWASP: Avoiding Hacker Tricks

Learn to build secure applications from the mindset of the hacker and avoid being exploited.

Starr DuskkASP.NET VB.NET DeveloperAuthor Commented:
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.
 
 
0
Éric MoreauSenior .Net ConsultantCommented:
again, in a Web Application, it is not required to have the App_Code folder because all the code behind is getting compiled into a DLL.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Dustin HopkinsSenior Web DeveloperCommented:
emoreau is right on this one, sorry I missed that line.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP.NET

From novice to tech pro — start learning today.