Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi, I wish to return data from database or a class and present to page via JSON or webservice.
So, I create a class and a razor script with JSON.write to output data and put a macro into a template:
<%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %>
<umbraco:Macro Alias="Red/HelpersLib" runat="server"></umbraco:Macro>
I call http://red-web-umbraco/Demo ( Demo is the template name ) but I've 404 error. Why?
Which is the best method to return JSON/Webservice data from a class?
Thanks
Hi,
Seb has some useful ideas on his blog about this including - http://cultiv.nl/blog/2012/1/9/using-areas-in-umbraco-5-to-replace-base/
Jay
Hi, I already read that. Why Have I 404 error?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
JSON data e template
Hi, I wish to return data from database or a class and present to page via JSON or webservice.
So, I create a class and a razor script with JSON.write to output data and put a macro into a template:
<%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %>
<umbraco:Macro Alias="Red/HelpersLib" runat="server"></umbraco:Macro>
I call http://red-web-umbraco/Demo ( Demo is the template name ) but I've 404 error. Why?
Which is the best method to return JSON/Webservice data from a class?
Thanks
Hi,
Seb has some useful ideas on his blog about this including - http://cultiv.nl/blog/2012/1/9/using-areas-in-umbraco-5-to-replace-base/
Jay
Hi, I already read that. Why Have I 404 error?
is working on a reply...