Composable services with ASP.NET WebApi…sort of

A while ago I had blogged about Service Composition using ServiceStack and MEF. With ServiceStack no longer free, I figured I’d try the same thing using ASP.NET Web Api from Big Mike. The result was…not as good.
Continue reading “Composable services with ASP.NET WebApi…sort of”

Advertisements
Composable services with ASP.NET WebApi…sort of

rendering view as a string

I can’t remember who the original writer of this code was, so forgive me for plagiarizing. As part of a project I’m involved in (see previous post), I needed to output a rendered html partial view so as to append to a div element. Here’s the code that helped me achieve this.

I hope it helps.

rendering view as a string