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
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 |
Answer / raghumadhav tirunagari
inline function bind at compile time can write in aspx page
with in <% %> .
Is This Answer Correct ? | 2 Yes | 1 No |
what is caching,session? when & what is used mostly in which situtations, how they r implemented in real time? tell with example?
What is x xss protection?
• What are HttpHandlers? • What are HttpModules?
Explain the asp.net mvc request life cycle? : asp.net mvc
Where would you use an iHTTPModule, and what are the limitations of any approach you might take in implementing one?
What is cached data phone?
How do you retrieve information from web.config ?
How to compare two strings with out Case sensitive ?
What is the difference between system.stringbuilder and system.string
What is difference between viewstate and session in asp net?
Explain Areas in MVC?
What is user control in asp.net?