Wrox Home  
Search P2P Archive for: Go

  Return to Index  

aspx thread: RE: ASP+ vs. DTC's?


Message #1 by Wim Hollebrandse <Wim.Hollebrandse@c...> on Mon, 16 Oct 2000 23:44:04 +0100
All,



How would you compare the DTC's (Design Time Controls) -which I

hate;sloooooow- in Visual Interdev with ASP+?



Thanks for any opinions.



Regards,

Wim

Message #2 by Rob Howard <rhoward@m...> on Thu, 19 Oct 2000 08:47:09 -0700
Hi Wim,



DTC's in Visual InterDev 6 basically injected pre-defined code into your ASP

page. They rendered 'hidden' in in source view in the tool, but opening the

source file with a text editor would allow you to edit the 'injected' code.

Once edited the potential existed for the DTC to break once viewed again in

Visual InterDev.



Move to ASP+...



In ASP+ a control is an encapsulated piece of code. When you drag and drop

controls onto a page in Visual Studio.NET you will see a design time view,

but one that only allows you to edit the properties of the control; similar

to Visual Basic today. The source that is added to the page is not managed

by the tool as it is with DTCs, rather, a XML based syntax is used to

declare the control and set the properties. In source view, this would look

something like (pseudo code):



<asp:calendar SelectedDayColor="Blue" View="ByWeek" id=cal1 runat=server/>



As opposed to what the the DTC did (pseudo code):



<!-- MicrosoftDTC

<%

source for dtc

%>

-->



When a request is made for a particular page, ASP+ knows that the namespace

of ASP: and the tag value of calendar map to control that is then rendered

at runtime.



All in all, it's a much more powerful and flexible design. One that works

both with Microsoft tools or any other 3rd party tool that can edit text.

The example above, calendar, is one of the controls that we provide out of

the box. However, we expect (and anticipate) to see many great controls

developed and offered by 3rd parties; much as you have with Visual Basic

today.



Make sense?



Thanks,

Rob



---

Join the ASP+ Discussion List:

<http://www.asplists.com/asplists/aspngbeta.asp>



office  xxx.xxx.xxxx  | cell  xxx.xxx.xxxx  | fax  xxx.xxx.xxxx  (attn: rhoward)





-----Original Message-----

From: Wim Hollebrandse [mailto:Wim.Hollebrandse@c...]

Sent: Monday, October 16, 2000 3:44 PM

To: ASP+

Subject: [aspx] RE: ASP+ vs. DTC's?





All,



How would you compare the DTC's (Design Time Controls) -which I

hate;sloooooow- in Visual Interdev with ASP+?



Thanks for any opinions.



Regards,

Wim




  Return to Index