I am new to EPiServer. I want to get content of the page (page build in EPiServer). I used PageStoreService Webservice, but I am unable to get Credential object for this service. My code is like:
PageStoreService pageContent = new PageStoreService();
pageContent.Credentials = new NetworkCredential("xxx", "xxx");
LanguageSelector selector = new LanguageSelector("en-US");
I am new to EPiServer. I want to get content of the page (page build in EPiServer). I used PageStoreService Webservice, but I am unable to get Credential object for this service. My code is like:
PageStoreService pageContent = new PageStoreService();
pageContent.Credentials = new NetworkCredential("xxx", "xxx");
LanguageSelector selector = new LanguageSelector("en-US");
RawPage page = new RawPage();
page = pageContent.GetPage(new EPiServer.Core.PageReference(423),
selector, EPiServer.Security.AccessLevel.Read);
any idea?