Step 1: Divide the fraction
$\dfrac{x^3+1}{x^2+1}=x-\dfrac{x-1}{x^2+1}$.
Step 2: Take the limit
As $x\rightarrow\infty$, the fraction $\dfrac{x-1}{x^2+1}\rightarrow 0$, so the expression tends to $x-(ax+b)$.
Step 3: Match
For a finite limit $a=1$, and then the limit is $-b=2$, so $b=-2$.
Final Answer:
The constants are a = 1 and b = -2.
\[ \boxed{\text{(C) }a=1,\ b=-2} \]