Timing is crucial when asking for recommendations. Ideally, you should request them:
After successfully completing a project or delivering a product/service. During networking events when the interaction is still fresh. When launching a new phase of your business and need extra credibility.
Asking at the right moment ensures that the recommendation is both relevant and impactful.