# Microsoft.AspNetCore.Components.Endpoints

``` diff
 namespace Microsoft.AspNetCore.Components.Endpoints {
-    public class ComponentTypeMetadata
+    public sealed class ComponentTypeMetadata
+    public interface IRazorComponentEndpointInvoker {
+        Task Render(HttpContext context);
+    }
-    public interface IRazorComponentsBuilder {
-        IServiceCollection Services { get; }
-    }
-    public class RazorComponentDataSourceOptions {
-        public RazorComponentDataSourceOptions();
-        public bool UseDeclaredRenderModes { get; set; }
-    }
+    public sealed class RazorComponentsOptions {
+        public RazorComponentsOptions();
+        public int MaxFormMappingCollectionSize { get; set; }
+        public int MaxFormMappingErrorCount { get; set; }
+        public int MaxFormMappingKeySize { get; set; }
+        public int MaxFormMappingRecursionDepth { get; set; }
+    }
-    public abstract class RenderModeEndpointProvider {
-        protected RenderModeEndpointProvider();
-        public abstract IEnumerable<RouteEndpointBuilder> GetEndpointBuilders(IComponentRenderMode renderMode, IApplicationBuilder applicationBuilder);
-        public abstract bool Supports(IComponentRenderMode renderMode);
-    }
-    public class RootComponentMetadata
+    public sealed class RootComponentMetadata
-    public sealed class WebAssemblyComponentsEndpointOptions {
-        public WebAssemblyComponentsEndpointOptions();
-        public PathString PathPrefix { get; set; }
-    }
 }
```

