"Using PHP with MySQL" was retired on March 1, 2017. You are now viewing the recommended replacement.

Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

C#

S.Amir Nahravan
S.Amir Nahravan
4,008 Points

C# Object Oriented Programming in MVC Codefirst

Hi guys,

I'm website developer about 3 years and I established several websites with C# webform and MVC now.

I use Code first technology now and I decided to improve my skills by Treehouse. I passed C# Objects level and C# intermediate with @Jeremy_McLain.

We developed a simple game with C# objects but I don't know how can I use this skills in website developing.

please help me that how can I use C# objects in website developing?

for example I have two models in my project that called "Categories" and "Articles" and these two class has one to many relationship too.

how can I use OOP in this example.

The second problem is please give me an another project in website developing that I start to improve and repeat my learning.