Brad Robinson
Brad Robinson

Reputation: 46937

Supported web.config settings in Mono ASP.NET

How can I find out which web.config settings are supported by Mono's implementation of ASP.NET?

Specifically I'm having trouble getting the <staticContent> settings to work, and wondering if this simply isn't supported.

Upvotes: 4

Views: 1070

Answers (1)

Meinersbur
Meinersbur

Reputation: 8081

I ran grep staticContent -Ri . over the newest mono source code and it could not find a thing. I conclude that it is not supported by mono itself.

Anyway, staticContent belongs to the system.webServer namespace, so it is a matter of the webserver, not the mono runtime. Microsoft lists staticContent as supported since IIS 7.0.

EDIT: Since you are using Mono.WebServer.FastCgi, there is a file which contains all supported options: ConfigurationManager.xml. Note that these are usually passed to the server on the command line.

But I really think it only feels responsible for mono server scripts ("CGI"), not for static content, which should be handled by the webserver.

Upvotes: 2

Related Questions