What?s the difference between Codebehind="MyCode.aspx.cs"
andSrc="MyCode.aspx.cs"?
Answers were Sorted based on User's Feedback
Answer / guest
CodeBehind is relevant to Visual Studio.NET only
| Is This Answer Correct ? | 17 Yes | 2 No |
Answer / gautam
CodeBehind is relevant to Visual Studio.NET only
| Is This Answer Correct ? | 8 Yes | 1 No |
Answer / duryodhan
code behind is created through assembly that's defined in bin
folder and src is definded in outward of bin folder that is not making dll and .exe file.
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / sundherrajan
Code All build Assembly is placed inside the bin folder
Src the source cs file/vb fiel is placed in the source
folder and the source file is complied and assembly is
placed inside bin folder during runtime of the aspx page
| Is This Answer Correct ? | 9 Yes | 6 No |
Answer / venkat
Visual Studio uses the Code behind attribute to distinguish the page source or programming logic from the design. Also the src attribute will make the page compile on every request. That is the page will not be compiled in advance and stored in the bin as a dll instead it will be compiled at run time.
| Is This Answer Correct ? | 0 Yes | 0 No |
How can you apply a theme to your asp.net application?
What are the media types of http requests and response?
What is the use of session in web application?
What is web api config?
what is SAP fullform
161 Answers A3Logics, Amazon, DFD, Federal Mogul, Hol Info, IBM, Infosys, Jai Ganesh, Kesri Metal, Lupin, Microsoft, RPG, SAP Labs, SRS Group, TCS, Videocon,
What is a web api? Which protocol is used in a web api?
What are the new features added from ASP to ASP.NET?
what is SQL cache Invalidation?
How To Call Outside Javascript File? Example : Our Project File Folder Name "Sample" Another Folder Name "Check".Check Folder Is Out Side Of Our Project ?Check Folder Have Verify.Js File. My Question Is How To Call Verify.Js File.
3 Answers Consagous, Phoenix Technologies,
Distinguish between Server-side and Client-side code?
What is an il?
Write a standard lock() plus double check to create a critical section around a variable access?
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)