Raspberries like fertile, well drained soil in a sunny spot. They will tolerate shading but you're unlikely to get as much fruit as raspberries growing in full sun. Summer-fruiting raspberries will need supporting by a fence, wall or other type of framework as they can grow to 1.5m tall. Autumn-fruiting raspberries are normally fine without a support.
Raspberries are an excellent crop to grow as once established they will crop heavily, producing up to 1.5kg (over 3lbs) of fruit per cane for 10 years or more.