C#/ Web开发学习策略 [英] C# / Web Development learning strategy

查看:76
本文介绍了C#/ Web开发学习策略的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于.NET Web Development(2个月经验)的初学者,选择C#作为首选语言。首先学习C#是否更好 - 不试图将其应用于Web开发。似乎C#的大多数文献都使用Console或Windows窗体作为学习平台。那么那是最好的方向吗?或者你应该在网络开发中练习并尝试和C#一起学习。我的目标是网络开发!我刚从大学毕业(BCA),我相信你一定知道一个没有工作经验的大学毕业生知道多少知道。

解决方案

你可以去两个中的任何一个 -

Win / Console或

Web



但我建议使用控制台/ Win首先熟悉语法和最常见的命名空间。



最重要的是不要按照主要教科书中的示例章节,尝试构建一个小小的现实应用程序。一旦你开始建立你将陷入几个领域,然后你可以推荐书籍或谷歌确切的问题。



到那时,你完成了小型应用程序的构建,你会对组件/命名空间有一些了解,特别是网格,win控件,IO,Collection,ADO.NET等。



现在,你将注意力转移到asp。网,你会发现它更容易开始。



祝你好运!

欢呼


是的,在ASP.NET之前学习C#和.NET绝对更好。在简单的仅限控制台的应用程序上进行练习是最好的。您需要从头到尾阅读手册,而不必跳过任何主题。指出你不太了解的东西,并返回。最重要的是关注基本主题,而不是每个小的和特定的API。



在.NET上,重点是理解程序集,程序集元数据(最初的想法就足够了),关于内存管理的想法,JIT,然后是通用类型系统。对语言的理解应首先基于基本事物,例如类型和实例,方法和参数以及参数传递方法,引用,引用与值类型和装箱。你需要密切关注CLR和语言之间的关系。下一步应该是OOP,你需要真正深入了解它。



当你基本上了解所有语言并深刻理解上述所有内容时,你可以舒服地转到更高级的主题,包括UI,ASP.NET等。您将需要了解HTTP和Web的基本工作方式。经验是其他一些服务器端技术可能会有很大的帮助。



这不是真正的策略,只是一些基本原则,例如:基础知识的重点,开发应用程序,深入了解你在做什么,更好,更好,但更好



现在,只有一个关于策略的想法。 没有任何特定策略就开始学习。没关系。当您在语言,平台和编程基础上首次通过扫描仪时,您可以考虑策略并设计一些初步计划。进入下一阶段的学习。如果您觉得需要,请重新考虑策略。 学习软件开发是迭代的,与软件开发本身一样。







哦,我差点忘了。这是每个软件开发人员应该阅读的最令人鼓舞的文章:

Peter Norvig,十年自学编程

http://norvig.com/21-days.html [ ^ ] ;-)。



-SA

For a beginner in .NET Web Development (2 months experience) , who chooses C# as there preferred language. Is it better to learn C# first - without trying to apply it web development. It seems most literature for C# uses Console or Windows forms as a learning platform. So would that be the best direction? Or should you practice in web development and try and learn C# alongside. My aim is "web development!" I have just graduated from college (BCA) and i believe you must be having an idea about how much a college graduate with no work experience knows generally knows.

解决方案

You can go either of the two -
Win/Console or
Web

But I would suggest to use Console/Win First to get acquainted with the syntax and most common namespace.

The most important thing is instead of following the sample chapters in leading text book, try to build a small real life application. Once you start building you will get stuck in several areas and then you can refer books or google the exact problem.

By the time, you finish building your small application, you will have some fair idea of components/namespace specially grid, win controls, IO, Collection, ADO.NET etc.

Now, you shift your focus to asp.net and you will find it much easier to start.

Best of luck!
cheers


Yes, it''s absolutely better to learn C# and .NET well before ASP.NET. It''s the best to do the exercises on simple console-only application. You need to read the manual from the beginning to the end, without skipping any topics. Indicate what you don''t understand well, and return back. It''s most important to focus on fundamental topics, not on every small and specific API.

On the .NET, it''s important to focus on understanding assemblies, assembly metadata (just the idea will be enough at first), the ideas on memory management, JIT, and then the universal type system. The understanding of the language should be first based on elementary things, such as types and instances, methods and parameters and parameter passing methods, references, reference vs value types and boxing. You need to keep an eye on relations between CLR and the language. Next step should be OOP, you will need really deep understanding of it.

When you basically know all about the language and deeply understand all of the above, you can comfortably move to more advanced topics, including UI, ASP.NET and more. You will need to learn how basically HTTP and Web work. Experience is some other server-side technology could be of a great help.

This is not really the strategy yet, but just some basic principles, such as: focus of fundamentals, develop application with deep understanding of what you are doing, better less but better.

Now, just one idea on the strategy. Start learning without any certain strategy. It''s just fine. When you make a first pass on the wat along the language, platform and programming basics, then you can think about strategy and devise some preliminary plan. Make a next stage of learning. Rethink the strategy if you feel you need it. Learning software development is iterative, exactly as well as the software development itself.

[EDIT]

Oh, I almost forgot. This is the most encouraging article every software developer should read:
Peter Norvig, Teach Yourself Programming in Ten Years,
http://norvig.com/21-days.html[^] ;-).

—SA


这篇关于C#/ Web开发学习策略的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆