Hi,
First thing: your REST Store name is mismatch. [RestStore("DemoStore")] in C# code and this._getRestPath("demostore") in JS code is not matched (case sensitive).
Second thing: is your moduleArea: "demoapp" matchs the addon name? Is your addon demoapp.dll?
Hope this help.
T.
Hello,
I've try to create sample add-on which has a rest store, but whenever my add-on try to access rest store, it return 404 in url
RestStore code:
JS code:
The url giving 404 is:
http://localsite:17000/modules/demoapp/Stores/demostore/?demoId=10199%3A92DA48D3-85C3-4655-9372-875144985373&dojo.preventCache=1420714488950
I've tried to search for documentation but no luck. Any help is much appriciate!