Can I use Awesomium.NET in a Web Application?

Awesomium and Awesomium.NET do not currently support operation in a web application environment.

Details:

  • As you can read in the documentation (see Note in Remarks section of WebCore.Initialize) "Only a single initialization/instantiation of the WebCore is possible per application session (process)." So we actually cannot spawn the WebCore multiple times for the main process hosting the library. In order for Awesomium to work in a web context, the WebCore would need to somehow persist between pages.
  • Awesomium is based on Chromium. This behavior is by design in Chromium. We could modify the internals of Chromium enough so that you can have multiple WebCore instances per process, but this requires a lot of work and is not in our immediate plans.

Conclusion:

Unless a way can be found to make WebCore persist between pages, use of Awesomium and Awesomium.NET is currently not supported in a web context. Nevertheless, we will keep working on any workarounds that may allow such use so check this article for possible updates.