Do you share common types and logic in Blazor?

Updated by Brady Stroud [SSW] 2 years ago. See history

123
No component provided for introEmbed

To share your classes between the client and server, just create a class library and reference it in your client and server projects.

See Blazor Code Sharing Example as an example.

References

Acknowledgements

Jason Taylor
Brady Stroud
Related rules

Need help?

SSW Consulting has over 30 years of experience developing awesome software solutions.

We open source.Loving SSW Rules? Star us on GitHub. Star