Try our conversational search powered by Generative AI!

Loading...

Recommended reading 

Note: Episerver uses the Episerver asset system by default. If you want to enable the legacy asset management system, set the UseLegacyAssetSystem configuration setting to true in the web.config files of both the Commerce Manager and the front-end sites. 

Episerver Commerce is configured to use the .xsd http handler by default. To display assets or make them downloadable, add an .xsd Application extension in Internet Information Services (IIS) and configure it the same way as the .axd Application extension. 

  1. Go to your IIS Manager.
  2. Right-click on your website and select Add Virtual Directory...
  3. In the Alias field, enter FileLibrary.
  4. Set the Physical path to a BlobStorage\Public folder.

    Configuring IIS

  5. Select OK to save the settings. The new virtual directory appears under the website.

    Configuring IIS

  6. Double click Handler Mappings under IIS in the main screen. After the Handler Mappings screen opens, check if EcfLibraryHandler name with a path of *.xsd is listed. Its handler should be set to Mediachase.Commerce.Assets.LibraryRequestHandler, Mediachase.Commerce.

    Configuring IIS

    Note: If the installation procedure for Episerver Commerce is properly executed, you can skip steps 7-9. If the handler settings does not appear as above, continue with steps 7-9.

  7. Select Actions > Add Managed Handler....

    Configuring IIS

  8. Enter specified info for each field as below:
    • Request path. *.xsd (make sure you enter a period before "xsd)
    • Type. Mediachase.Commerce.Assets.LibraryRequestHandler, Mediachase.Commerce
    • Name. EcfLibraryHandler

      Configuring IIS

  9. Click OK to create the new handler. The new handler appears in the list.

    Configuring IIS

To verify that the asset management is working, go to Assets in the Episerver Commerce administration interface, and select any file that you saved in the folders. You should be prompted for a location to the save the file, or a new window that displays the selected file.

Do you find this information helpful? Please log in to provide feedback.

Last updated: Oct 12, 2015

Recommended reading