Does ASP.NET Core offer any platform-independent way to access standard paths, such as where data or configure files are supposed to be saved? Modules such as Qt's QStandardPaths are very helpful to prepare Qt applications to be deployed in a platform-independent way, but unfortunately I haven't found any similar service in ASP.NET Core. Does anyone know if anything like that exists in the .Net core or ASP.NET Core platforms?
Platform-independent directory
277 Views Asked by RAM At
1
There are 1 best solutions below
Related Questions in ASP.NET-CORE
- ASP.NET 5 Class Library - Nuget package Web.Config transform
- Asp.Net 5 correct way to access logging config file from Startup.cs
- What is the difference between 'dependencies' and 'frameworkAssemblies' in project.json?
- Getting absolute URLs using ASP.NET Core
- How to add Project Reference in asp.net 5 application
- Configure the authorization server endpoint
- Observer for fire&forget Task
- IApplicationBuilder exists in both Microsoft.AspNet.Http.Abstractions and Microsoft.AspNet.Http
- What frameworks are available in ASP.NET Core (ASP.NET 5) applications?
- How do I include 'System.Runtime.Serialization.Json' namespace in my VSCode project on Mac OS X?
- How to suppress warnings when building an ASP.NET 5 project?
- Dependency Injection in asp.net 5 custom classes, what is the correct way?
- How to access IConfiguration property from Controller in ASP.NET 5
- Getting a scoped component from a IDocumentStoreListener
- How is execution passed from the clr to Startup class (startup.cs)?
Related Questions in .NET-CORE
- NLog with DNX Core 5.0
- How should I reference HttpClient for dnx451 and dnxcore50?
- DNX Core 5.0 library to target any platform. No System.Random class. Workarounds or options?
- Kestrel Running which framework?
- Directory.CreateDirectory not exists in .NET Core
- asp.net dnxcore50 load assembly by file path
- .NET Core doesn't depend on any installation?
- Why is linq to object implementing iterators manually?
- Microsoft Band and WPF
- Determine port in asp.net core
- ASP.NET Core IISIntegration.Tools and .NET Framework
- ANTLR 4.5.3 C# lexer fails to initialize (ATN UUID error)
- Opening Visual Studio 2017 projects in Visual Studio 2015
- dotnetCore (1.0.0-preview2-1-003177) - build warnings as errors - how?
- How to implement interface of C# use COM of native C++?
Related Questions in ASP.NET-CORE-2.1
- BizTalk 2010 - Unable to Import WSDL created in ASP.Net Core 2.1 (Failed to get metadata)
- Can you run a .NET Core 2.2 application alongside .NET 3.1?
- Send object as json to Sentry.io
- ASP.NET Core 2.1 application ignoring request timeout defined in web configuration
- How to create a link token using Plaid.NET Nuget package with c#
- Permission issue + Azure AD
- How to restrict angular app from being loaded in iframe
- ASP.NET Core custom client certificate validation not called
- CreateNewOnMetadataUpdateAttribute does not exists in the namespace after Visual Studio update
- NTLM is not working with Http.sys of ASP.NET Core 2.1 on .NET48 with https and wildcard certificate when accessing from same machine
- Why Antiforgery CookieSecurePolicy not applying?
- Problem in accessing custom header in SwaggerUI while migrating from .NET Core 2.1 to .NET Core 3.1
- Rendering Partial view as a string inside SignalR Hub
- ASP Net Core Filepond load file from server
- does explicit microsoft packages needs to install for middleware in .net core 3.1 framework like .net core 2.1
Related Questions in PLATFORM-INDEPENDENT
- What is the difference between .exe file generated from c program compilation and .exe file generated from vb program compilation
- Does Security:cipher encrypted result depend on the server?
- How platform-independent is .Net?
- How to get system environment variables using boost library?
- Bridge between Java and C#
- Node.js - Find home directory in platform agnostic way
- What is a platform independent way of getting unique value of current instance (e.g. pid) in C++
- How to open and view a file(similar to that of double clicking a file) using Java
- How Cross-Platform or Platform-independent is achieved in .NET Core?
- Platform-independent directory
- Where is Boost.Process?
- Qt portable IPC: only QSharedMemory?
- what is the algorithm to determine x and y for something so that it follows a curve between 2 keyframes?
- Get user name from the command line on different platforms
- License Management by time
Related Questions in FHS
- Getting the correct /usr/libXX folder for the current binary architecture
- Platform-independent directory
- Convention for storing bare Git repositories in home directory?
- When should I install a library to lib/ , and when to, say, lib/x86_64-linux-gnu?
- Where to place app config/logs in container
- In Debian, where in the filesystem would a daemon provide dynamic measurement results?
- Why does FHS have a usr directory
- Conform with File Hierarchy Standard on Linux: where to put binary examples for a library?
- Will Docker kill FHS?
- Linux: Installation directory of application installed only for current user
- Where should run-time unix sockets live on Linux?
- Make an executable Guile program with auto-tools?
- Where is the proper place to put Python virtual environments according to the Linux Filesystem Hierarchy Standard?
- How to handle configuration files with distutils to respect unixen's FHS?
- saving jupyter notebook/python files on ubuntu 18.04.1 LTS
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can use Environment.GetFolderPath.
This blog post provides more info on how the API behaves cross-platform.