I am building an asp.net mvc 1.0 application using the spark view engine. I am using ASP membership and my data layer is an ORM mapper called LLBLGenPro on top of mssql server.
I've been reading lots of information about soap and rest approaches and will need to have a combination of both as I am dealing with some sensitive data.
My thoughts are to go with a WFC service layer but I'm not sure where to wire it in.
My controllers are rendering views by calling a repository layer and receiving data transfer objects which have been mapped from my ORM.
I'm thinking that all I change is the controllers from calling the repository layer, to calling a webservice via proxy, which itself calls the repository layer and feeds back data transfer objects as results.
I'm also wondering if my calls to the WCF layer would be simply authenticated with the current website's membership data when logged in.
Any thoughts on the issue would be appreciated.