The easiest way to map Sitecore data to code.

Glass.Mapper.Sc allows you to move your data from Sitecore and into your code seamlessly using strongly typed objects.

The framework allows you to map data on to c# classes and interfaces without any additional mark-up. As the data is mapped to your target objects it is converted to the target type. Take a look at this simple example:

    public class Demo
        public virtual Guid Id { get; set; }

        public virtual string Title { get; set; }

        public virtual DateTime Date { get; set; }

        public virtual string Url { get; set; }
    public class DemoController : Controller {
       public ActionResult Index(){
          var mvcContext = new MvcContext();
          var model = mvcContext.GetCurrentItem();
          var url = model.Url;
          return View(model);

 To find out more about how to use Glass.Mapper.Sc view the free lectures from our Training Course.

Glass.Mapper is supported by Hedgehog Development.

More > >