Sitefinity template parser: What is it?

April 06, 2009 Digital Experience
[This post is part of the developer's manual preview published on this blog. You can find temporary TOC here.]

 

In Sitefinity 3.6 we have introduced embedded control templates. The templates are embedded as resources in the assemblies. In order to use these resources as the actual templates we needed to develop our own custom template parser (due to the technological approach, we could not have used the built-in template parser).

 

The most important thing to note is that Sitefinity template parser is almost identical to the standard ASP.NET template parser and except for the two or three differences they function identically. This of course means that your templates will work interchangeably with both parsers.

 

While this could seem as a completely irrelevant topic, because most of its functionality is deeply hidden and does not concern developers, the subtle differences between the two parsers, as well as some additional features provided by Sitefinity template parser make this topic a worthwhile read.

 

In this topic we will address three main subjects related to the Sitefinity template parser:

  • The differences
    In this article we will see what are the differences between standard ASP.NET template parser and Sitefinity template parse.
  • How to use standard ASP.NET template parser?
    Here, we will explain how do you switch between Sitefinity template parser and built-in ASP.NET template parser.

 

The Progress Team