1. A computer system, the system comprising: one or more processors; and one or more computer storage devices having stored thereon computer-executable instructions, that when executed by the one or more processors, control the computer system to: execute an application to exhibit a first behavior, the application configured to integrate with a plurality of resources, including integrating with a specified resource when the specified resource is available to the application, the first behavior based on a first state defined by an availability of the specified resource; detect a change to the availability of the specified resource, the change to the availability of the specified resource defining a second state for the application; determine a second different behavior for the application based on the second state; and execute the application to exhibit a second different behavior in response to the detected change in availability of the specified resource.