Skip to content

Latest commit

 

History

History
77 lines (61 loc) · 10.3 KB

ProjectOverview.md

File metadata and controls

77 lines (61 loc) · 10.3 KB

Project overview

The PhotoSharingApp solution consists of two projects for the client app (PhotoSharingApp.Universal and PhotoSharingApp.Universal.Tests) and three projects for the service (PhotoSharingApp.MobileService, PhotoSharingApp.MobileService.Shared, and PhotoSharingApp.MobileService.Tests). Both client and service implementations make use of a portable library which contains interfaces and shared data models for communication.

The app and service are separated in the project structure as shown in this diagram:

Architecture

List of projects with individual notes:

PhotoSharingApp.Universal

The following namespaces exist in the UWP project:

PhotoSharingApp.Universal.Tests

This test project contains unit tests for code in the PhotoSharingApp.Universal project. Test classes are located in equivalent namespaces as the code that is tested.

PhotoSharingApp.Portable

  • DataContracts: Contains data contracts that are being used for communication between the app and service
  • Extensions: Extension methods for data contracts

PhotoSharingApp.AppService

PhotoSharingApp.AppService.Shared

  • Context: Service environment definitions
  • Models: DocumentDB models
  • Repositories: The repository interface definition and implementations
  • Validation: Helper classes for data model and in-app purchase validation

PhotoSharingApp.AppService.Tests

This test project contains unit tests for code in the PhotoSharingApp.AppService project. Test classes are located in equivalent namespaces as the code that is tested.