My web parts are created using WebUserControls. For example, you can program all the functionality in a standard asp.net application (ascx, aspx) on a single SharePoint server and then load custom controls in web parts and access aspx pages by copying them into the layouts folder.
source
to share