asp.net - Why All .aspx code files will be checked out by changing just one of them? -


it may silly ask question tricky me know technical reason behind, might share me actual reason ;)

why when using visual studio check out single file of files related aspx page (.aspx, .aspx.vb, aspx.designer.vb) in pending changes see files checked out!?

for example small change e.g. attribute in login.aspx in pending changes see login.aspx.vb , login.aspx.designer.vb checked out , when compare them previous version no change can found in them?

to put simply, in visual studio multiple files can represent single 'resource' such form or web page. of these files generated automatically ide, , contain code isn't intended edited manually.

for example, in winforms project, form.vb file contain of methods you're used seeing, , writing code in, while form.designer.vb file has ide generated code declares , positions various controls have been placed on form in designer.

these 2 files represent code same resource (a form), kept separate keep inexperienced programmers making detrimental changes [easily], , keep user generated code cleaner. naturally, though, since merely pieces of whole, editing 1 affects other.

for detailed list of file types in visual studio, have here.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -