Unfortunately, I do not know how to add authentication to the VS2013 project after creating it, but you can add it when creating the project.
Create an ASP.NET project, and then click Change Authentication when it prompts you to select a template.
Then you can select "Organization Accounts" and select "Rooms" from the drop-down menu. I know that ACS is not what you usually consider "local", but it is what you want. Then enter the URL of the metadata document. You can leave another place empty or fill it if you want. The metadata document URL is the FederationMetadata.xml file, which is located on the ACS Management Portal in the Application Integration section.
Once you configure this, you may need to configure the Web.config audience URLs to match what you have in Azure ACS.
source share