Step 1: Plan:
Rotate $\hat i+\hat j$ by $90^{\circ}$ and make it a unit vector.
Step 2: Steps:
A vector perpendicular to $\hat i+\hat j$ is $\hat i - \hat j$. Its length is $\sqrt2$, so the unit vector is $\frac{\hat i - \hat j}{\sqrt2}$.
So $a = \frac{1}{\sqrt2}$ and $b = -\frac{1}{\sqrt2}$. The opposite vector (both signs flipped) would also work, but it is not among the options.
Final Answer:
The values are $a=\frac{1}{\sqrt2}$ and $b=-\frac{1}{\sqrt2}$, option (D).
\[ \boxed{a=\frac{1}{\sqrt2},\ b=-\frac{1}{\sqrt2}} \]