I'm currently working on a solution which has to work in the Office365 SharePoint Online environment. Being Sandboxed, I'm running into problems with my code which is working fine on my local environment.
The setup is pretty simple. I have a list where users can create items. After creating an item, an event receiver picks it up and processes the item. The event receiver creates a site based on the users input in the list. This operation seems to take too long sometimes. After the site creation, the URL of the newly created site is saved back to the list item. This sometimes happens, but mostly doesn't. I'm pretty sure it's the 30sec timeout which is causing this.
Because the operation is kind of async to begin with, I don't really care about the sequence of event. Therefore I thought I might be able to use the client model or webservices instead. Fire off an async call to create the web and thereby bypassing the 30 sec timeout.
Has someone ever been able to do this? I know the client model isn't restricted to timeouts, but I don't think the sandbox allows you to use the client model (which is kind of strange to begin with I guess).