c # – Where should I put the code in Web Forms

I am new to the topic so, I tell you that I do not have much practice, I made a folder and within it are my Forms, so I do not know if that's where I should put the code, including my bar menuenter the description of the image here or in the Web Master, I wait and I explained it, by the way I'm new to StackOverflow.