I have a virtual path provider that serves static files from my virtual file system,is it possible to configure the IIS to server static files through my virtual path provider or do I need to create a custom static file handler?
Configuring IIS 7 to handle static files through a Virtual Path Provider
1.8k views Asked by marcus At
1
There are 1 answers
Related Questions in ASP.NET-MVC
- I have a problem outputing the roles on the page ListRoles.cshtml
- Dropdown list showing SQLServer2005SQLBrowserUser$DONSERVER instead of Active Directory group name in ASP.NET MVC C#
- Hosting ASP.NET MVC application on IIS web server using Windows 2019 server
- How to display only department fields associated with a selected department in student automation system?
- How to send select input data for form submission?
- Multi level project reference using dll
- How to upload file to Onedrive using ASP.NET MVC?
- ASP.NET MVC web app looping between fields only on some devices
- Is there any automatic job to load AD-groups?
- How to restrict admin js files to download
- Download PDF in ASP.NET MVC application
- How to add bootstrap theme/example into ASP.NET MVC 5?
- Web API works with Windows authentication enabled when consumed via Swagger but throws an unauthorized issue when accessed through web app
- ASP.Net Core 7.0 Web App (Model-View-Controller) ErrorViewModel OnGet OnPost do not get called or executed
- OAuth 2.0 keep getting Authorization has been denied for this request
Related Questions in IIS
- error 500 on IIS FastCGI but no clue despite multiple error loggings activated
- IIS Rewrite Module exclude bots but allow GoogleBot
- How to deploy angular 17 SSR into IIS
- IIS web site with httpplatformhandler on specific route does not redirect to the nextjs site
- Why is 'EDITBIN /STACK:2097152 w3wp.exe' cmd is giving me an LNK1342 error?
- Primeng Angular styles on subdomain don't work
- Apps migrated from IIS server1 to another IIS server2 stopped communicating with an App on IIS server 1 via SSL (HTTPS)
- How to authenticate with REST API service on IIS using pass-through authentication in Python?
- ASP.NET Core 8 is missing from application pool selection after install
- Azure Application Gateway ByPass
- SSL certificate is installed on iis and website but in browser is unknown
- Redirect to another site but show the original URL in browser
- Problem in hosting React App with react-router-dom on IIS Server
- Django Channels on IIS
- ASP.NET Core/Angular17 application files does not load when published in IIS
Related Questions in IIS-7
- Wildcard SSL certificate with IIS webserver type Can it be used on Linux servers using Apache?
- Powershell script running fine when running locally but when hosted on IIS server it is showing empty output
- Getting this issue while trying to host flask application on IIS
- Not getting any output of a query when hosted site on IIS server but it is running fine on windows powershell
- ApplicationInitialization expected Url path format
- How to URL Rewrite in IIS to URL encode incoming requests that have unencoded characters?
- ASP.NET Core MVC and Web API on the same IIS server
- Remove-WebConfigurationProperty not removing file extension in request filtering section of IIS
- Using APPCMD to clear the set of custom error definitions
- windows server with IIS everytime upload a image need to set manually permission to full control to read the image with URL,
- Bind IIS to hostname (internal computer name)
- IIS7 url rewriting results in 500 internal server error
- SSL validation fails for w3wp inter-process requests
- How to disable direct access to web resources for ASP.NET MVC projectcs
- How to set CORS access-control-allow-origin = * on site?
Related Questions in VIRTUALPATHPROVIDER
- How to Overwrite or Update Cache files in Flutter while using Path Provider
- Load ASP.NET MVC views and controllers code from database
- VirtualPathProvider - disabling caching hangs server (IIS and Cassini)
- Load views from different assemblies Using VirtualPathProvider
- Is it possible to use virtual path provider with DotNetNuke?
- Virtual Path Provider with embedded resource Asp.Net MVC as class library
- Resolve Tenant Id in VirtualPathProvider MVC5
- How can I get MVC 5 to render a View that is physically outside the Web Application Folder?
- ASP NET MVC VirtualPathProvider avoid some paths
- How to edit or Is it possible to edit views from database and replace them with custom labels or text boxes based on condition?
- How can I load static file in Virtual Path Provider for example images
- ASP.NET using embedded resources in Bundling
- How can I put a log whenever compiler recompiles my razor view via VirtualPathProvider?
- ASP.NET VirtualPathProvider .Execute()': no suitable method found to override
- MVC embedded views
Related Questions in STATICFILEHANDLER
- .NET 7 API catch-all route without breaking static files
- IIS 10 serve static file truncated if being written to
- Why StaticFile handler running instead of Custom handler
- Why is IIS 10 default document not working for a static file?
- Static files outside the wwwroot for .netcore app
- Docker Nginx with Angular JS - Load Static CSS, Images, JS with dynamic url
- Default file in Tornado's StaticFileHandler
- Using self.render() in a StaticFileHandler
- HTTP Error 500.0 on StaticFile when using custom identity for AppPool
- Django static files on heroku
- Hosting static file for Download Python Tornado
- Start an apache server in any directory from command line
- Custom Http Handler in MVC 3 Application
- Change file root for StaticFileHandler
- Configuring IIS 7 to handle static files through a Virtual Path Provider
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?
Popular Tags
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)
If I read correctly say you wanted to handle static files with the extesion pac, that is MyFile.pac from your virtual site.
Open IIS7 and go to your virtual site, in the features view double click MIME Types, then click Add.. and put in your extension and an appropriate MIME type, such as "text/plain".
This is a IIS way of doing it but like you say it could be done with a custom static file handler.
(this is assuming your static files have an extension that are not being dealt with already, as many are)