This question comes from curiosity. I know that, in general:
$$\lim_{n\to\infty}\frac1n\sum_{k=0}^n f(k/n)=\int_0^1 f(x)\,\mathrm dx\tag1$$
Then I have this expression
$$\lim_{n\to\infty}\frac1{n^2}\sum_{k=1}^nk^{1+\frac1k}\tag2$$
I know, by other methods, that the value of $(2)$ is $1/2$, but Im interested to know if its possible (or someone know how) to transform this Riemann-sum-like in an integral of Riemann for some appropriated $f$.
Indeed Im interested too to know some reference about this topic (if it exists).
You may take a look at Theorem 1 given in A Generalization of Riemann Sums by Omran Kouba. In your case, take $a_k=k^{1/k}$, $f(x)=x$, $\alpha=1$, and $L=1$ (see Showing $ \sum_{k=1}^{n} k^{1/k}\sim n$), then $$\lim_{n\to\infty}\frac1{n^2}\sum_{k=1}^nk^{1+\frac1k}= \lim_{n\to\infty}\frac1{n^{\alpha}}\sum_{k=1}^n f(k/n)a_k=L\int_0^1 \alpha x^{\alpha-1}f(x)\,dx=\int_0^1 xdx=\frac{1}{2}.$$ More generally, by taking $f(x)=x^m$ we have that $$\lim_{n\to\infty}\frac1{n^{m+1}}\sum_{k=1}^nk^{m+\frac1k}= \lim_{n\to\infty}\frac1{n^{\alpha}}\sum_{k=1}^n f(k/n)a_k=L\int_0^1 \alpha x^{\alpha-1}f(x)\,dx=\frac{1}{m+1}.$$