title: Umbraco Page types programmatically(Just like in Episerver)
body: <p>I just started out with Umbraco for my own projects because it is cheap in comparison to Episerver. Coming from the Episerver paradigm of strongly typed Page/block types and doing everything programmatically, i now find it hard to get into Umbraco in the way i hoped to.</p>
  
  <p>I know how to create simple applications but i was hoping to define my Page Types like classes with properties that Umbraco then treats as Pages. My goal is to be able to create a hierarchy of page types where certain pages inherits properties from its parent page etc.</p>
  
  <p>If I have a <code>ArticleListingPage</code> I want to inside of it's controller list all types of article pages. For example if I have a <code>ArticleBasePage</code> with the properties <code>MainBody</code>, <code>Heading</code>, <code>Introduction</code> then I want these to be inherited by <code>ArticlePage</code> and <code>ArticleLongReadPage</code>. Whenever I want to list these I want to search for pages of type <code>&lt;ArticleBasePage&gt;</code> and loop through the collection and render these. I don't like working in the UI I simply want to create a hierarchy of classes(that are pages) just like I would do in Episerver.</p>
  
  <p>Is there any way to do this? Or a guide maybe? I don't like the approach of creating pages in the UI, I want my pages to be of a certain class so I can get the benefits that comes with that</p>