You can easily build your pages using coding style in Visual Studio 2010; Right click on your web project, now you can easily select the page type from Add New Item window and select Place Code in Separate File should not be checked.
Following are some pages in which we can use inline coding options:
- Web Form
- Ajax Web Form
- Master Page
- Ajax Master Page
- Web User Control
Now, by using inline coding Business logic and presentation logic are contained in same page.
Note: Intelligence of inline code is not provided before Visual studio 2005.