none
C# - open source projects RRS feed

  • Question

  • Hello,

    I am relatively new to C# and have no practical experience in my career using C# though I have been doing a bit of scripting for a few years now. In fact PowerShell drove me in the direction of learning C# and I quite like it. I have gone though all the theoretical concepts that make C# what it is (OOP, collections, generics, linq, parallelism, delegates, events, functional programming etc.). In fact I spent the last 40 days learning just C# using various courses on PluralSight and YouTube while also reading a lot of C# blog articles on the internet.

    What I am now looking for is some sort of open source C# mini project(s) with the help of which I can see all these features in action (which are not too complicated to follow, yet cover all the features of C# employed elegantly). May be it's too much to ask but is there any such source I can refer to?

    My primary area of focus is automation as I work in the IT area (Active Directory, SCCM, Windows build etc).

    Thanks in advance


    Tuesday, May 26, 2015 1:40 PM

Answers

  • You can find code samples on codeproject and TechNet gallery.

    They tend to be quite small pieces of code focussed on a specific aspect though.

    Writing a project of the sort I work on is a lot of work and hence such substantial pieces of code are few and far between.

    Since development is a practical art you are of course best advised to stick to looking at stuff you will get a chance to work on yourself.  If you just sit there reading code you don't learn much.


    Hope that helps.

    Technet articles: WPF: Change Tracking; All my Technet Articles

    Tuesday, May 26, 2015 2:09 PM
    Moderator
  • >>What I am now looking for is some sort of open source C# mini project(s) with the help of which I can see all these features in action (which are not too complicated to follow, yet cover all the features of C# employed elegantly). May be it's too much to ask but is there any such source I can refer to?


    Entity Framework, which is Microsoft's recommended data access technology for new applications, is open source:
    https://github.com/aspnet/EntityFramework

    ASP.NET, Microsoft's official framework for building dynamic web sites with clean separation of concerns, is also open source: https://github.com/aspnet/Mvc

    MvvmLight, which is a toolkit that helps you to accelerate the creation and development of MVVM applications in WPF, Silverlight, Windows Store, and Windows Phone, is another example: https://mvvmlight.codeplex.com/

    You can look for even more open source projects at CodePlex, which is Microsoft's free open source project hosting site: https://www.codeplex.com/

    I don't think you will find a single mini project where you can easily see "all these features in action" though. But you could always look at some projects and then create a new project for yourself in Visual Studio and try specific features out for yourself.

    Hope that helps and good luck.

    Please remember to mark helpful posts as answers to close your threads and then start a new thread if you have a new question. Please don't ask several questions in the same thread.

    Tuesday, May 26, 2015 2:16 PM
  • The aim of such samples is usually to teach or illustrate something.

    I would think they will be a lot more digestible than chewing on source code for a framework like wcf.

    I guess coaching/pair programming isn't an option for you at the moment.

    But that'd be good.


    Hope that helps.

    Technet articles: WPF: Change Tracking; All my Technet Articles

    Tuesday, May 26, 2015 6:09 PM
    Moderator
  • Hi Steve,

    Please check if there is one C# available project or sample on Microsoft’s site.
    Here is the link
    https://code.msdn.microsoft.com/windowsapps

    Best regards,

    Kristin


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, May 27, 2015 9:48 AM
    Moderator

All replies

  • You can find code samples on codeproject and TechNet gallery.

    They tend to be quite small pieces of code focussed on a specific aspect though.

    Writing a project of the sort I work on is a lot of work and hence such substantial pieces of code are few and far between.

    Since development is a practical art you are of course best advised to stick to looking at stuff you will get a chance to work on yourself.  If you just sit there reading code you don't learn much.


    Hope that helps.

    Technet articles: WPF: Change Tracking; All my Technet Articles

    Tuesday, May 26, 2015 2:09 PM
    Moderator
  • >>What I am now looking for is some sort of open source C# mini project(s) with the help of which I can see all these features in action (which are not too complicated to follow, yet cover all the features of C# employed elegantly). May be it's too much to ask but is there any such source I can refer to?


    Entity Framework, which is Microsoft's recommended data access technology for new applications, is open source:
    https://github.com/aspnet/EntityFramework

    ASP.NET, Microsoft's official framework for building dynamic web sites with clean separation of concerns, is also open source: https://github.com/aspnet/Mvc

    MvvmLight, which is a toolkit that helps you to accelerate the creation and development of MVVM applications in WPF, Silverlight, Windows Store, and Windows Phone, is another example: https://mvvmlight.codeplex.com/

    You can look for even more open source projects at CodePlex, which is Microsoft's free open source project hosting site: https://www.codeplex.com/

    I don't think you will find a single mini project where you can easily see "all these features in action" though. But you could always look at some projects and then create a new project for yourself in Visual Studio and try specific features out for yourself.

    Hope that helps and good luck.

    Please remember to mark helpful posts as answers to close your threads and then start a new thread if you have a new question. Please don't ask several questions in the same thread.

    Tuesday, May 26, 2015 2:16 PM
  • Thank you gentlemen. The technet gallery and code.msdn.microsoft.com look like a good start. 
    Tuesday, May 26, 2015 2:39 PM
  • The aim of such samples is usually to teach or illustrate something.

    I would think they will be a lot more digestible than chewing on source code for a framework like wcf.

    I guess coaching/pair programming isn't an option for you at the moment.

    But that'd be good.


    Hope that helps.

    Technet articles: WPF: Change Tracking; All my Technet Articles

    Tuesday, May 26, 2015 6:09 PM
    Moderator
  • Hi Steve,

    Please check if there is one C# available project or sample on Microsoft’s site.
    Here is the link
    https://code.msdn.microsoft.com/windowsapps

    Best regards,

    Kristin


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Wednesday, May 27, 2015 9:48 AM
    Moderator