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

Answers were Sorted based on User's Feedback



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

Answer / m.sivakumar

Difference between inline and code behind - which is best?


Answers:
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.



Inline Code:- Inline Code written along side the HTML in a page.

Code Behind:- Code Behind is simply a separate code file linked to your web form or .aspx page. Code is stored in separate file which is identified by a .cs suffix or .vb suffix.

Code Behind is the best.
Because:-
Separation of the content from the code. It is practical to have a designer working on a markup while a programmer writes code.

Is This Answer Correct ?    3 Yes 0 No

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

Answer / raghumadhav tirunagari


inline function bind at compile time can write in aspx page
with in <% %> .

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More ASP.NET Interview Questions

How to do parallel database export in remote SQL Server in ESSL time track. It is working for local server but not working for remote SQL Server

0 Answers   CTPL,


Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?

0 Answers  


What is asp short for?

0 Answers  


Elaborate differentiation between ViewState and SessionState?

0 Answers   QuestPond,


Explain the main function of razor in asp.net? : asp.net mvc

0 Answers  






Explain the difference between debug.write and trace.write?

0 Answers  


Explain what is event bubbling?

0 Answers  


If you are using components in your application, how can you handle exceptions raised in a component?

0 Answers   Accenture,


How do you identify that the page is postback?

0 Answers  


What is application state?

0 Answers  


hi im shailendra singh my question is how we deploye the data base

3 Answers   HCL,


what is the difference b/w Asp.net server controls and html server controls in .net?

2 Answers   iGate, Profiniti Systems,


Categories