Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Nhan Pham 14 posts 84 karma points
    Apr 11, 2016 @ 07:10
    Nhan Pham
    0

    Build API without Umbraco API

    I build a website and include WebAPI. But a don't want using Umbraco API controller. How do I can config my website. I want using ASP.NET WebAPI.

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Apr 11, 2016 @ 08:16
    Alex Skrypnyk
    0

    Hi Nhan,

    Why do you want to yse WebAPI ? UmbracoApiController is just ApiController but with Umbraco context, it's great feature.

    Thanks

  • Nhan Pham 14 posts 84 karma points
    Apr 11, 2016 @ 10:10
    Nhan Pham
    0

    Can I change API Url from UmbracoAPI?

    Ex: Change from /Umbraco/Api/[YourControllerName] to /Api/[YourControllerName]

    Because I want to change my API url.

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Apr 11, 2016 @ 10:49
  • Nhan Pham 14 posts 84 karma points
    Apr 12, 2016 @ 03:05
    Nhan Pham
    0

    When I create WebAPI project and I add umbraco from nuget. I rebuild my project it alway show error message "The type or namespace name 'HttpConfiguration' could not be found (are you missing a using directive or an assembly reference?)" in WebApiConfig.cs

    I already add library.

    Do it conflict with umbraco?

    I using umbraco 6.2.6

  • Nhan Pham 14 posts 84 karma points
    Apr 12, 2016 @ 08:05
    Nhan Pham
    0

    I using UmbracoApiController, but it thought error too.

    enter image description here

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Apr 20, 2016 @ 08:46
    Alex Skrypnyk
    0

    Hi Nhan,

    Why did you decide to use Umbraco 6.2.6?

    Thanks

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies