Thursday, March 22, 2012

Web Developer 2005 - Where has all the code gone ?

I see that the code behind is now a partial class. So where is the code
associated with the server controls declaration etc ?

Is this generated on the fly now, or am I missing something ?

--
Goofy"Goofy" <me@dotnet.itags.org.mine.comwrote in message
news:eRUeSUpIHHA.4928@dotnet.itags.org.TK2MSFTNGP06.phx.gbl...

Quote:

Originally Posted by

>I see that the code behind is now a partial class. So where is the code
>associated with the server controls declaration etc ?


It's in the designer.cs files

Quote:

Originally Posted by

Is this generated on the fly now


Yes
OK, so does it create the designer.cs on the fly when you do a build and
then delete it ?

"Mark Rae" <mark@dotnet.itags.org.markNOSPAMrae.comwrote in message
news:%23no$bapIHHA.3312@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

"Goofy" <me@dotnet.itags.org.mine.comwrote in message
news:eRUeSUpIHHA.4928@dotnet.itags.org.TK2MSFTNGP06.phx.gbl...
>

Quote:

Originally Posted by

>>I see that the code behind is now a partial class. So where is the code
>>associated with the server controls declaration etc ?


>
It's in the designer.cs files
>

Quote:

Originally Posted by

>Is this generated on the fly now


>
Yes
>


Server-side controls no longer need to be explicitly declared in your
codebehind class, but you still have complete access to them programmatically.

Fritz Onion's article in MSDN mag explains this:
http://msdn.microsoft.com/msdnmag/i.../ExtremeASPNET/
See Figure 2 and Figure 3 for examples.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Goofy" <me@dotnet.itags.org.mine.comwrote in message news:eRUeSUpIHHA.4928@dotnet.itags.org.TK2MSFTNGP06.phx.gbl...

Quote:

Originally Posted by

>I see that the code behind is now a partial class. So where is the code associated with the server
>controls declaration etc ?
>
Is this generated on the fly now, or am I missing something ?
>
--
Goofy
>


"Goofy" <me@dotnet.itags.org.mine.comwrote in message
news:OYGBjdpIHHA.1468@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

OK, so does it create the designer.cs on the fly when you do a build and
then delete it ?


No - it *creates* the designer.cs file when the aspx and aspx.cs files are
created.

The contents of the designer.cs files is *updated* on the fly...
Mark,

Thanks for the reply. ( Im probably being dumb) but I cant see this file at
all. I have looked in the websites directory where my web site lives on the
local machine, I have also looked in the projects directory, I have checked
my folder options to enusre that its not hiding the files but it aint there.

I also cant find the dll output file either, this is confusing the hell out
of me. !

"Mark Rae" <mark@dotnet.itags.org.markNOSPAMrae.comwrote in message
news:euyVjgpIHHA.536@dotnet.itags.org.TK2MSFTNGP02.phx.gbl...

Quote:

Originally Posted by

"Goofy" <me@dotnet.itags.org.mine.comwrote in message
news:OYGBjdpIHHA.1468@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...
>

Quote:

Originally Posted by

>OK, so does it create the designer.cs on the fly when you do a build and
>then delete it ?


>
No - it *creates* the designer.cs file when the aspx and aspx.cs files are
created.
>
The contents of the designer.cs files is *updated* on the fly...
>


Are you using WAP ( Web Application Projects ) ?
If you're not, you'll never see a *.designer.cs or *.designer.vb file.

The *.designer.cs/vb file is a new file used in Web Application Projects
to contain the code that is generated and maintained by Visual Studio for the page.

You won't find any dll, either, if you don't use WAP,
unless you publish or pre-compile your app.

Again, Fritz Onion's article helps :
http://msdn.microsoft.com/msdnmag/i.../ExtremeASPNET/
Also, this MSDN article:
http://msdn.microsoft.com/library/d...l/internals.asp
giives you the info you need to understand ASP.NET internals.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Goofy" <me@dotnet.itags.org.mine.comwrote in message news:eGsPF0pIHHA.4712@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

Mark,
>
Thanks for the reply. ( Im probably being dumb) but I cant see this file at all. I have looked in
the websites directory where my web site lives on the local machine, I have also looked in the
projects directory, I have checked my folder options to enusre that its not hiding the files but
it aint there.
>
I also cant find the dll output file either, this is confusing the hell out of me. !
>
>
"Mark Rae" <mark@dotnet.itags.org.markNOSPAMrae.comwrote in message news:euyVjgpIHHA.536@dotnet.itags.org.TK2MSFTNGP02.phx.gbl...

Quote:

Originally Posted by

>"Goofy" <me@dotnet.itags.org.mine.comwrote in message news:OYGBjdpIHHA.1468@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...
>>

Quote:

Originally Posted by

>>OK, so does it create the designer.cs on the fly when you do a build and then delete it ?


>>
>No - it *creates* the designer.cs file when the aspx and aspx.cs files are created.
>>
>The contents of the designer.cs files is *updated* on the fly...
>>


>
>


"Goofy" <me@dotnet.itags.org.mine.comwrote in message
news:eGsPF0pIHHA.4712@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

Thanks for the reply. ( Im probably being dumb) but I cant see this file
at all. I have looked in the websites directory where my web site lives on
the local machine, I have also looked in the projects directory, I have
checked my folder options to enusre that its not hiding the files but it
aint there.


Apologies - I assumed you were using Web Application Projects, which creates
the designer files - you clearly aren't, so you won't see them...

Quote:

Originally Posted by

I also cant find the dll output file either, this is confusing the hell
out of me. !


Again, you won't see one if you're not using WAP until you either publish or
precompile your site...
No worries. Im fairly reasonable with VS2003, but I've got a copy of
'Visual Web Developer 2005 Express Edition and Im trying to make sense of
it.

"Mark Rae" <mark@dotnet.itags.org.markNOSPAMrae.comwrote in message
news:OvAGvXqIHHA.2456@dotnet.itags.org.TK2MSFTNGP06.phx.gbl...

Quote:

Originally Posted by

"Goofy" <me@dotnet.itags.org.mine.comwrote in message
news:eGsPF0pIHHA.4712@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...
>

Quote:

Originally Posted by

>Thanks for the reply. ( Im probably being dumb) but I cant see this file
>at all. I have looked in the websites directory where my web site lives
>on the local machine, I have also looked in the projects directory, I
>have checked my folder options to enusre that its not hiding the files
>but it aint there.


>
Apologies - I assumed you were using Web Application Projects, which
creates the designer files - you clearly aren't, so you won't see them...
>

Quote:

Originally Posted by

>I also cant find the dll output file either, this is confusing the hell
>out of me. !


>
Again, you won't see one if you're not using WAP until you either publish
or precompile your site...
>


Is the precompiler available in the express edition >?

"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:uy2rmdpIHHA.4000@dotnet.itags.org.TK2MSFTNGP06.phx.gbl...

Quote:

Originally Posted by

Server-side controls no longer need to be explicitly declared in your
codebehind class, but you still have complete access to them
programmatically.
>
Fritz Onion's article in MSDN mag explains this:
http://msdn.microsoft.com/msdnmag/i.../ExtremeASPNET/
>
See Figure 2 and Figure 3 for examples.
>
>
>
>
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Goofy" <me@dotnet.itags.org.mine.comwrote in message
news:eRUeSUpIHHA.4928@dotnet.itags.org.TK2MSFTNGP06.phx.gbl...

Quote:

Originally Posted by

>>I see that the code behind is now a partial class. So where is the code
>>associated with the server controls declaration etc ?
>>
>Is this generated on the fly now, or am I missing something ?
>>
>--
>Goofy
>>


>
>


"Goofy" <me@dotnet.itags.org.mine.comwrote in message
news:er1BtsqIHHA.3424@dotnet.itags.org.TK2MSFTNGP02.phx.gbl...

Quote:

Originally Posted by

No worries. Im fairly reasonable with VS2003, but I've got a copy of
'Visual Web Developer 2005 Express Edition and Im trying to make sense of
it.


Personally, I absolutely *hated* the changed compilation model in ASP.NET 2,
so was absolutely delighted when WAP was released as an add-in.

It's now fully incorporated into SP1...
To be honest, I was not aware of Web Application Projects. Im only using the
express edition here, and it doesent look like it has WAP on it. (AFAIK).

I managed to compile the entire project using the aspnet_compile ( Just for
fun ) and to see if it worked for me. Seemed to be fine.

So my question is do you know what versions of Visual Web Developer include
WAP and how does it manifest itself as far as the user is concerned ? ( IE
menu options etc )

Sorry to ask so many questions; I am researching as well but a little help
from the experts like yourself and Jaun certainly help things along.

Regards

"Mark Rae" <mark@dotnet.itags.org.markNOSPAMrae.comwrote in message
news:OJS2N%23qIHHA.1276@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

"Goofy" <me@dotnet.itags.org.mine.comwrote in message
news:er1BtsqIHHA.3424@dotnet.itags.org.TK2MSFTNGP02.phx.gbl...
>

Quote:

Originally Posted by

>No worries. Im fairly reasonable with VS2003, but I've got a copy of
>'Visual Web Developer 2005 Express Edition and Im trying to make sense of
>it.


>
Personally, I absolutely *hated* the changed compilation model in ASP.NET
2, so was absolutely delighted when WAP was released as an add-in.
>
It's now fully incorporated into SP1...
>


The precompiler tool isn't a Visual Studio feature.
It's an ASP.NET feature and you'll find it in the .Net 2.0 directory.

So, you *can* use it, but not from within VS 2005 Express's IDE.

There's a blog by Rick Strahl which explains how aspnet_compiler.exe works :
http://west-wind.com/WebLog/posts/2128.aspx
You can also download Rick's free compiler utility,
which provides a front-end for aspnet_compiler.exe :
http://www.west-wind.com/tools/aspnetcompiler.asp
It is *really* helpful!

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Goofy" <me@dotnet.itags.org.mine.comwrote in message news:Oxcjd0qIHHA.1252@dotnet.itags.org.TK2MSFTNGP02.phx.gbl...

Quote:

Originally Posted by

Is the precompiler available in the express edition >?
>
>
"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:uy2rmdpIHHA.4000@dotnet.itags.org.TK2MSFTNGP06.phx.gbl...

Quote:

Originally Posted by

>Server-side controls no longer need to be explicitly declared in your
>codebehind class, but you still have complete access to them programmatically.
>>
>Fritz Onion's article in MSDN mag explains this:
>http://msdn.microsoft.com/msdnmag/i.../ExtremeASPNET/
>>
>See Figure 2 and Figure 3 for examples.
>>
>>
>>
>>
>Juan T. Llibre, asp.net MVP
>asp.net faq : http://asp.net.do/faq/
>foros de asp.net, en espaol : http://asp.net.do/foros/
>===================================
>"Goofy" <me@dotnet.itags.org.mine.comwrote in message news:eRUeSUpIHHA.4928@dotnet.itags.org.TK2MSFTNGP06.phx.gbl...

Quote:

Originally Posted by

>>>I see that the code behind is now a partial class. So where is the code associated with the
>>>server controls declaration etc ?
>>>
>>Is this generated on the fly now, or am I missing something ?
>>>
>>--
>>Goofy
>>>


>>
>>


>
>


I see it does.

"Goofy" <me@dotnet.itags.org.mine.comwrote in message
news:Oxcjd0qIHHA.1252@dotnet.itags.org.TK2MSFTNGP02.phx.gbl...

Quote:

Originally Posted by

Is the precompiler available in the express edition >?
>
>
"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:uy2rmdpIHHA.4000@dotnet.itags.org.TK2MSFTNGP06.phx.gbl...

Quote:

Originally Posted by

>Server-side controls no longer need to be explicitly declared in your
>codebehind class, but you still have complete access to them
>programmatically.
>>
>Fritz Onion's article in MSDN mag explains this:
>http://msdn.microsoft.com/msdnmag/i.../ExtremeASPNET/
>>
>See Figure 2 and Figure 3 for examples.
>>
>>
>>
>>
>Juan T. Llibre, asp.net MVP
>asp.net faq : http://asp.net.do/faq/
>foros de asp.net, en espaol : http://asp.net.do/foros/
>===================================
>"Goofy" <me@dotnet.itags.org.mine.comwrote in message
>news:eRUeSUpIHHA.4928@dotnet.itags.org.TK2MSFTNGP06.phx.gbl...

Quote:

Originally Posted by

>>>I see that the code behind is now a partial class. So where is the code
>>>associated with the server controls declaration etc ?
>>>
>>Is this generated on the fly now, or am I missing something ?
>>>
>>--
>>Goofy
>>>


>>
>>


>
>


Thanks, I found it

"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:OjZLtErIHHA.4928@dotnet.itags.org.TK2MSFTNGP06.phx.gbl...

Quote:

Originally Posted by

The precompiler tool isn't a Visual Studio feature.
It's an ASP.NET feature and you'll find it in the .Net 2.0 directory.
>
So, you *can* use it, but not from within VS 2005 Express's IDE.
>
There's a blog by Rick Strahl which explains how aspnet_compiler.exe works
:
http://west-wind.com/WebLog/posts/2128.aspx
>
You can also download Rick's free compiler utility,
which provides a front-end for aspnet_compiler.exe :
http://www.west-wind.com/tools/aspnetcompiler.asp
>
It is *really* helpful!
>
>
>
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Goofy" <me@dotnet.itags.org.mine.comwrote in message
news:Oxcjd0qIHHA.1252@dotnet.itags.org.TK2MSFTNGP02.phx.gbl...

Quote:

Originally Posted by

>Is the precompiler available in the express edition >?
>>
>>
>"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
>news:uy2rmdpIHHA.4000@dotnet.itags.org.TK2MSFTNGP06.phx.gbl...

Quote:

Originally Posted by

>>Server-side controls no longer need to be explicitly declared in your
>>codebehind class, but you still have complete access to them
>>programmatically.
>>>
>>Fritz Onion's article in MSDN mag explains this:
>>http://msdn.microsoft.com/msdnmag/i.../ExtremeASPNET/
>>>
>>See Figure 2 and Figure 3 for examples.
>>>
>>>
>>>
>>>
>>Juan T. Llibre, asp.net MVP
>>asp.net faq : http://asp.net.do/faq/
>>foros de asp.net, en espaol : http://asp.net.do/foros/
>>===================================
>>"Goofy" <me@dotnet.itags.org.mine.comwrote in message
>>news:eRUeSUpIHHA.4928@dotnet.itags.org.TK2MSFTNGP06.phx.gbl...
>>>>I see that the code behind is now a partial class. So where is the code
>>>>associated with the server controls declaration etc ?
>>>>
>>>Is this generated on the fly now, or am I missing something ?
>>>>
>>>--
>>>Goofy
>>>>
>>>
>>>


>>
>>


>
>


re:

Quote:

Originally Posted by

what versions of Visual Web Developer include WAP


WAP only works with Visual Studio 2005, not VWD Express.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Goofy" <me@dotnet.itags.org.mine.comwrote in message news:uGOlpErIHHA.3312@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

To be honest, I was not aware of Web Application Projects. Im only using the express edition here,
and it doesent look like it has WAP on it. (AFAIK).
>
I managed to compile the entire project using the aspnet_compile ( Just for fun ) and to see if it
worked for me. Seemed to be fine.
>
So my question is do you know what versions of Visual Web Developer include WAP and how does it
manifest itself as far as the user is concerned ? ( IE menu options etc )
>
Sorry to ask so many questions; I am researching as well but a little help from the experts like
yourself and Juan certainly help things along.
>
Regards
>
>
"Mark Rae" <mark@dotnet.itags.org.markNOSPAMrae.comwrote in message
news:OJS2N%23qIHHA.1276@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

>"Goofy" <me@dotnet.itags.org.mine.comwrote in message news:er1BtsqIHHA.3424@dotnet.itags.org.TK2MSFTNGP02.phx.gbl...
>>

Quote:

Originally Posted by

>>No worries. Im fairly reasonable with VS2003, but I've got a copy of 'Visual Web Developer 2005
>>Express Edition and Im trying to make sense of it.


>>
>Personally, I absolutely *hated* the changed compilation model in ASP.NET 2, so was absolutely
>delighted when WAP was released as an add-in.
>>
>It's now fully incorporated into SP1...
>>


>
>


Thank you very much.

"Goofy" <me@dotnet.itags.org.mine.comwrote in message
news:uGOlpErIHHA.3312@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

To be honest, I was not aware of Web Application Projects. Im only using
the express edition here, and it doesent look like it has WAP on it.
(AFAIK).
>
I managed to compile the entire project using the aspnet_compile ( Just
for fun ) and to see if it worked for me. Seemed to be fine.
>
So my question is do you know what versions of Visual Web Developer
include WAP and how does it manifest itself as far as the user is
concerned ? ( IE menu options etc )
>
Sorry to ask so many questions; I am researching as well but a little help
from the experts like yourself and Jaun certainly help things along.
>
Regards
>
>
"Mark Rae" <mark@dotnet.itags.org.markNOSPAMrae.comwrote in message
news:OJS2N%23qIHHA.1276@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

>"Goofy" <me@dotnet.itags.org.mine.comwrote in message
>news:er1BtsqIHHA.3424@dotnet.itags.org.TK2MSFTNGP02.phx.gbl...
>>

Quote:

Originally Posted by

>>No worries. Im fairly reasonable with VS2003, but I've got a copy of
>>'Visual Web Developer 2005 Express Edition and Im trying to make sense
>>of it.


>>
>Personally, I absolutely *hated* the changed compilation model in ASP.NET
>2, so was absolutely delighted when WAP was released as an add-in.
>>
>It's now fully incorporated into SP1...
>>


>
>


Does that include the Standard Edition ?

"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:eP4dJHrIHHA.1064@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

re:

Quote:

Originally Posted by

>what versions of Visual Web Developer include WAP


>
WAP only works with Visual Studio 2005, not VWD Express.
>
>
>
>
>
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Goofy" <me@dotnet.itags.org.mine.comwrote in message
news:uGOlpErIHHA.3312@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

>To be honest, I was not aware of Web Application Projects. Im only using
>the express edition here, and it doesent look like it has WAP on it.
>(AFAIK).
>>
>I managed to compile the entire project using the aspnet_compile ( Just
>for fun ) and to see if it worked for me. Seemed to be fine.
>>
>So my question is do you know what versions of Visual Web Developer
>include WAP and how does it manifest itself as far as the user is
>concerned ? ( IE menu options etc )
>>
>Sorry to ask so many questions; I am researching as well but a little
>help from the experts like yourself and Juan certainly help things along.
>>
>Regards
>>
>>
>"Mark Rae" <mark@dotnet.itags.org.markNOSPAMrae.comwrote in message
>news:OJS2N%23qIHHA.1276@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

>>"Goofy" <me@dotnet.itags.org.mine.comwrote in message
>>news:er1BtsqIHHA.3424@dotnet.itags.org.TK2MSFTNGP02.phx.gbl...
>>>
>>>No worries. Im fairly reasonable with VS2003, but I've got a copy of
>>>'Visual Web Developer 2005 Express Edition and Im trying to make sense
>>>of it.
>>>
>>Personally, I absolutely *hated* the changed compilation model in
>>ASP.NET 2, so was absolutely delighted when WAP was released as an
>>add-in.
>>>
>>It's now fully incorporated into SP1...
>>>


>>
>>


>
>


"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:OjZLtErIHHA.4928@dotnet.itags.org.TK2MSFTNGP06.phx.gbl...

Quote:

Originally Posted by

It is *really* helpful!


I'll second that.
The standard edition of VS 2005 is "Visual Studio 2005".

WAP, when it's installed, can modify VS 2005's user interface,
so its options are available in the VS IDE, but can't modify VWD's UI.

Therefore, it's only VWD *Express* which can't use WAP.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Goofy" <me@dotnet.itags.org.mine.comwrote in message news:%23X$cWMrIHHA.3312@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

Does that include the Standard Edition ?


Quote:

Originally Posted by

"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:eP4dJHrIHHA.1064@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

>re:

Quote:

Originally Posted by

>>what versions of Visual Web Developer include WAP


>>
>WAP only works with Visual Studio 2005, not VWD Express.
>>
>>
>Juan T. Llibre, asp.net MVP
>asp.net faq : http://asp.net.do/faq/
>foros de asp.net, en espaol : http://asp.net.do/foros/
>===================================
>"Goofy" <me@dotnet.itags.org.mine.comwrote in message news:uGOlpErIHHA.3312@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

>>To be honest, I was not aware of Web Application Projects. Im only using the express edition
>>here, and it doesent look like it has WAP on it. (AFAIK).
>>>
>>I managed to compile the entire project using the aspnet_compile ( Just for fun ) and to see if
>>it worked for me. Seemed to be fine.
>>>
>>So my question is do you know what versions of Visual Web Developer include WAP and how does it
>>manifest itself as far as the user is concerned ? ( IE menu options etc )
>>>
>>Sorry to ask so many questions; I am researching as well but a little help from the experts like
>>yourself and Juan certainly help things along.
>>>
>>Regards
>>>
>>>
>>"Mark Rae" <mark@dotnet.itags.org.markNOSPAMrae.comwrote in message
>>news:OJS2N%23qIHHA.1276@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...
>>>"Goofy" <me@dotnet.itags.org.mine.comwrote in message news:er1BtsqIHHA.3424@dotnet.itags.org.TK2MSFTNGP02.phx.gbl...
>>>>
>>>>No worries. Im fairly reasonable with VS2003, but I've got a copy of 'Visual Web Developer
>>>>2005 Express Edition and Im trying to make sense of it.
>>>>
>>>Personally, I absolutely *hated* the changed compilation model in ASP.NET 2, so was absolutely
>>>delighted when WAP was released as an add-in.
>>>>
>>>It's now fully incorporated into SP1...
>>>>
>>>
>>>


>>
>>


>
>


OK, Thanks

And by the way, those articles were pretty good, so thanks for those URL's

Regards - G

"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:urnBRdrIHHA.2236@dotnet.itags.org.TK2MSFTNGP02.phx.gbl...

Quote:

Originally Posted by

The standard edition of VS 2005 is "Visual Studio 2005".
>
WAP, when it's installed, can modify VS 2005's user interface,
so its options are available in the VS IDE, but can't modify VWD's UI.
>
Therefore, it's only VWD *Express* which can't use WAP.
>
>
>
>
Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"Goofy" <me@dotnet.itags.org.mine.comwrote in message
news:%23X$cWMrIHHA.3312@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

>Does that include the Standard Edition ?


>

Quote:

Originally Posted by

>"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
>news:eP4dJHrIHHA.1064@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

>>re:
>>>what versions of Visual Web Developer include WAP
>>>
>>WAP only works with Visual Studio 2005, not VWD Express.
>>>
>>>
>>Juan T. Llibre, asp.net MVP
>>asp.net faq : http://asp.net.do/faq/
>>foros de asp.net, en espaol : http://asp.net.do/foros/
>>===================================
>>"Goofy" <me@dotnet.itags.org.mine.comwrote in message
>>news:uGOlpErIHHA.3312@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...
>>>To be honest, I was not aware of Web Application Projects. Im only
>>>using the express edition here, and it doesent look like it has WAP on
>>>it. (AFAIK).
>>>>
>>>I managed to compile the entire project using the aspnet_compile ( Just
>>>for fun ) and to see if it worked for me. Seemed to be fine.
>>>>
>>>So my question is do you know what versions of Visual Web Developer
>>>include WAP and how does it manifest itself as far as the user is
>>>concerned ? ( IE menu options etc )
>>>>
>>>Sorry to ask so many questions; I am researching as well but a little
>>>help from the experts like yourself and Juan certainly help things
>>>along.
>>>>
>>>Regards
>>>>
>>>>
>>>"Mark Rae" <mark@dotnet.itags.org.markNOSPAMrae.comwrote in message
>>>news:OJS2N%23qIHHA.1276@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...
>>>>"Goofy" <me@dotnet.itags.org.mine.comwrote in message
>>>>news:er1BtsqIHHA.3424@dotnet.itags.org.TK2MSFTNGP02.phx.gbl...
>>>>>
>>>>>No worries. Im fairly reasonable with VS2003, but I've got a copy of
>>>>>'Visual Web Developer 2005 Express Edition and Im trying to make
>>>>>sense of it.
>>>>>
>>>>Personally, I absolutely *hated* the changed compilation model in
>>>>ASP.NET 2, so was absolutely delighted when WAP was released as an
>>>>add-in.
>>>>>
>>>>It's now fully incorporated into SP1...
>>>>>
>>>>
>>>>
>>>
>>>


>>
>>


>
>


in the aspx page, just like in version 1.

in version 1, the aspx page inherited from the codebehind. in this case
the aspx could see and public or protected variables from the
codebehind, but the codebehind could not see any aspx variables. to
allow the codebehind to acces controls in the aspx page, they were
declared in the codebehind as protected, and inheritied by the aspx page.

the difference in version 2, is with partial classes, the codebehind and
the aspx code are like one source file (though they can be different
languages), so they can see each others variables. thus the declaring
controls as protected and hooking events is not needed.

-- bruce (sqlwork.com)

Goofy wrote:

Quote:

Originally Posted by

I see that the code behind is now a partial class. So where is the code
associated with the server controls declaration etc ?
>
Is this generated on the fly now, or am I missing something ?
>

0 comments:

Post a Comment