I’m toying with Windows Azure creating an ASP.NET MVC project, I’ve checked the WAPTK (Windows Azure Platform Training Kit), Google, and here for answers to my question, but I couldn’t find the answer. In an ASP.NET MVC project, in what file do I create containers for cloud storage? (In the WAPTK, there’s a hands-on lab that uses webforms and puts storage containers in the _Default partial class.)
I’m toying with Windows Azure creating an ASP.NET MVC project, I’ve checked the WAPTK
Share
Generally I’d recommend you set up the container access (including the create) in some nicely encapsulated class – preferably hiding behind an interface for easy testability.
I’d recommend:
If in doubt, think of it a bit like “how would I partition up my logic if I was creating folders on a local disk – or on a shared network drive”
Hope that helps a bit.
Stuart