I am developing a complex web-platform with n-tier architecture. There are two projects inside solution: PresentationLayer.WebSite and APILayer.Restful.
Local database stored in App_Data inside PresentationLayer.WebSite. I have no idea how to implement following actions : (currently I'm workind in debug mode).
- Set connection string from Restful project to Presentation Project. Should I use absolute path? They should use the same DB. Of course, in publish moment DB will be placed in some server,but what to do now?
- How can I run two projects in the same time? I know how to call one's project's controller from another, but how to run it togetgher? For example: in Chrome I call User\MyProfile?.... (Presentation) and in Firefox i call Api\User\GetUserById... (Rest).