Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add WebSharperSharedMetadata=None setting option #1108

Closed
Jand42 opened this issue Jul 17, 2020 · 0 comments
Closed

Add WebSharperSharedMetadata=None setting option #1108

Jand42 opened this issue Jul 17, 2020 · 0 comments
Assignees

Comments

@Jand42
Copy link
Member

Jand42 commented Jul 17, 2020

When using WebSharper for server-side functionality only (Sitelets serving pages fully generated by server-side WebSharper.UI html combinators for example, no controls or RPC calls), there is no need for runtime metadata. Allow turning metadata deserialization off

  • for ASP.NET Core: in appconfig.json with a "WebSharperSharedMetadata": "None" (in "websharper" section)
  • for .NET 4x: in web.config with a <add key="WebSharperSharedMetadata" value="None"/> (in configuration/appsettings section).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant