Most fruits and vegetables require full sun (6 hours or more) to produce well. But if you're like me, you have lots of shade on your property and therefore you must experiment with your edible-producing plants and push the limits a little.
I have raspberries growing in these raised beds on the patio. They are on the north side of my house and in the shade of large spruce trees (if you read this blog regularly you'll know I have way too many large spruce trees - they are the bane of my existence) so they only get, I don't know, maybe about 3 hours of sun a day. They still produce. They might produce a little more if they got more sun (I haven't done a controlled experiment or anything) but they seem to do just fine here. They are 'Boyne' raspberries which are tried-and-true hardy in Calgary.
I am also lucky enough to have a neighbour who planted Saskatoon shrubs all along the north side of our shared fence many years ago. They're large enough now to reach over the fence so I get some too! Yum! They are also in the shade of - you guessed it - two of my large spruce trees and do just fine, although I expect my neighbour must water them a lot.
On another note, the season seems to be quite condensed this year. I'm still picking strawberries this week and the raspberries have started ripening as well - usually I don't get them at the same time. Other things around the garden seem to be late also.