To the west of Aarau is the canton of Solothurn .
The municipality borders directly on the Canton of Solothurn to the west .