Copied to clipboard

Flag this post as spam?

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


  • kukuwka 75 posts 96 karma points
    Mar 25, 2012 @ 17:07
    kukuwka
    0

    /base return 404 Not Found

    Hi,

    I try to use 'base':

    namespace My.Extensions.Base
    {
        [RestExtension("baseProvider")]
        public class BaseProvider
        {
            [RestExtensionMethod()]
            public static string GetPostsByTag(int tagID, string selected)
            {
                StringBuilder html = new StringBuilder();
                ...
                return html.ToString();
            }
         }
    }

     

    but when I write: http://localhost/base/baseProvider/GetPostsByTag/7/tag

    I get

    "NetworkError: 404 Not Found - http://localhost/base/baseProvider/GetPostsByTag/7/tag"

     

    What am Imissing?

    Thanks,

    kukuwka

     

  • Rodion Novoselov 694 posts 859 karma points
    Mar 26, 2012 @ 11:49
    Rodion Novoselov
    0

    Hi. I'm not much of an expert in umbraco base but since it's a 404 error I suspect that your web.config misses the registration of the base http module (umbraco.presentation.umbracobase.requestModule).

     

  • Niels Henriksen 15 posts 35 karma points
    Apr 12, 2012 @ 17:25
    Niels Henriksen
    0

    Try to use the debug in url. Then you can see excately what Umbraco does

Please Sign in or register to post replies

Write your reply to:

Draft