• Our Office
  • 12 Alpine Close Lakefield Benoni 1501

Require HTTPS on Azure

To force HTTPS on an Azure site that is configured to run HTTPS and HTTP add the following to your web.config file: <?xml version=”1.0″ encoding=”utf-8″?> <configuration> <system.webServer> <rewrite> <rules> <rule name=”Redirect to HTTPS” stopProcessing=”true”> <match url=”(.*)” /> <conditions> <add input=”{HTTPS}” pattern=”^OFF$” /> </conditions> <action type=”Redirect” url=”https://{HTTP_HOST}/{R:1}” redirectType=”Permanent” /> </rule> </rules> [...]

Read More

WCF Services and Web Parts

This post will cover how to use and call WCF services without complicated methods to update your web.config\app.config. When you add a WCF service reference to your code it generates all the endpoints in your project’s app.config file. For web parts this is a problem as each web part does [...]

Read More