Describe the difference between inline and code behind.
Answers were Sorted based on User's Feedback
Answer / ramgopal reddy
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.
| Is This Answer Correct ? | 36 Yes | 3 No |
Answer / sudhir kunnure
inline code writing in client side code you can write
server side code to html page in .dot net.if you write all
code on client side adding namspace then it inline code.
if you write seprate code for server side and client side
then server side code is code behind
| Is This Answer Correct ? | 15 Yes | 6 No |
Answer / chauhan rakesh botad
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.
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / lakki
inline code is nothing but the design and code wil be implemented in same html page, where as in code behind the design page is seperated with .aspx file and coding is seperated with .aspx.cs file.
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / khan ashrafeen
Code Behind refers to the code for an ASP.NET Web page that is written in a separate class file that can have the extension of .aspx.cs or .aspx.vb depending on the language used.
Inline Code refers to the code that is written inside an ASP.NET Web Page that has an extension of .aspx
| Is This Answer Correct ? | 1 Yes | 0 No |
How can you get public key information?
How .Net has implemented security for web applications?
You create an ASP.NET application for a hotel. The application contains a page that displays current weather conditions for the city in which the hotel is located. The application calls an XML Web service every 10 minutes to update the current weather conditions. A new page is then displayed for subsequent requests. You want the same page to be cached and retrieved from the cache during the time between calls to the XML Web service. You decide to use a Page directive to accomplish this goal. Which Page directive should you use? A . <%@ Cache Seconds="600 '' VaryByParam="Page" %> B . <%@ OutputCache Time="600" %> C . <%@ OutputCache Duration="600" VaryByParam="None" %> D . <%@ OutputCache Duration="600" %>
how many session modes are available?some brief explnation
How can you display all validation messages in one control?
# What is the transport protocol you use to call a Web service?
How does asp net store session ids by default?
Is asp.net different from asp? If yes, explain how?
Please briefly explain the usage of global.asax?
Explain server control extensibility with reference to asp.net 2.0 ?
What is localhost in asp.net?
why we should use more than one web.config files in our application? I have two web.config files in my application. One in the root directory and another one inside a sub folder. When the application runs which web.config file will run? why?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)