G
Girish
hey all,
im building a asp.net project in vs.net. Is there a way to have the
codebehind files sit in a different folder outside the website folder
altogether?
example:
The aspx files are in this directory
c:\inetput\wwwroot\testapp
the code behind code must be in this directory
c:\projects\testapp\src\com\tietronix\testapp\codebehind
where the namespace is "com.tietronix.testapp.codebehind"
I have tried these steps with no success.
1) changed the namespace in the aspx.cs file to the appropiate one.
2) changed the @page decl to
Page language="c#"
Codebehind="c:\projects\testapp\src\com\tietronix\testapp\codebehind\WebForm
1.aspx.cs" AutoEventWireup="false"
Inherits="com.tietronix.virtualastronaut.codebehind.WebForm1"
If this is possible outside of vs.net using a simple text editor - that
would be great as well.
Since im new to the namespace and codebehind concepts, id really appreciate
it if i could get a example that i was able to see.
thanks in advance for your help!
girish
im building a asp.net project in vs.net. Is there a way to have the
codebehind files sit in a different folder outside the website folder
altogether?
example:
The aspx files are in this directory
c:\inetput\wwwroot\testapp
the code behind code must be in this directory
c:\projects\testapp\src\com\tietronix\testapp\codebehind
where the namespace is "com.tietronix.testapp.codebehind"
I have tried these steps with no success.
1) changed the namespace in the aspx.cs file to the appropiate one.
2) changed the @page decl to
Page language="c#"
Codebehind="c:\projects\testapp\src\com\tietronix\testapp\codebehind\WebForm
1.aspx.cs" AutoEventWireup="false"
Inherits="com.tietronix.virtualastronaut.codebehind.WebForm1"
If this is possible outside of vs.net using a simple text editor - that
would be great as well.
Since im new to the namespace and codebehind concepts, id really appreciate
it if i could get a example that i was able to see.
thanks in advance for your help!
girish