CBS New Module Build Process

  • Build new MVC 4 project, ideally from CAHNRS MVC template v1.4 or greater.
  • Build solution, fix style cop errors
  • Add AuthenticationAttribute from an existing module
  • Check compatibility of web config key value pairs and those that are used in the authentication attribute
  • Create new application in web service manager and authorize that application for CAHNRS Intranet and CAHNRS blacklist
  • Copy over AdminAtribute
  • Verify cookie names match across all pages
  • Add or edit web service reference to point to intranet service as in one of the existing modules
  • Unload project and edit Module.csproj file
  • Ensure the following exists after the TargetFrameworkVersion tag

<MvcBuildViews>true

<BaseIntermediateOutputPath> ..\IntermediaryBuild </BaseIntermediateOutputPath>

  • Clean and rebuild solution
  • Run style cop
  • build and edit until successfully built and desired behavior is achieved
  • Add favicon, robots, and style cop settings file to root of project from existing module