Can MVC Web API live in same solution as Sitefinity?

Posted by Community Admin on 03-Aug-2018 19:22

Can MVC Web API live in same solution as Sitefinity?

All Replies

Posted by Community Admin on 26-Apr-2013 00:00

Hi all,

We're developing a web API, and what I'm hoping to do is to have www.mysite.com be our Sitefinity site, and www.mysite.com/api to be the web API. I tried creating a virtual directory to the web API codebase, and making the VD into an application, but I'm getting this error:

Could not load file or assembly 'Telerik.Sitefinity.Analytics.Server.DependencyResolution' or one of its dependencies. The system cannot find the file specified.

I thought none of the Sitefinity code should run in this instance, but apparently I'm not escaping the HttpModules.

Does anyone have any experience with this, or any ideas to make this work? We ideally don't want to release a separate site, such as api.mysite.com, but we will if we have to.

Thanks!

Posted by Community Admin on 29-Apr-2013 00:00

Looks like the guys at Falafel solved this one--I was just directed to this blog post from the Sitefinity Developers Google+ group.

This thread is closed