Blog entries posted during 2007

Override EPiServer url rewrite behavior

by: Ruwen Jin

It is common in database driven web application to use id as parameter in querystring. By default EPiServer will assume that id parameter in querystring is only using by EPiServer and will remove it from Request.QueryString. And the recommend way ... [ Read full article ]

12 December 2007  11 Comments


Using LINQ to read opml

by: Ruwen Jin

I need read opml and translate it to my objects. Instead of work with Xml Document I use System.Xml.Linq :   using System.Xml; using System.Xml.Linq; ... ...   XmlReader reader = new XmlTextReader(opmlUrl); XElement opml = XElement .Load (reader);... [ Read full article ]

05 December 2007  0 Comments


WCF And Syndication

by: Ruwen Jin

With Syndication library it is really easy to read and write rss/atom. Here is some code: using System.ServiceModel.Syndication; ... ...   SyndicationFeed feed = SyndicationFeed .Load (new System .Xml .XmlTextReader (textBox1 .Text )); int i = fee... [ Read full article ]

04 December 2007  0 Comments


WebService and CMS

by: Ruwen Jin

 In Ajax.Net user can call web service through JavaScript. The URL that will take the call is something like: http://myserver/webservices/datafactoryservice.asmx/Ping Normally IIS will take care of parse /Ping to PathInfo. But since CMS is using... [ Read full article ]

07 November 2007  1 Comments


Get URL in EPiServer CMS

by: Ruwen Jin

UrlBuilder ub = new UrlBuilder(UriSupport.Combine(SiteUrl, pageData.StaticLinkURL + "&epslanguage=" + language)); EPiServer.Global.UrlRewriteProvider.ConvertToExternal(ub, pageData.PageLink, System.Text.UTF8Encoding.UTF8); String url =... [ Read full article ]

07 November 2007  0 Comments


One week with EPiServer CMS

by: Ruwen Jin

EPiServer CMS is released. Now it is time to convert some projects. Here is list of things that I need to convert: EPiServer.Global.EPDataFactory is replaced by DataFactory.Instance EPiServer.Global.EPConfig is moved to EPiServer.Configuration.Set... [ Read full article ]

07 November 2007  0 Comments

EPiTrace logger