© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
7 replies
Alberto

❔ Very easy question, about classes

Hi all, Im very new in Blazor, Im just doing a test for a company, if I pass it, they could be hiring me!

Im this app I should use Blazor and make a service class for calling the API. Just calling a web that gives posts in a array.
Then this class should be used by a Blazor component and show a table. Im actually doing everything inside a Blazor component and works well.
My problem is how to separate everything, do I need a model for Post? How are the files separated?
Mind that I come from JS and we do everything classless.

(I can pay for support for the test)
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

✅ Question about partial classes
C#CC# / help
2y ago
❔ Probably easy question about relative paths
C#CC# / help
3y ago
❔ Question about data types and classes
C#CC# / help
4y ago
✅ confused about classes
C#CC# / help
3y ago