Describe the difference between inline and code behind - which is best in a loosely coupled solution.

Showing Answers 1 - 8 of 8 Answers

Sridhar

  • Jul 9th, 2005
 

Inline code written along side the html in a page. Code-behind is code written in a separate file and referenced by the .aspx page

  Was this answer useful?  Yes

Takrim Khan

  • Jul 21st, 2005
 

Code - behind doesnt require to deploy source code.  
In -Line ,source code will be visible at production server. 
 
Changes in in-line code can be done directly in the aspx page. 
 
Code-Behind 
In case of changes need to update the dll at the production server. 
null

    [LIST]
  • null
null

  Was this answer useful?  Yes

sambit

  • Apr 13th, 2007
 

In .NET 2.0, with the introduction of partial class, there is no difference in inline coding & code behind as per performance. But in .NET1.1 the code behind file needed to be updated for any modifications. Moreover, in the inline coding model there was no intelligense support.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions