I'm struggling to figure out how to set up my Visual Studio 2010 c# based solution. I want to create a library to used by both a web application and windows application. The solution will store data in a SQL Server db via Entity Framework 4.0.
It seems common practice to put the model in a seperate library but how much application logic to add to this? For example I am downloading data from Paypal so am saving Paypal transactions in the DB. So in my core library do I have a PaypalSystem (what I communicate with to retrieve the transactions) and put PaypalTransaction in the Model library? It seems a muddle to me and I think I could use advice or an example!