title: Best practices for using components with a Blazor WebAssembly app if it is ASPNET Core Hosted?
body: <p>I have a functioning Blazor WebAssembly (WASM) component which is ASP.NET Core Hosted and contains three projects: client, server, and shared.  The client-side component connects to a SQL Server database using Web API endpoints contained in a controller file within the server-side app.</p>
  <p>I would now like to share this component with multiple apps. Would the best practice be to use a Razor Class Library (RCL) or to just keep the component in project format and directly add/reference it within projects that will use it? If an RCL is recommended, how do I handle the controller?</p>