473,663 Members | 2,838 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Code Behind vs not

I am just trying to decide whether to split my code and uses code behind. I
did it with one of my pages and found it was quite a bit of trouble.

I know that most people (and books and articles) like it because you can
split the code from the design. That is logical. But if you are the only
one working on the code, it seem a little overkill.

I use Dreamweaver to do my design and find it a bit of a hassle to have
multiple files open for each of my pages as I am working on them. I
typically have 3 or 4 pages open at one time that I am working on which
translates into 6-8 files open.

If I add an object to my design page I need to go the codebehind page to
define it there. If I was working with multiple people on a page, I would
need to run over to the person working on the codebehind and tell him to add
the new object to his page.

Things that are assumed on the .aspx page are not assumed on the codebehind
and have to be explicitly defined.

None of this is really talked about when codebehind is mentioned. Normally,
you are told that it is better. Is this the case in all situations?

Just trying to get other opinions on this, as I have already have about 30
pages designed and am trying to decide if I should split the files or not.

Thanks,

Tom
Nov 19 '05
171 7694

"Brian" <Br***@discussi ons.microsoft.c om> wrote in message
news:D8******** *************** ***********@mic rosoft.com...
I think your first mistake is using dreamweaver to develop .net apps, for it has no intrinsic support for code behinds. Dreamweaver is good for html
editing and that'z about it.


Hi,

Sorry to jump in. My newsreader doesn't show the actual thread that led
up to your response -- only the response itself. I'm not the original
poster, just a lurker.

You touched on using DreamWeaver for .NET projects. More and more people
are doing this because the web design UI in VS.NET is horrible compared to
DreamWeaver -- so horrible, in fact, that I too have had to resort to
creating my pages in DreamWeaver and then copying them over to a Visual
Studio environment where I write then write my C# code via code-behind. This
is a real PITA. I'm hoping that the web designer UI in VS2005 will be much
better so that I can ditch DreamWeaver all together.

Larry
Nov 19 '05 #21
"Larry David" <My************ ***@HealthyChoi ce.org> wrote in message
news:TM******** ************@gi ganews.com...

"Brian" <Br***@discussi ons.microsoft.c om> wrote in message
news:D8******** *************** ***********@mic rosoft.com...
I think your first mistake is using dreamweaver to develop .net apps, for it
has no intrinsic support for code behinds. Dreamweaver is good for html
editing and that'z about it.


Hi,

Sorry to jump in. My newsreader doesn't show the actual thread that led
up to your response -- only the response itself. I'm not the original
poster, just a lurker.

You touched on using DreamWeaver for .NET projects. More and more
people
are doing this because the web design UI in VS.NET is horrible compared to
DreamWeaver -- so horrible, in fact, that I too have had to resort to
creating my pages in DreamWeaver and then copying them over to a Visual
Studio environment where I write then write my C# code via code-behind.
This
is a real PITA. I'm hoping that the web designer UI in VS2005 will be much
better so that I can ditch DreamWeaver all together.


But, according to other posts here, VS also won't handle code-inside pages -
which it should !

Even though code behind is the preferred method, VS should be able to handle
both.

Actually, I use DW to do both. I have both pages open (the aspx page and
the code-behind page). When I am handling the objects or the HTML, I just
use switch to the aspx page and if I am working on the Subs, I switch to the
code behind page. DWMX2004 does a decent job of using the asp.net objects.
I have my issues with DW, but at least I can code the way I want and not the
way DW wants me too.

MS apparently won't let you do it your way (sound like a commercial). One
of the problems with them.

IMHO.

Tom
Larry

Nov 19 '05 #22
re:
But, according to other posts here, VS also won't handle code-inside
pages - which it should !
It will, as of VS.NET 2005.

re: Even though code behind is the preferred method, VS should be able to
handle both.
It will, as of VS.NET 2005.

re: MS apparently won't let you do it your way (sound like a commercial). One
of the problems with them.
No more...

They've been listening to people like you. :-)

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=============== ======

"tshad" <ts**********@f tsolutions.com> wrote in message
news:eq******** ******@TK2MSFTN GP09.phx.gbl... "Larry David" <My************ ***@HealthyChoi ce.org> wrote in message
news:TM******** ************@gi ganews.com...

"Brian" <Br***@discussi ons.microsoft.c om> wrote in message
news:D8******** *************** ***********@mic rosoft.com...
I think your first mistake is using dreamweaver to develop .net apps,
for

it
has no intrinsic support for code behinds. Dreamweaver is good for
html
editing and that'z about it.


Hi,

Sorry to jump in. My newsreader doesn't show the actual thread that
led
up to your response -- only the response itself. I'm not the original
poster, just a lurker.

You touched on using DreamWeaver for .NET projects. More and more
people
are doing this because the web design UI in VS.NET is horrible compared
to
DreamWeaver -- so horrible, in fact, that I too have had to resort to
creating my pages in DreamWeaver and then copying them over to a Visual
Studio environment where I write then write my C# code via code-behind.
This
is a real PITA. I'm hoping that the web designer UI in VS2005 will be
much
better so that I can ditch DreamWeaver all together.


But, according to other posts here, VS also won't handle code-inside
pages - which it should !

Even though code behind is the preferred method, VS should be able to
handle both.

Actually, I use DW to do both. I have both pages open (the aspx page and
the code-behind page). When I am handling the objects or the HTML, I just
use switch to the aspx page and if I am working on the Subs, I switch to
the code behind page. DWMX2004 does a decent job of using the asp.net
objects. I have my issues with DW, but at least I can code the way I want
and not the way DW wants me too.

MS apparently won't let you do it your way (sound like a commercial). One
of the problems with them.

IMHO.

Tom

Larry

Nov 19 '05 #23
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:eA******** ******@TK2MSFTN GP12.phx.gbl...
re:
But, according to other posts here, VS also won't handle code-inside
pages - which it should !
It will, as of VS.NET 2005.


I am just getting ready to buy VS 2003. How soon is VS 2005 coming out?

Is it going to be that much better that 2003?

Tom
re:
Even though code behind is the preferred method, VS should be able to
handle both.


It will, as of VS.NET 2005.

re:
MS apparently won't let you do it your way (sound like a commercial).
One of the problems with them.


No more...

They've been listening to people like you. :-)

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=============== ======

"tshad" <ts**********@f tsolutions.com> wrote in message
news:eq******** ******@TK2MSFTN GP09.phx.gbl...
"Larry David" <My************ ***@HealthyChoi ce.org> wrote in message
news:TM******** ************@gi ganews.com...

"Brian" <Br***@discussi ons.microsoft.c om> wrote in message
news:D8******** *************** ***********@mic rosoft.com...
I think your first mistake is using dreamweaver to develop .net apps,
for
it
has no intrinsic support for code behinds. Dreamweaver is good for
html
editing and that'z about it.

Hi,

Sorry to jump in. My newsreader doesn't show the actual thread that
led
up to your response -- only the response itself. I'm not the original
poster, just a lurker.

You touched on using DreamWeaver for .NET projects. More and more
people
are doing this because the web design UI in VS.NET is horrible compared
to
DreamWeaver -- so horrible, in fact, that I too have had to resort to
creating my pages in DreamWeaver and then copying them over to a Visual
Studio environment where I write then write my C# code via code-behind.
This
is a real PITA. I'm hoping that the web designer UI in VS2005 will be
much
better so that I can ditch DreamWeaver all together.


But, according to other posts here, VS also won't handle code-inside
pages - which it should !

Even though code behind is the preferred method, VS should be able to
handle both.

Actually, I use DW to do both. I have both pages open (the aspx page and
the code-behind page). When I am handling the objects or the HTML, I
just use switch to the aspx page and if I am working on the Subs, I
switch to the code behind page. DWMX2004 does a decent job of using the
asp.net objects. I have my issues with DW, but at least I can code the
way I want and not the way DW wants me too.

MS apparently won't let you do it your way (sound like a commercial).
One of the problems with them.

IMHO.

Tom

Larry


Nov 19 '05 #24
re:
How soon is VS 2005 coming out?
Beta 2 should happen sometime in the next month or so,
and product release well before the end of the year,
according to the pundits.

re: Is it going to be that much better that 2003?
Oh, yes...

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=============== ======

"tshad" <ts**********@f tsolutions.com> wrote in message
news:uI******** ********@TK2MSF TNGP12.phx.gbl. .. "Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:eA******** ******@TK2MSFTN GP12.phx.gbl...
re:
But, according to other posts here, VS also won't handle code-inside
pages - which it should !


It will, as of VS.NET 2005.


I am just getting ready to buy VS 2003. How soon is VS 2005 coming out?

Is it going to be that much better that 2003?

Tom

re:
Even though code behind is the preferred method, VS should be able to
handle both.


It will, as of VS.NET 2005.

re:
MS apparently won't let you do it your way (sound like a commercial).
One of the problems with them.


No more...

They've been listening to people like you. :-)

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=============== ======

"tshad" <ts**********@f tsolutions.com> wrote in message
news:eq******** ******@TK2MSFTN GP09.phx.gbl...
"Larry David" <My************ ***@HealthyChoi ce.org> wrote in message
news:TM******** ************@gi ganews.com...

"Brian" <Br***@discussi ons.microsoft.c om> wrote in message
news:D8******** *************** ***********@mic rosoft.com...
> I think your first mistake is using dreamweaver to develop .net apps,
> for
it
> has no intrinsic support for code behinds. Dreamweaver is good for
> html
> editing and that'z about it.

Hi,

Sorry to jump in. My newsreader doesn't show the actual thread that
led
up to your response -- only the response itself. I'm not the original
poster, just a lurker.

You touched on using DreamWeaver for .NET projects. More and more
people
are doing this because the web design UI in VS.NET is horrible compared
to
DreamWeaver -- so horrible, in fact, that I too have had to resort to
creating my pages in DreamWeaver and then copying them over to a Visual
Studio environment where I write then write my C# code via code-behind.
This
is a real PITA. I'm hoping that the web designer UI in VS2005 will be
much
better so that I can ditch DreamWeaver all together.

But, according to other posts here, VS also won't handle code-inside
pages - which it should !

Even though code behind is the preferred method, VS should be able to
handle both.

Actually, I use DW to do both. I have both pages open (the aspx page
and the code-behind page). When I am handling the objects or the HTML,
I just use switch to the aspx page and if I am working on the Subs, I
switch to the code behind page. DWMX2004 does a decent job of using the
asp.net objects. I have my issues with DW, but at least I can code the
way I want and not the way DW wants me too.

MS apparently won't let you do it your way (sound like a commercial).
One of the problems with them.

IMHO.

Tom

Larry



Nov 19 '05 #25
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:Oj******** ******@TK2MSFTN GP10.phx.gbl...
re:
How soon is VS 2005 coming out?
Beta 2 should happen sometime in the next month or so,
and product release well before the end of the year,
according to the pundits.

re:
Is it going to be that much better that 2003?


Oh, yes...


I am just curious because I just got the 60 day trial and don't want to
purchase it if the newer one is going to come out soon and have to pay an
exorbitant upgrade charge.

Tom

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=============== ======

"tshad" <ts**********@f tsolutions.com> wrote in message
news:uI******** ********@TK2MSF TNGP12.phx.gbl. ..
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:eA******** ******@TK2MSFTN GP12.phx.gbl...
re:
But, according to other posts here, VS also won't handle code-inside
pages - which it should !

It will, as of VS.NET 2005.


I am just getting ready to buy VS 2003. How soon is VS 2005 coming out?

Is it going to be that much better that 2003?

Tom

re:
Even though code behind is the preferred method, VS should be able to
handle both.

It will, as of VS.NET 2005.

re:
MS apparently won't let you do it your way (sound like a commercial).
One of the problems with them.

No more...

They've been listening to people like you. :-)

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=============== ======

"tshad" <ts**********@f tsolutions.com> wrote in message
news:eq******** ******@TK2MSFTN GP09.phx.gbl...
"Larry David" <My************ ***@HealthyChoi ce.org> wrote in message
news:TM******** ************@gi ganews.com...
>
> "Brian" <Br***@discussi ons.microsoft.c om> wrote in message
> news:D8******** *************** ***********@mic rosoft.com...
>> I think your first mistake is using dreamweaver to develop .net apps,
>> for
> it
>> has no intrinsic support for code behinds. Dreamweaver is good for
>> html
>> editing and that'z about it.
>
> Hi,
>
> Sorry to jump in. My newsreader doesn't show the actual thread that
> led
> up to your response -- only the response itself. I'm not the original
> poster, just a lurker.
>
> You touched on using DreamWeaver for .NET projects. More and more
> people
> are doing this because the web design UI in VS.NET is horrible
> compared to
> DreamWeaver -- so horrible, in fact, that I too have had to resort to
> creating my pages in DreamWeaver and then copying them over to a
> Visual
> Studio environment where I write then write my C# code via
> code-behind. This
> is a real PITA. I'm hoping that the web designer UI in VS2005 will be
> much
> better so that I can ditch DreamWeaver all together.

But, according to other posts here, VS also won't handle code-inside
pages - which it should !

Even though code behind is the preferred method, VS should be able to
handle both.

Actually, I use DW to do both. I have both pages open (the aspx page
and the code-behind page). When I am handling the objects or the HTML,
I just use switch to the aspx page and if I am working on the Subs, I
switch to the code behind page. DWMX2004 does a decent job of using
the asp.net objects. I have my issues with DW, but at least I can code
the way I want and not the way DW wants me too.

MS apparently won't let you do it your way (sound like a commercial).
One of the problems with them.

IMHO.

Tom
>
> Larry



Nov 19 '05 #26
As usual, there's a lot of speculation about Microsoft
product release dates, particularly with developer products.

The truth is...nobody knows when.

The best estimates about Beta 2 place it anywhere
from one month to two months from now, given that
it was promised by end of Q1.

Then, I'd guess that another 4-6 months before RTM,
and then allow 6-8 weeks for product distribution
( actually making the CD's & DVD's and getting them
out to retailers )

That would place product release at sometime
between 3rd and 4th quarters 2005.

If you can wait... do so.

You might also be able to get an upgrade coupon for 2005
when you purchase 2003. Check with whomever you're
planning to purchase it from.

An alternative is to download/install the betas as they are
released at http://lab.msdn.microsoft.com/express/

The Express products, particularly VWD for web development,
have very similar characteristics to Visual Studio, and you'll be
able to come up to speed with ASP.NET 2.0 before you
purchase Visual Studio, making a faster transition.

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=============== ======

"tshad" <ts**********@f tsolutions.com> wrote in message
news:OV******** *****@TK2MSFTNG P15.phx.gbl...
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:Oj******** ******@TK2MSFTN GP10.phx.gbl...
re:
How soon is VS 2005 coming out?


Beta 2 should happen sometime in the next month or so,
and product release well before the end of the year,
according to the pundits.

re:
Is it going to be that much better that 2003?


Oh, yes...


I am just curious because I just got the 60 day trial and don't want to
purchase it if the newer one is going to come out soon and have to pay an
exorbitant upgrade charge.

Tom

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=============== ======

"tshad" <ts**********@f tsolutions.com> wrote in message
news:uI******** ********@TK2MSF TNGP12.phx.gbl. ..
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:eA******** ******@TK2MSFTN GP12.phx.gbl...
re:
> But, according to other posts here, VS also won't handle code-inside
> pages - which it should !

It will, as of VS.NET 2005.

I am just getting ready to buy VS 2003. How soon is VS 2005 coming out?

Is it going to be that much better that 2003?

Tom

re:
> Even though code behind is the preferred method, VS should be able to
> handle both.

It will, as of VS.NET 2005.

re:
> MS apparently won't let you do it your way (sound like a commercial).
> One of the problems with them.

No more...

They've been listening to people like you. :-)

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=============== ======

"tshad" <ts**********@f tsolutions.com> wrote in message
news:eq******** ******@TK2MSFTN GP09.phx.gbl...
> "Larry David" <My************ ***@HealthyChoi ce.org> wrote in message
> news:TM******** ************@gi ganews.com...
>>
>> "Brian" <Br***@discussi ons.microsoft.c om> wrote in message
>> news:D8******** *************** ***********@mic rosoft.com...
>>> I think your first mistake is using dreamweaver to develop .net
>>> apps, for
>> it
>>> has no intrinsic support for code behinds. Dreamweaver is good for
>>> html
>>> editing and that'z about it.
>>
>> Hi,
>>
>> Sorry to jump in. My newsreader doesn't show the actual thread
>> that led
>> up to your response -- only the response itself. I'm not the original
>> poster, just a lurker.
>>
>> You touched on using DreamWeaver for .NET projects. More and more
>> people
>> are doing this because the web design UI in VS.NET is horrible
>> compared to
>> DreamWeaver -- so horrible, in fact, that I too have had to resort to
>> creating my pages in DreamWeaver and then copying them over to a
>> Visual
>> Studio environment where I write then write my C# code via
>> code-behind. This
>> is a real PITA. I'm hoping that the web designer UI in VS2005 will be
>> much
>> better so that I can ditch DreamWeaver all together.
>
> But, according to other posts here, VS also won't handle code-inside
> pages - which it should !
>
> Even though code behind is the preferred method, VS should be able to
> handle both.
>
> Actually, I use DW to do both. I have both pages open (the aspx page
> and the code-behind page). When I am handling the objects or the
> HTML, I just use switch to the aspx page and if I am working on the
> Subs, I switch to the code behind page. DWMX2004 does a decent job of
> using the asp.net objects. I have my issues with DW, but at least I
> can code the way I want and not the way DW wants me too.
>
> MS apparently won't let you do it your way (sound like a commercial).
> One of the problems with them.
>
> IMHO.
>
> Tom
>>
>> Larry



Nov 19 '05 #27
> I am just trying to decide whether to split my code and uses code behind. I
did it with one of my pages and found it was quite a bit of trouble.
How so?
if you are the only
one working on the code, it seem a little overkill.
I disagree strongly. How is it overkill? Please elucidate.
I use Dreamweaver to do my design and find it a bit of a hassle to have
multiple files open for each of my pages as I am working on them. I
typically have 3 or 4 pages open at one time that I am working on which
translates into 6-8 files open.
How horrible! 6 to 8 open files! Sorry for being facetious, but that's a
very weak reason if one at all.
If I add an object to my design page I need to go the codebehind page to
define it there. If I was working with multiple people on a page, I would
need to run over to the person working on the codebehind and tell him to add
the new object to his page.
I work in a 5 person team on a large site (3 guesses which one) and we never
have this issue. If I'm modifying the page I have it checked out and thus I
add the object to both sides.
Things that are assumed on the .aspx page are not assumed on the codebehind
and have to be explicitly defined.
That's a good thing.
Just trying to get other opinions on this, as I have already have about 30
pages designed and am trying to decide if I should split the files or not.


Yes, you should. Aside from your gripe about multiple open files you
haven't mentioned any reasons which would indicate that code-behind is
inferior in any situation. Code-behind separates data gathering and business
logic from presentation and is INCREDIBLY valuable.

Just to illustrate my point, let's say you are gathering data about
customers for a data table to distribute to your users. If your code is in
the ASPX, then sure, it might be faster to just pull all the data there and
be done with it (although my opinion is that it would take longer. ) What,
then, about when your users want the data in a different format? Say,
instead of a rows/columns datatable, a large detail format depicting each
item in full? Would you copy and paste the ASPX code, reformat, and make a
new copy of your page? If the data later changed, then you now have to
change your data gathering code in two places.

In the same case, were you to have relegated the data gathering to a
codebehind you could have pushed that to its own class, separate from even
the page's codebehind, and simply coded a new ASPX page, included the class,
and bound the data.

Not using codebehind is ignoring one of the largest benefits of the dotNET
architecture, IMHO.
Nov 19 '05 #28
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:uP******** ******@tk2msftn gp13.phx.gbl...
As usual, there's a lot of speculation about Microsoft
product release dates, particularly with developer products.

The truth is...nobody knows when.

The best estimates about Beta 2 place it anywhere
from one month to two months from now, given that
it was promised by end of Q1.

Then, I'd guess that another 4-6 months before RTM,
and then allow 6-8 weeks for product distribution
( actually making the CD's & DVD's and getting them
out to retailers )

That would place product release at sometime
between 3rd and 4th quarters 2005.

If you can wait... do so.

You might also be able to get an upgrade coupon for 2005
when you purchase 2003. Check with whomever you're
planning to purchase it from.

An alternative is to download/install the betas as they are
released at http://lab.msdn.microsoft.com/express/

The Express products, particularly VWD for web development,
have very similar characteristics to Visual Studio, and you'll be
able to come up to speed with ASP.NET 2.0 before you
purchase Visual Studio, making a faster transition.
What are we going to need to do to go to ASP.NET 2.0?

We have our Web Servers on 2000 (IIS 5 - I believe) and 2003 (IIS6).

Is it just an add on or a whole different IIS?

Do we know what the ~timeframe from MS is for 2.0?

Thanks,

Tom
Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=============== ======

"tshad" <ts**********@f tsolutions.com> wrote in message
news:OV******** *****@TK2MSFTNG P15.phx.gbl...
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:Oj******** ******@TK2MSFTN GP10.phx.gbl...
re:
How soon is VS 2005 coming out?

Beta 2 should happen sometime in the next month or so,
and product release well before the end of the year,
according to the pundits.

re:
Is it going to be that much better that 2003?

Oh, yes...


I am just curious because I just got the 60 day trial and don't want to
purchase it if the newer one is going to come out soon and have to pay an
exorbitant upgrade charge.

Tom

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=============== ======

"tshad" <ts**********@f tsolutions.com> wrote in message
news:uI******** ********@TK2MSF TNGP12.phx.gbl. ..
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:eA******** ******@TK2MSFTN GP12.phx.gbl...
> re:
>> But, according to other posts here, VS also won't handle code-inside
>> pages - which it should !
>
> It will, as of VS.NET 2005.

I am just getting ready to buy VS 2003. How soon is VS 2005 coming
out?

Is it going to be that much better that 2003?

Tom
>
> re:
>> Even though code behind is the preferred method, VS should be able to
>> handle both.
>
> It will, as of VS.NET 2005.
>
> re:
>> MS apparently won't let you do it your way (sound like a commercial).
>> One of the problems with them.
>
> No more...
>
> They've been listening to people like you. :-)
>
>
>
> Juan T. Llibre
> ASP.NET MVP
> http://asp.net.do/foros/
> Foros de ASP.NET en Español
> =============== ======
>
> "tshad" <ts**********@f tsolutions.com> wrote in message
> news:eq******** ******@TK2MSFTN GP09.phx.gbl...
>> "Larry David" <My************ ***@HealthyChoi ce.org> wrote in message
>> news:TM******** ************@gi ganews.com...
>>>
>>> "Brian" <Br***@discussi ons.microsoft.c om> wrote in message
>>> news:D8******** *************** ***********@mic rosoft.com...
>>>> I think your first mistake is using dreamweaver to develop .net
>>>> apps, for
>>> it
>>>> has no intrinsic support for code behinds. Dreamweaver is good
>>>> for html
>>>> editing and that'z about it.
>>>
>>> Hi,
>>>
>>> Sorry to jump in. My newsreader doesn't show the actual thread
>>> that led
>>> up to your response -- only the response itself. I'm not the
>>> original
>>> poster, just a lurker.
>>>
>>> You touched on using DreamWeaver for .NET projects. More and more
>>> people
>>> are doing this because the web design UI in VS.NET is horrible
>>> compared to
>>> DreamWeaver -- so horrible, in fact, that I too have had to resort
>>> to
>>> creating my pages in DreamWeaver and then copying them over to a
>>> Visual
>>> Studio environment where I write then write my C# code via
>>> code-behind. This
>>> is a real PITA. I'm hoping that the web designer UI in VS2005 will
>>> be much
>>> better so that I can ditch DreamWeaver all together.
>>
>> But, according to other posts here, VS also won't handle code-inside
>> pages - which it should !
>>
>> Even though code behind is the preferred method, VS should be able to
>> handle both.
>>
>> Actually, I use DW to do both. I have both pages open (the aspx page
>> and the code-behind page). When I am handling the objects or the
>> HTML, I just use switch to the aspx page and if I am working on the
>> Subs, I switch to the code behind page. DWMX2004 does a decent job
>> of using the asp.net objects. I have my issues with DW, but at least
>> I can code the way I want and not the way DW wants me too.
>>
>> MS apparently won't let you do it your way (sound like a commercial).
>> One of the problems with them.
>>
>> IMHO.
>>
>> Tom
>>>
>>> Larry
>
>



Nov 19 '05 #29
re:
What are we going to need to do to go to ASP.NET 2.0?
Is it just an add on or a whole different IIS?
It's just another version of the .NET Framework.

ASP.NET is an ISAPI program which runs against
a particular version of the .NET Framework.

You probably have both version 1.0
and 1.1 on your system now.

After you install .Net Framework 2.0,
you'll be able to run 1.1 apps and 2.0 apps side-by-side.

re: Do we know what the ~timeframe from MS is for 2.0?
Like I said, they promised Beta 2 for before the end of Q1.

They had promised it for last September, though.

I dropped out of a book authoring deal
because the dates kept slipping... ;-)

I'd be very surprised if Q4 2005 came and we still didn't
have a released version of both VS.NET 2005 and .NET 2.0


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=============== ======

"tshad" <ts**********@f tsolutions.com> wrote in message
news:%2******** ********@TK2MSF TNGP14.phx.gbl. .. "Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:uP******** ******@tk2msftn gp13.phx.gbl...
As usual, there's a lot of speculation about Microsoft
product release dates, particularly with developer products.

The truth is...nobody knows when.

The best estimates about Beta 2 place it anywhere
from one month to two months from now, given that
it was promised by end of Q1.

Then, I'd guess that another 4-6 months before RTM,
and then allow 6-8 weeks for product distribution
( actually making the CD's & DVD's and getting them
out to retailers )

That would place product release at sometime
between 3rd and 4th quarters 2005.

If you can wait... do so.

You might also be able to get an upgrade coupon for 2005
when you purchase 2003. Check with whomever you're
planning to purchase it from.

An alternative is to download/install the betas as they are
released at http://lab.msdn.microsoft.com/express/

The Express products, particularly VWD for web development,
have very similar characteristics to Visual Studio, and you'll be
able to come up to speed with ASP.NET 2.0 before you
purchase Visual Studio, making a faster transition.


What are we going to need to do to go to ASP.NET 2.0?

We have our Web Servers on 2000 (IIS 5 - I believe) and 2003 (IIS6).

Is it just an add on or a whole different IIS?

Do we know what the ~timeframe from MS is for 2.0?

Thanks,

Tom

Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=============== ======

"tshad" <ts**********@f tsolutions.com> wrote in message
news:OV******** *****@TK2MSFTNG P15.phx.gbl...
"Juan T. Llibre" <no***********@ nowhere.com> wrote in message
news:Oj******** ******@TK2MSFTN GP10.phx.gbl...
re:
> How soon is VS 2005 coming out?

Beta 2 should happen sometime in the next month or so,
and product release well before the end of the year,
according to the pundits.

re:
> Is it going to be that much better that 2003?

Oh, yes...

I am just curious because I just got the 60 day trial and don't want to
purchase it if the newer one is going to come out soon and have to pay
an exorbitant upgrade charge.

Tom


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
=============== ======

"tshad" <ts**********@f tsolutions.com> wrote in message
news:uI******** ********@TK2MSF TNGP12.phx.gbl. ..
> "Juan T. Llibre" <no***********@ nowhere.com> wrote in message
> news:eA******** ******@TK2MSFTN GP12.phx.gbl...
>> re:
>>> But, according to other posts here, VS also won't handle code-inside
>>> pages - which it should !
>>
>> It will, as of VS.NET 2005.
>
> I am just getting ready to buy VS 2003. How soon is VS 2005 coming
> out?
>
> Is it going to be that much better that 2003?
>
> Tom
>>
>> re:
>>> Even though code behind is the preferred method, VS should be able
>>> to handle both.
>>
>> It will, as of VS.NET 2005.
>>
>> re:
>>> MS apparently won't let you do it your way (sound like a
>>> commercial). One of the problems with them.
>>
>> No more...
>>
>> They've been listening to people like you. :-)
>>
>>
>>
>> Juan T. Llibre
>> ASP.NET MVP
>> http://asp.net.do/foros/
>> Foros de ASP.NET en Español
>> =============== ======
>>
>> "tshad" <ts**********@f tsolutions.com> wrote in message
>> news:eq******** ******@TK2MSFTN GP09.phx.gbl...
>>> "Larry David" <My************ ***@HealthyChoi ce.org> wrote in message
>>> news:TM******** ************@gi ganews.com...
>>>>
>>>> "Brian" <Br***@discussi ons.microsoft.c om> wrote in message
>>>> news:D8******** *************** ***********@mic rosoft.com...
>>>>> I think your first mistake is using dreamweaver to develop .net
>>>>> apps, for
>>>> it
>>>>> has no intrinsic support for code behinds. Dreamweaver is good
>>>>> for html
>>>>> editing and that'z about it.
>>>>
>>>> Hi,
>>>>
>>>> Sorry to jump in. My newsreader doesn't show the actual thread
>>>> that led
>>>> up to your response -- only the response itself. I'm not the
>>>> original
>>>> poster, just a lurker.
>>>>
>>>> You touched on using DreamWeaver for .NET projects. More and
>>>> more people
>>>> are doing this because the web design UI in VS.NET is horrible
>>>> compared to
>>>> DreamWeaver -- so horrible, in fact, that I too have had to resort
>>>> to
>>>> creating my pages in DreamWeaver and then copying them over to a
>>>> Visual
>>>> Studio environment where I write then write my C# code via
>>>> code-behind. This
>>>> is a real PITA. I'm hoping that the web designer UI in VS2005 will
>>>> be much
>>>> better so that I can ditch DreamWeaver all together.
>>>
>>> But, according to other posts here, VS also won't handle code-inside
>>> pages - which it should !
>>>
>>> Even though code behind is the preferred method, VS should be able
>>> to handle both.
>>>
>>> Actually, I use DW to do both. I have both pages open (the aspx
>>> page and the code-behind page). When I am handling the objects or
>>> the HTML, I just use switch to the aspx page and if I am working on
>>> the Subs, I switch to the code behind page. DWMX2004 does a decent
>>> job of using the asp.net objects. I have my issues with DW, but at
>>> least I can code the way I want and not the way DW wants me too.
>>>
>>> MS apparently won't let you do it your way (sound like a
>>> commercial). One of the problems with them.
>>>
>>> IMHO.
>>>
>>> Tom
>>>>
>>>> Larry
>>
>>
>
>



Nov 19 '05 #30

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
36858
by: Richard Dixson | last post by:
I created a new C# web application. Basically all I am trying to do is create a table that consists of a few rows with two columns in each. And then to set those columns to text values from my code behind. However I am not able to do this at all, I am going about this wrong, I think and need guideance. If this was just straight HTML I would do this: <table> <tr><td>field 1</td><td>value 1 set by code behind</td></tr>
6
5502
by: Paolo Pignatelli | last post by:
I have an aspx code behind page that goes something like this in the HTML view: <asp:HyperLink id=HyperLink1 runat="server" NavigateUrl='<%#"mailto:" &amp; DataBinder.Eval(Container.DataItem,"StoreEmail") &amp; "&amp;Subject=" &amp; DataBinder.Eval(Container.DataItem,"ProductName") ....
17
2694
by: tshad | last post by:
Many (if not most) have said that code-behind is best if working in teams - which does seem logical. How do you deal with the flow of the work? I have someone who is good at designing, but know nothing about ASP. He can build the design of the pages in HTML with tables, labels, textboxes etc. But then I would need to change them to ASP.net objects and write the code to make the page work (normally I do this as I go - can't do this...
29
3668
by: John Rivers | last post by:
Hello, What good reason there is for not allowing methods in ASPX pages I can't imagine, but here is how to get around that limitation: (START) <body MS_POSITIONING="FlowLayout"> <form id="Form1" method="post" runat="server"> <%
1
3638
by: Me | last post by:
Hi, I inherited a web application that has several very similar forms for gathering user data. User's must choose the form that best fits their needs and fill it out. Each form has about 15 questions that are the same and a few that are different. The problem is that each form contains duplicate UI code and duplicate code in the code behind to handle these duplicate questions... I know, but I inherited the app.
7
2876
by: Alan Silver | last post by:
Hello, I am just looking at VWD and seeing what needs doing to take an existing site I've written by hand and importing it into VWD. I've already discovered that I need to rename my code-behind files to match the .aspx file name so VWD will tie the two together, and I'm now wondering what to do about the location of the code-behind files. Is there any set convention for where the code-behind files live? I have been putting them in the...
7
1745
by: Alan Silver | last post by:
Hello, I have installed the 2.0 framework, and am looking at converting some of my 1.1 pages to use partial classes. I don't (yet) have VS2005, so I'm doing this by hand, but am having problems. I have a simple page that I made in the beta2 version of VWD. The code behind looks like... using System;
2
3197
by: walter | last post by:
Hi, when I add a new page in my asp.net 2 project and put some controls there, everything works fine until I move the code behind into App_Code folder.--When I compile , it tells me that control "not exist in the current context". I thought putting code behind in App_Code folder is the recommendation for asp.net 2. In order to do so, I just simply remove the codefile attribute in @page. Maybe my perception of putting all code in...
2
4817
by: rn5a | last post by:
Assume that a user control (MyUC.ascx) encapsulates 2 TextBoxes with the IDs 'txt1' & 'txt2' respectively. To use this user control in an ASPX page, the following Register directive will be required: <%@ Register TagPrefix="UC" TagName="MyUserCtrl" Src="MyUC.ascx" %> Assuming that the ASPX page doesn't use a code-behind, I can access the properties, events etc. of the user control in the ASPX page in this way (assume that the ASPX page...
0
8436
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8345
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
8548
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8634
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7371
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5657
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2763
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2000
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.