Starr Duskk
asked on
App_Code directory
In asp.net, in the App_Code directory, is there a way to separate the classes from the datasets?
Can I put in sub directories?
And if I do, how does the application know which directory to find it in?
thanks.
Can I put in sub directories?
And if I do, how does the application know which directory to find it in?
thanks.
ASKER
What about a class sub directory? or sub directories based on class functionality?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
great! thanks!
I'm going to need to test this further.
My posts above are using a "Web Application Project" and everything is accessible and works.
I created a "Web Site" project and it isn't holding true (I'm thinking I need to pre-compile for it to work)...are you using "Web Application" or "Web Site"?
My posts above are using a "Web Application Project" and everything is accessible and works.
I created a "Web Site" project and it isn't holding true (I'm thinking I need to pre-compile for it to work)...are you using "Web Application" or "Web Site"?
ASKER
I created it with New Website and I open it with Open Website, but how would I know otherwise?
It works fine for me.
It works fine for me.
>>And if I do, how does the application know which directory to find it in?
In general, code files in App_Data is either going to be pre-compiled by you or compiled at runtime by .Net.
I'm not quite sure if this holds true for all *.xsd files (regardless of their location), but I was able to create a Datasets folder under the App_Code folder, put a dataset.xsd file into it, and on a page in the root call it and bind it to a grid.