How create N-tier app with Unit of Work, Repository and etc
I'm new in developing.Specially a big projects with a few of technologies together.
I decided to create web-shop, and use for it ASP.NET MVC 3 + WCF + Entity Framework.
I have a questions about it:
1.Which structure of solution I should have?I have structure right now like this:
 - 1 project ASP.NET MVC that's a client
 - 2 project library with duplicate classes of entities.DTO. That's like a entities but without virtual some properties.I set reference on WCF project and ASP project that I could 
transfer it.
 - 3 project that's a WCF application. I have created folders that represents I guess levels
 Folder with entities which i will do tables.
 Folder DAL. Where I guess will be have a Context, Repository and Unit Of Work
 Folder BussinesLogic where I have interfaces with methods and classes that implement those interfaces.
 Folder Service where I have interface with contracts and classes that implement contracts
 Actually I want to create Dependency Injection Bussines Logic with Services classes.

 1.What can u advice me about my structure?Probably somebody can correct me in right side
 2.What can u advice me how correct to use Repositories and Unit of Work?Is it correct decision to use DI?
 3 I want use REST.I wanted to use both REST and SOAP but i heard SOAP is old already and not popular is it true?Probably u can give me some usefull reference about REST?
 4 What can I add to my project else?
 5 And I want use JSON and XML.
 P.S. Sorry for my english, it's very fluently. I hope my question helps everybody who wanna start development in this way)Thanks everybody)


 
How create N-tier app with Unit of Work, Repository and etc
===

I'm new in developing.Specially a big projects with a few of technologies together.
I decided to create web-shop, and use for it ASP.NET MVC 3 + WCF + Entity Framework.
I have a questions about it:
1.Which structure of solution I should have?I have structure right now like this:
 - 1 project ASP.NET MVC that's a client
 - 2 project library with duplicate classes of entities.DTO. That's like a entities but without virtual some properties.I set reference on WCF project and ASP project that I could 
transfer it.
 - 3 project that's a WCF application. I have created folders that represents I guess levels
 Folder with entities which i will do tables.
 Folder DAL. Where I guess will be have a Context, Repository and Unit Of Work
 Folder BussinesLogic where I have interfaces with methods and classes that implement those interfaces.
 Folder Service where I have interface with contracts and classes that implement contracts
 Actually I want to create Dependency Injection Bussines Logic with Services classes.

 1.What can u advice me about my structure?Probably somebody can correct me in right side
 2.What can u advice me how correct to use Repositories and Unit of Work?Is it correct decision to use DI?
 3 I want use REST.I wanted to use both REST and SOAP but i heard SOAP is old already and not popular is it true?Probably u can give me some usefull reference about REST?
 4 What can I add to my project else?
 5 And I want use JSON and XML.
 P.S. Sorry for my english, it's very fluently. I hope my question helps everybody who wanna start development in this way)Thanks everybody)


 