what is the differences between CodeBehind and CodeFill attributes of Page directive

Posted by Udaysimha under ASP.NET on 2/4/2012 | Points: 10 | Views : 991 | Status : [Member] | Replies : 1
Hi All,
Please let me know the differences between CodeBehind and CodeFill attributes of Page directive.

Thanks

uday


Responses

Posted by: Blessyjees on: 2/6/2012 [Member] Bronze | Points: 25

Up
0
Down
Hi,

These two attributes are used to specify the path of the class file of that page.
CodeBehind- This attribute is used for web application projects. It need to complied and this complied file created as a dll and stored in bin folder. We need to compile this file before run
CodeFile- This attribute is used for web site projects. No need to compile this file before run, it just save as a file.

Blessy Baby
Digitalmesh Softech pvt Ltd
https://blessybaby.wordpress.com/

Udaysimha, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response