# Microsoft.AspNetCore.Mvc.Rendering

``` diff
 namespace Microsoft.AspNetCore.Mvc.Rendering {
+    public static class HtmlHelperComponentExtensions {
+        public static Task<IHtmlContent> RenderComponentAsync<TComponent>(this IHtmlHelper htmlHelper, RenderMode renderMode) where TComponent : IComponent;
+        public static Task<IHtmlContent> RenderComponentAsync<TComponent>(this IHtmlHelper htmlHelper, RenderMode renderMode, object parameters) where TComponent : IComponent;
+    }
-    public static class HtmlHelperComponentPrerenderingExtensions {
 {
-        public static Task<IHtmlContent> RenderComponentAsync<TComponent>(this IHtmlHelper htmlHelper) where TComponent : IComponent;

-        public static Task<IHtmlContent> RenderComponentAsync<TComponent>(this IHtmlHelper htmlHelper, object parameters) where TComponent : IComponent;

-    }
-    public static class HtmlHelperRazorComponentExtensions {
 {
-        public static Task<IHtmlContent> RenderStaticComponentAsync<TComponent>(this IHtmlHelper htmlHelper) where TComponent : IComponent;

-        public static Task<IHtmlContent> RenderStaticComponentAsync<TComponent>(this IHtmlHelper htmlHelper, object parameters) where TComponent : IComponent;

-    }
+    public enum RenderMode {
+        Server = 2,
+        ServerPrerendered = 3,
+        Static = 1,
+    }
 }
```

