+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Can MVC Web API live in same solution as Sitefinity?

Can MVC Web API live in same solution as Sitefinity?

2 posts, 1 answered
  1. Connections Academy Developer
    Connections Academy Developer avatar
    151 posts
    Registered:
    04 May 2005
    26 Apr 2013
    Link to this post
    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!
  2. Connections Academy Developer
    Connections Academy Developer avatar
    151 posts
    Registered:
    04 May 2005
    29 Apr 2013 in reply to Connections Academy Developer
    Link to this post
    Looks like the guys at Falafel solved this one--I was just directed to this blog post from the Sitefinity Developers Google+ group.

    Answered
2 posts, 1 answered