tags:

views:

40

answers:

0

I use a homebrewn CMS in my site. The texts in it are used by inserting an html-helper into the view:

<%=Html.CmsEntry("About.Title")%>

The entries of the CMS are stored in SQLServer. I need a way to scan all views in my project and see if all tokens are already in the database.

Is there a way to do this? I already enter an entry into the DB at runtime, when a token is not found, but I need a way to do this without visiting each page. Maybe via reflection?