Adding Custom MIME Types to DSS


By default, the DSS handles a wide variety of mime types. If your organization would like to add custom mime types, you can do so by editing the MIMEAssistant.cs file, which resides in the DSS project.

To add a custom mime type to the DSS:

  1. Open the project, Dynamic_Site_Server_Instance.csproj, in Visual Studio. The project file is located within the root folder of your DSS installation.
  2. Navigate to Project > Models.
  3. Open MIMEAssistant.cs.
  4. Add a CSS declaration block with the appropriate mime type label and property/value pair. For example, the VTT file type declaration has been added to the end of the supported mime type declaration list:

    Adding New Mime Type in Mime Assistant

  5. Save MIMEAssistant.cs.
  6. Rebuild your Visual Studio project.