CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Wishes

 .NET Code pattern & Code Behind model

Print topic Send  topic

Author Message
Tuong Do
Posted: 03/14/2005, 7:57 PM

If Asp .NET code patern using code behind model (not the compile model) then
every time we modify a page we can re-publish the page as fast as the Asp
code pattern.

The time taken for republishing a modify page in the ASP .NET code patern
take a lot of time

peterr


Posts: 5971
Posted: 03/15/2005, 1:06 AM

CodeCharge Studio already uses code-behind model. All pages consist of .aspx and code-behind files (aspx.vb or aspx.cs files).
This is probably the only acceptable standard, while "single-file" Web Forms have limited support in Visual Studio. Please refer to http://msdn.microsoft.com/library/default.asp?url=/libr...mscodemodel.asp for more information.
However, code-behind model still requires recompilation since if you change a page then the logic changes as well.
Possibly .NET framework 2.0 will improve the way pages are compiled, we will see.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Tuong Do
Posted: 03/15/2005, 5:28 PM

Code behind model page will be compile when it is first run
Only the includable page is being used as the code behind model

Most of the pages in Codecharge Studio need to be compiled and then deployed
It is similar to the custom control model




"peterr" <peterr@forum.codecharge> wrote in message
news:224236a5af11ae8@news.codecharge.com...
> CodeCharge Studio already uses code-behind model. All pages consist of
> .aspx and
> code-behind files (aspx.vb or aspx.cs files).
> This is probably the only acceptable standard as "single-file" Web Forms
> have
> limited support in Visual Studio. Please refer to
> http://msdn.microsoft.com/library/default.asp?url=/libr...mscodemodel.asp
> for more information.
> However, code-behind model still requires recompilation since if you
> change a
> page then the logic changes as well.
> Possibly .NET framework 2.0 will improve the way pages are compiled, we
> will
> see.
> _________________
> Peter R.
> YesSoftware Forums Moderator
> For product support please visit http://support.yessoftware.com
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

Tuong Do
Posted: 03/15/2005, 5:38 PM

When I mean Code Behind I mean some thing like this

<%@ Page Language="VB" Codebehind="webformchart.aspx.vb"
Src="Webformchart.aspx.vb" ... %>


The src="WebformChart.aspx.vb" will make CCS does not need to compile the
page when deploy

It will speed up development since every time you make change to a page you
will have only to republish the page NOT recompile the whole project.





"peterr" <peterr@forum.codecharge> wrote in message
news:224236a5af11ae8@news.codecharge.com...
> CodeCharge Studio already uses code-behind model. All pages consist of
> .aspx and
> code-behind files (aspx.vb or aspx.cs files).
> This is probably the only acceptable standard as "single-file" Web Forms
> have
> limited support in Visual Studio. Please refer to
> http://msdn.microsoft.com/library/default.asp?url=/libr...mscodemodel.asp
> for more information.
> However, code-behind model still requires recompilation since if you
> change a
> page then the logic changes as well.
> Possibly .NET framework 2.0 will improve the way pages are compiled, we
> will
> see.
> _________________
> Peter R.
> YesSoftware Forums Moderator
> For product support please visit http://support.yessoftware.com
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>


Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.