Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > newbie question - visual studio vs hand coding

Reply
Thread Tools

newbie question - visual studio vs hand coding

 
 
CraigC
Guest
Posts: n/a
 
      02-22-2005
hi,

i'm a classic asp developer who is used to hand coding everything.

is there a performance hit to the code that visual studio produces compared,
especially when connecting to databases ?

i notice that vs inserts large swathes of code into the code behind file
when i drag a table from the server explorer. does this hidden code impact
on performance or is it used purely by vs and discarded before the code is
compiled ?

thanks in advance

craig


 
Reply With Quote
 
 
 
 
Robbe Morris [C# MVP]
Guest
Posts: n/a
 
      02-23-2005
The you see ends up getting compiled. You will find a
considerable speed improvement in .NET (whether you write
it by hand or via Visual Studio .NET) compared to anything
you write in classic ASP.

If you (or your company) will purchase Visual Studio .NET,
get it and use it. If you follow the guidelines and design practices,
your code will be a ton easier to support and extend.

Trust me...

--
2005 Microsoft MVP C#
Robbe Morris
http://www.robbemorris.com
http://www.mastervb.net/home/ng/foru...t10017013.aspx
http://www.eggheadcafe.com/articles/..._generator.asp



"CraigC" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> hi,
>
> i'm a classic asp developer who is used to hand coding everything.
>
> is there a performance hit to the code that visual studio produces
> compared, especially when connecting to databases ?
>
> i notice that vs inserts large swathes of code into the code behind file
> when i drag a table from the server explorer. does this hidden code impact
> on performance or is it used purely by vs and discarded before the code is
> compiled ?
>
> thanks in advance
>
> craig
>



 
Reply With Quote
 
 
 
 
Smithers
Guest
Posts: n/a
 
      02-23-2005
<<The you see ends up getting compiled>>
Not if he is asking about HTML.

As long as you are using VS.NET 2003, you should stick to hand-coding the
static HTML portion of your ASPX pages; that is unless you don't mind that
VS.NET 2003 creates bloated HTML and will periodically rearrange it for you
(a well-known problem). Most developers of non trivial ASPX pages use
FrontPage or Dreamweaver for the HTML portion and VS.NET 2003 for everything
else. Apparently there are claims that VS.NET 2005 does a much better job
with HTML.

-HTH



"Robbe Morris [C# MVP]" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> The you see ends up getting compiled. You will find a
> considerable speed improvement in .NET (whether you write
> it by hand or via Visual Studio .NET) compared to anything
> you write in classic ASP.
>
> If you (or your company) will purchase Visual Studio .NET,
> get it and use it. If you follow the guidelines and design practices,
> your code will be a ton easier to support and extend.
>
> Trust me...
>
> --
> 2005 Microsoft MVP C#
> Robbe Morris
> http://www.robbemorris.com
> http://www.mastervb.net/home/ng/foru...t10017013.aspx
> http://www.eggheadcafe.com/articles/..._generator.asp
>
>
>
> "CraigC" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>> hi,
>>
>> i'm a classic asp developer who is used to hand coding everything.
>>
>> is there a performance hit to the code that visual studio produces
>> compared, especially when connecting to databases ?
>>
>> i notice that vs inserts large swathes of code into the code behind file
>> when i drag a table from the server explorer. does this hidden code
>> impact on performance or is it used purely by vs and discarded before the
>> code is compiled ?
>>
>> thanks in advance
>>
>> craig
>>

>
>



 
Reply With Quote
 
RN
Guest
Posts: n/a
 
      02-23-2005
I do almost all hand-coding and I definitely love have VS2003's editor for
code and debugging (stepping through), although the HTML part of the
interface sucks compared to Dreamweaver.


"CraigC" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> hi,
>
> i'm a classic asp developer who is used to hand coding everything.
>
> is there a performance hit to the code that visual studio produces

compared,
> especially when connecting to databases ?
>
> i notice that vs inserts large swathes of code into the code behind file
> when i drag a table from the server explorer. does this hidden code impact
> on performance or is it used purely by vs and discarded before the code is
> compiled ?
>
> thanks in advance
>
> craig
>
>



 
Reply With Quote
 
Smithers
Guest
Posts: n/a
 
      02-23-2005
OOPS - he was in fact asking about code-behind specifically...


"Smithers" <(E-Mail Removed)> wrote in message
news:%23x%(E-Mail Removed)...
> <<The you see ends up getting compiled>>
> Not if he is asking about HTML.
>
> As long as you are using VS.NET 2003, you should stick to hand-coding the
> static HTML portion of your ASPX pages; that is unless you don't mind that
> VS.NET 2003 creates bloated HTML and will periodically rearrange it for
> you (a well-known problem). Most developers of non trivial ASPX pages use
> FrontPage or Dreamweaver for the HTML portion and VS.NET 2003 for
> everything else. Apparently there are claims that VS.NET 2005 does a much
> better job with HTML.
>
> -HTH
>
>
>
> "Robbe Morris [C# MVP]" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> The you see ends up getting compiled. You will find a
>> considerable speed improvement in .NET (whether you write
>> it by hand or via Visual Studio .NET) compared to anything
>> you write in classic ASP.
>>
>> If you (or your company) will purchase Visual Studio .NET,
>> get it and use it. If you follow the guidelines and design practices,
>> your code will be a ton easier to support and extend.
>>
>> Trust me...
>>
>> --
>> 2005 Microsoft MVP C#
>> Robbe Morris
>> http://www.robbemorris.com
>> http://www.mastervb.net/home/ng/foru...t10017013.aspx
>> http://www.eggheadcafe.com/articles/..._generator.asp
>>
>>
>>
>> "CraigC" <(E-Mail Removed)> wrote in message
>> news:%(E-Mail Removed)...
>>> hi,
>>>
>>> i'm a classic asp developer who is used to hand coding everything.
>>>
>>> is there a performance hit to the code that visual studio produces
>>> compared, especially when connecting to databases ?
>>>
>>> i notice that vs inserts large swathes of code into the code behind file
>>> when i drag a table from the server explorer. does this hidden code
>>> impact on performance or is it used purely by vs and discarded before
>>> the code is compiled ?
>>>
>>> thanks in advance
>>>
>>> craig
>>>

>>
>>

>
>



 
Reply With Quote
 
Kevin Spencer
Guest
Posts: n/a
 
      02-23-2005
I use Visual Studio.Net AND hand-code everything...

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"CraigC" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> hi,
>
> i'm a classic asp developer who is used to hand coding everything.
>
> is there a performance hit to the code that visual studio produces
> compared, especially when connecting to databases ?
>
> i notice that vs inserts large swathes of code into the code behind file
> when i drag a table from the server explorer. does this hidden code impact
> on performance or is it used purely by vs and discarded before the code is
> compiled ?
>
> thanks in advance
>
> craig
>



 
Reply With Quote
 
Craig C
Guest
Posts: n/a
 
      02-23-2005
Thanks for the replies guys.

Kevin, what do you mean - do you hand code EVERYTHING ?

At the moment, I'm worried about the amount of "Web Form Designer
Generated Code" that VS creates in my code behind files - will this have
an impact on the speed of my applications ?

Am I best to stick to VS or learn to code everything manually ?

Thanks

Craig



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
Kevin Spencer
Guest
Posts: n/a
 
      02-23-2005
> Kevin, what do you mean - do you hand code EVERYTHING ?

Pretty much. I don't use the wizards and drag /n Drop tools very much. I do
use the toolbox to put custom controls into. And I do drag 'n Drop them. But
that's just to get the basic syntax. Then I go in and revise the code
generated by hand. And most of the work in my projects is conducted by
business classes, so the pages are pretty lean.

> Am I best to stick to VS or learn to code everything manually ?


I would say both. For one thing, VS.Net has all kinds of helper tools, such
as Intellisense, which I make use of religiously. The Debugger is
irreplaceable. And you can use VS.Net to create your initial code, which you
can then "tweak" by hand. So, i'ts a real productivity booster.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"Craig C" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Thanks for the replies guys.
>
> Kevin, what do you mean - do you hand code EVERYTHING ?
>
> At the moment, I'm worried about the amount of "Web Form Designer
> Generated Code" that VS creates in my code behind files - will this have
> an impact on the speed of my applications ?
>
> Am I best to stick to VS or learn to code everything manually ?
>
> Thanks
>
> Craig
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***
> Don't just participate in USENET...get rewarded for it!



 
Reply With Quote
 
TJS
Guest
Posts: n/a
 
      02-24-2005
I create code by hand and have found that hand coded work is not compatible
with VS and vice versa.
hence microsoft's multiple versions of the portal starter kit (vs and sdk,
for C# and vb).

for me, hand coding is faster.






"CraigC" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> hi,
>
> i'm a classic asp developer who is used to hand coding everything.
>
> is there a performance hit to the code that visual studio produces
> compared, especially when connecting to databases ?
>
> i notice that vs inserts large swathes of code into the code behind file
> when i drag a table from the server explorer. does this hidden code impact
> on performance or is it used purely by vs and discarded before the code is
> compiled ?
>
> thanks in advance
>
> craig
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Visual Studio 2005 complict with Visual Studio 2003 rockdale ASP .Net 1 08-23-2006 07:20 PM
Should I write Visual studio 2005 or Visual studio 2003 MCSD =?Utf-8?B?VmlqYXk=?= Microsoft Certification 14 06-30-2006 09:05 AM
Is Visual Studio Team System and Visual Studio Foundation Server are same?. Thirumalai ASP .Net 0 05-22-2006 08:48 AM
visual studio .net 2003 verses visual studio .net 2002 wh ASP .Net 2 01-16-2004 04:54 PM



Advertisments