Why are there multiple (2) web.config files:
The web.config in the Views directory just has one significant entry, which blocks direct access:
<add path="*" verb="*"
type="System.Web.HttpNotFoundHandler"/>
This is so someone cannot manually try to go to http://www.yoursite.com/views/main/index.aspx
and load the page outside the MVC pipeline.