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

what is caching,session? when & what is used mostly in which situtations, how they r implemented in real time? tell with example?

1 Answers   Satyam,


What is x xss protection?

0 Answers  


• What are HttpHandlers? • What are HttpModules?

2 Answers  


Explain the asp.net mvc request life cycle? : asp.net mvc

0 Answers  


Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one?

1 Answers  






What is cached data phone?

0 Answers  


How do you retrieve information from web.config ?

5 Answers   MMTS,


How to compare two strings with out Case sensitive ?

4 Answers   Protech, ProtoTech,


What is the difference between system.stringbuilder and system.string

0 Answers  


What is difference between viewstate and session in asp net?

0 Answers  


Explain Areas in MVC?

0 Answers   B-Ways TecnoSoft,


What is user control in asp.net?

0 Answers  


Categories