I am trying to create an IIS Application from a physical location within the root folder of IIS. Every guide I can find shows how to create a virtual directory, but I only need to create the application from a physical directory. I also want to set the Application Protection to Medium. Does anyone know how to do this in C#? Thanks!