net.pipe protocol error

I´m trying to use DSC to deplo web with net.pipe protocol but get errror:

xWebAdministration\MSFT_xWebBindingInformation : ‘net.pipe’ is not a valid value for property ‘Protocol’ on class ‘MSFT_xWebBindingInformation’. Please change the value
to one of the following strings: http, https.

Are there any secret way to add net.pipe as valid binging protocol for websites?

Best regards

The resource does not currently support net.pipe bindings. There’s a community modification of that resource on the DSC GitHub repository: . If you know how to get net.pipe bindings working, you could submit a modification for the cWebsite resource.

Is it as easy as change this file:

line 5 would be
[Write,ValueMap{“http”, “https”, “net.pipe”},Values{“http”, “https”, “net.pipe”}] string Protocol;
instead of
[Write,ValueMap{“http”, “https”},Values{“http”, “https”}] string Protocol;

and of course enabling net.pipe protocol on the OS.

All that would do is allow you to pass a value of “net.pipe” as a parameter to the resource. That’s the easy part.

There would also need to be new code inside the resource’s module to actually do something when the configuration passes in a value of “net.pipe”. I haven’t personally used this type of binding in IIS before, but based on a quick web search on the topic, there are several prerequisites for this. (Windows features that need to be installed, services that need to be running, an IIS server configuration option, and then finally creating the binding.)

This works fine, if its done after installation of the site:
C:\Windows\System32\inetsrv\appcmd.exe set config -section:system.applicationHost/sites /+“[name=‘SiteName’].bindings.[protocol=‘net.pipe’,bindingInformation=‘*’]” /commit:apphost
But I would rather use native dsc functions then appcmd command line tool if net.pipe where supported.
Thanks any way