|
| Where do the .BAL and .DAL belong while migrating from WebSite to Web Application |
 |
Tue, 15 Jan 2008 19:15:16 +000 |
I am in the process of migrating from WebSite to Web Application Project in
VS2005. In the website Model, I have the following structure.
C:\Website\Test (contains all aspx, aspx.cs files)
C:\Website\Test.BAL
C:\Website\Test.DAL
C:\Website\Test.Errors
C:\Website\Test.TypedDataSets
C:\Website\Test.Utility
While migrating the above to WebApplication, migrating C:\Website\Test is
straight forward. How do I migrate the Test.DAL,Test.BAL,Test.TypedDataSets,etc
to WebApplication?
Thanks.
|
| Post Reply
|
| Re: Where do the .BAL and .DAL belong while migrating from WebSite to Web Application |
 |
Thu, 17 Jan 2008 02:51:45 +000 |
Hi abcxyz,
The class files in your BAL, DAL, Errors, TypedDataSets and Utility folder
needn’t to be migrated. These class files can works in web site project and
web application project as well. We convert the aspx, ascx files because they
have the “designer.cs” file in web application type project.
Something we need to notice is that don’t store the class files in the
“App_Code” folder in Web Application project. In addition, you probably need
to add namespace in each class file. For more information, please refer to the
following link:
Step 4: Converting the Project Files
Step 6: Optionally Adding Namespaces
http://webproject.scottgu.com/CSharp/migration2/migration2.aspx
|
| Post Reply
|
|
|
|
|
|
|
|
|
|