This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.IIS.
Summary
Updates the web.config of the given host/site/application.
- Assembly
- Cake
.IIS .dll - Namespace
- Cake
.IIS - Containing Type
- BaseSiteManager
Syntax
public void SetWebConfiguration(string siteName, string applicationPath, Action<Configuration> configurationAction)
Parameters
Name | Type | Description |
---|---|---|
siteName | string | The name of the site. |
applicationPath | string | The path to the application. |
configurationAction | Action |
The action to execute on the Microsoft.Web.Administration.Configuration object. |
Return Value
Type | Description |
---|---|
void |