다음을 통해 공유


Samples for C# Whidbey

Shaykat from the C# team sent me an email earlier today about what C# samples we should
include for Whidbey.  I thought it would be a good idea to ask the blogosphere
what samples you would like to see for C# Whidbey.  This can range from fully
functioning applications, to code snippets, to walkthroughs/tutorials.  We've
been reviewing the .NET Framework
Quickstarts
, the 101
C# samples
, and the C#
How-To articles
and MSDN help for ideas, but it's difficult to measure whether
these are really effective examples. A lot of the topics will be beginner focused,
so if you have strong opinions about what helps beginners understand topics or what
worked/didn't work for you in the learning process this is your chance to change the
next release of the product. Please respond with your ideas, and if you have no ideas
please let me know what you did or did not like about the .NET Framework Quickstarts,
the 101 C# samples and the C# How-to articles.

Thanks!

Comments

  • Anonymous
    December 03, 2003
    The ASP.NET Starter Kits were a big help when learning .NET, so I would vote for fully functioning applications.
  • Anonymous
    December 04, 2003
    The comment has been removed
  • Anonymous
    December 04, 2003
    Samples for MFC veterans. Don't get me wrong, i am not talking interop here. It's about showing how the code molds from the MFC-point of view to the C# point of view, especially (but without restriction) when it comes to UIs, especially winforms.I can't see a single article on earth saying that this.Handle returns the HWND of the underlying window, and that the window is created upon this call. This is of importance to understand the life cycle of the underlying objects.
  • Anonymous
    December 05, 2003
    The comment has been removed
  • Anonymous
    December 05, 2003
    I would like to see examples of creating custom widgets from scratch.It's always nice if sample code always came wrapped in a full sample application. Unless the code is simply an example of API usage.
  • Anonymous
    December 05, 2003
    A complete scenario sample around the PKI. Certificate support is new and great samples/documentation would be extremely valuable. What would rock would be a full application security scenario based on .Net, Smart Cards and Certificate Services.
  • Anonymous
    December 05, 2003
    Anything regarding design time support. That subject hasgot almost no attention in the MSDN so far.Also quickstart samples for Compact Framework could be nice, speaking as a CF veteran.
  • Anonymous
    December 05, 2003
    My 2 cents:1. Security samples (both .NET and NT security)2. Interop samples3. Networking and Multithreading samples4. Design patterns samples.5. OS interoperability samples.
  • Anonymous
    December 08, 2003
    Eric G. had a blog post about this last week, you should see that conversation as it directly relates to yours.http://blogs.gotdotnet.com/EricGu/permalink.aspx/522a9388-7381-4249-90fe-ff33018be0c4
  • Anonymous
    December 11, 2003
    As a relative newcomer to C# I’d like to bring up a few points based on my journey so far:First of all, the biggest peeve I have with much of the documentation, is that it is written on the premise that the reader is already familiar with the concept being explained. So much of the documentation and/or tutorials assume familiarity with the terminology that it becomes overwhelming very fast. If I were familiar with it I wouldn’t be looking it up.Quick Reference:When providing a code example of how a certain function, keyword etc. is used, I think it would be very helpful to design a very simple construct to plant the idea of what it is (often the examples seem very elaborate and can obscure the objective of teaching that item). Then provide an example showing its “best practice use” (if one can be shown). Finally if appropriate, show examples that explain the “why” of some item or thing as opposed to just that it exists. Sometimes some history or context is just what is needed to help make it clear. And this one is really annoying; I found a page that showed code of how not to do something without also including an example of the proper way to use it. In Depth Examples:I find that the best tutorials have a quality, which can easily be brought into all the documentation. When showing code examples, it would be very instructive to have substantial amounts of code commentary. This works better than accompanying text because the comments are right there, in context with the code they are describing. Not just what something is but why it was used. Let’s transfer some of that experience to the student user as well. And finally, for me, the most instructive examples of code have been small applications that really show how everything can work together. This is closest to a real world translation of the simpler example code snippets in the documentation and tried and true implementations which I can use to help construct my own applications.Ok, thanks … Whew, just had to get that all out :)
  • Anonymous
    December 12, 2003
    Some sort of 'patterns and practices' for Generics. Not being a C++ veteran i never really used templates that much, but got the impression there was some very funky stuff that could be done with them.For instance i seem to remember seeing various things in the ATL such as classes inheriting from templated base classes and stuff like that.I'm sure there are several design patterns that make use of generics and it would be great to see somtehing like this in the samples.
  • Anonymous
    December 17, 2003
    Whatever samples you provide, please try to not just convert the C# sample to VB.NET, or vice versa. It may be fair enough, inevitable and perhaps even instructive for API examples, but sample solutions should be designed and written from scratch for each .NET language.By all means compare the resulting solutions afterwards so that instructive comparisons can be made, but the variation between a C# solution converted to VB.NET and a 'pure' VB.NET solution is often significantly different. (And vice versa, I'm sure, if it ever happens.)
  • Anonymous
    December 24, 2003
    The comment has been removed
  • Anonymous
    December 29, 2003
    Albeit a minor thing on the whole scale, I found the quickstarts did not provide any examples of connection strings to databases through a .net SqlClient Connection which did not use windows authentication. The format of the connection string is different in .net to normal ado so it was a bit tricky to get this right as I couldnt use my previous technique of creating a .udl file!!The only other thing so far I found a bit frustrating was not enough examples of forms authentication / explanation of how you can get this to work with your database.Other than that I found the quickstarts are most usefull and very handy to this day. The class browser sample application also serves a whole use of its own so it should be promoted!! Not enough developers seem to know about this handy little thing and how many need to search for a class! Which brings me to think you should add a search feature to it too - that would be very usefull.
  • Anonymous
    February 05, 2004
    Having complete applications, like the Terrarium game, is very helpful. The small examples in the existing SDK documentation are also quite helpful. More of both kinds of examples would be good. The more diverse, the better.

    A specific kind of example I'd like to see is an involved data structure example where attention is paid to efficiency.
  • Anonymous
    March 25, 2004
    I have mathematical application (algebra probabilities calculator).
    and how to functionally draw table (use mouse wheel to scroll it , 'scrollablecontrol')
    and how to set VHscrollbar 'maximum,minimum values'

  • Anonymous
    May 31, 2004
    mmm
  • Anonymous
    June 28, 2004
    hello, im trying to learn C#. Right now im trying to figure out how do i change a caption or get the caption from another window like IExplore. sorry for posting in an odd place.
  • Anonymous
    July 05, 2004
    Where can i find a whidbey download to test
  • Anonymous
    July 05, 2004
    Prasanth,

    The easiest way to test/evaluate Whidbey is to download one of the new Express products. The Express products are simplified, lightweight versions of Express designed for non-professionals and students and are available for download on the web at http://msdn.microsoft.com/express/. You can also get an MSDN Universal subscription which includes the full version of Visual Studio 2005 (aka Whidbey).

    Thanks,
    -Dan
  • Anonymous
    March 29, 2006
    Rajamannar, check goletas.com for data structures such as AVL trees and binary search trees.
  • Anonymous
    May 12, 2007
    Hello. I have problem with enter to this site via GPRS WAP. Please, help me. Thanks! Best regards.