Code Monkey home page Code Monkey logo

Comments (2)

rjpowers10 avatar rjpowers10 commented on August 16, 2024 1

I have a customer wanting to do an on-prem IIS install and I'm hoping to make the root folder stateless, much like I do in Azure App Service with OrchardCore.Media.Azure, OrchardCore.DataProtection.Azure, and OrchardCore.Shells.Azure. I was approaching the problem by trying to move those folders individually (like App Service) but thanks for pointing out ShellOptions.ShellsApplicationDataPath. That seems like a better direction for me. I'll try that approach.

from orchardcore.

Piedone avatar Piedone commented on August 16, 2024

I'm not sure how this could actually work well. I think rather the docs should be fixed.

With the current logic, this config is a path under the configurable App_Data, and under a tenant-specific folder.

If we were to actually allow absolute paths, then we'd either need to somehow also support (or guard against) putting all Media files for all tenants into the same folder, or we'd need to add tenant-specific folder under it. In the latter case, the semantics of the config would be different in the absolute and relative case, or we'd need to introduce a new config for the absolute one.

In the interim, configuring ShellOptions.ShellsApplicationDataPath isn't suitable for you BTW?

from orchardcore.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.