I have an ASP.NET MVC 3 web application. I am looking to have multiple pages access a common data source, and have that data managed by an admin page. Please tell me the most architecturally correct way to do this, and the easiest way to do this.
I have looked into creating a service for this, and would prefer to use XML as a means to store the data, as there isn't a complicated schema or huge hierarchies of data or large amounts of data.
Do I really need to create a service? Should I? I'm worried because it seems like anyone on the web could possibly access the service I create and add shows to my website... I'm not sure how to secure a service so only the website can talk to it either.
To reiterate: Please tell me the most architecturally correct way to do this, and the easiest way to do this without managing the data (querys or xml mods) directly in the website, but rather through a class, service or other that has methods I define to do it for me.
Please give me your thoughts, and thanks in advance, and help!