从桌面开发人员的角度学习ASP.NET MVC的建议 [英] Recommendations for learning ASP.NET MVC from a desktop developer's perspective

查看:182
本文介绍了从桌面开发人员的角度学习ASP.NET MVC的建议的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的一个新年的决议是最终学习一些Web开发。我已经决定在ASP.NET MVC因为我在TDD和IOC的信徒。我在寻找的主题列表,也许是为了学习他们什么,我需要知道的是一个坚实的ASP.NET MVC开发者。也许这是尴尬,但唯一的网络体验我是HTML页面使用我WYSIWYG编辑器5+年前,当我还在大学里

One of my New Year's Resolutions is to finally learn some web development. I've decided on ASP.NET MVC as I'm a believer in TDD and IoC. I'm looking for a list of topics and perhaps an order to learn them for what I'll need to know to be a solid ASP.NET MVC developer. Perhaps this is embarassing, but the only web experience I have was html pages I made using WYSIWYG editors 5+ years ago when I was in college.

推荐答案

因此​​,首先,采摘ASP.NET MVC的祝贺。我不敢说,ASP.NET MVC比的WebForms更容易与工作。 WebForms的往往有点黑盒子的方式采取网络和更把它当作经典的WinForms开发。 WebForms的很可能是一个稍微的舒适的技术为您(从的WinForms开发推出),但MVC会离开你更深入的了解的如何在Web工程的,这是非常重要的

So first, congratulations on picking ASP.NET MVC. I dare say that ASP.NET MVC is easier to work with than WebForms. WebForms tends to take somewhat of a "black-box" approach to the web and treat it more like classic WinForms development. WebForms would probably be a slightly more comfortable technology for you (coming from WinForms development) but MVC will leave you with a greater understanding of how the web works, which is incredibly important.

在你潜入ASP.NET MVC,你可能要刷上HTTP的基础知识,因为当你开始的反应是不同的基础上要求动词写作的操作方法,了解是很重要的。这也是不错确切地知道HTTP头,以及如何在应用程序中加以利用。总之,这里是我的名单给你:

Before you dive into ASP.NET MVC, you may want to brush up on the basics of HTTP, because it is important to understand when you starting writing action methods that respond differently based on request verbs. It's also nice to know exactly what HTTP headers are, and how they can be leveraged in your application. Anyway, here's my list for you:


  • 菲尔哈克的:他是ASP.NET MVC的首席开发人员,他的博客有万吨巧妙的技巧和使用提示吧。

  • 斯科特Hanselman的:他曾与团队的NerdDinner和不时他的博客有一些巧妙的MVC的东西

  • 罗布科纳:罗布的ASP.NET MVC的一个狂热的启动子和一个活跃的开源贡献者。他在github吨code,供您浏览的灵感/指导,他也有的在他的博客和他的商业网站截屏的TekPub 。我建议从TekPub购买他的截屏,因为他只是一个惊人的presenter,使理解ASP.NET MVC那么容易了。

  • 斯科特Guthrie的:他在专业ASP.NET MVC 1.0与写方面与第一章的NerdDinner 的书,他总是有关于ASP.NET MVC即将到来的新功能,一些很酷的帖子。

  • 史蒂芬瓦尔特的:好像每次我看他的博客时他得到了另一个很酷的技巧或code片段与ASP.NET MVC。他还写了一本关于ASP.NET MVC有亚马逊的一些pretty好评。

  • Phil Haack: He is the lead developer on ASP.NET MVC, and his blog has tons of neat tricks and tips for using it.
  • Scott Hanselman: He worked with the team on NerdDinner and from time to time his blog has some neat MVC stuff.
  • Rob Conery: Rob's an avid promoter of ASP.NET MVC and an active open-source contributor. He has tons of code on github for you to browse for inspiration/guidance, and he also has tons of screencasts on his blog and on his business website, TekPub. I recommend purchasing his screencasts from TekPub because he's just an amazing presenter and makes understanding ASP.NET MVC so easy.
  • Scott Guthrie: He wrote the first chapter with respects to NerdDinner in the Professional ASP.NET MVC 1.0 book, and he always has some cool posts about new features coming in ASP.NET MVC.
  • Steven Walther: It seems like every time I look at his blog he's got another cool trick or code snippet related to ASP.NET MVC. He's also written a book on ASP.NET MVC that has some pretty good reviews on Amazon.

  • WDVL:超文本传输​​协议:再次,这是你的HTTP教程。我已经通过它的一部分读,它似乎pretty得体。你并不需要HTTP的一个坚如磐石的理解,但要求动词和头专门的概况会帮助你。

  • NerdDinner.com教程:这是ScottGu自己写的关于冗长的一步一步的指导如何创建一个从开始一个基本的ASP.NET MVC网站结束了。

  • 设备专业ASP.NET MVC 1.0 :这是一本由写这篇ASP.NET MVC团队,它确实解释框架的一个伟大的工作。

  • ASP.NET MVC框架偷跑:这是史蒂芬瓦尔特的书上的框架。它在亚马逊一些体面的评论,但我从来没有读过它自己,所以我真的不能说出我的意见的一种方式或其他。

  • WDVL: HyperText Transfer Protocol: Again, this is your HTTP tutorial. I've read through part of it and it seems pretty decent. You don't need a rock solid understanding of HTTP, but a general overview of request verbs and headers specifically will help you.
  • NerdDinner.com Tutorial: This is lengthy step-by-step guide written by ScottGu himself about how to create a basic ASP.NET MVC website from beginning to end.
  • Profesional ASP.NET MVC 1.0: This is a book by the team that wrote this ASP.NET MVC, and it really does a great job of explaining the framework.
  • ASP.NET MVC Framework Unleashed: This is Steven Walther's book on the framework. It has some decent reviews on Amazon, though I've never read it myself, so I couldn't really give my opinion one way or the other.

  • 罗布科纳的MVC店面系列:这些截屏是令人惊讶的帮助。在开始的时候,他们正在对MVC框架pre释放副本,所以有些东西已经改变了,但他们仍然对学习ASP.NET MVC惊人的材料。

  • Scott在ASP.NET MVC 2 Guthrie的presentations:看看这个页面的ASP.NET MVC部分。有在ASP.NET MVC未来2一些非常整洁的新功能,以及斯科特实际上建立从地上爬起来这个presentation了良好的基础。他带你穿越初学者的东西,然后再后显示利落的新花样。

  • 菲尔哈克的MIX09 MVC对话:伟大的内容在这里直接从人类自己。菲尔的实际上是一个伟大的presenter,并且有很多的好这里的内容。

  • 菲尔哈克的MIX09高级MVC对话:一些更高级的东西,巧妙的技巧,从菲尔

  • 斯科特Hanselman的文件 - >新建公司MIX09会议:在我实际出席本次会议,而我是在MIX09和斯科特的一个伟大的presenter。值得一鹅:)

  • 罗布科纳和史蒂芬·桑德森TekPub截屏:这些都不是免费的,但他们是值得每一分钱。罗布和史蒂芬是惊人的老师,我不能建议TekPub截屏足够了。他们是一流的。

  • Rob Conery's MVC Storefront Series: These screencasts are amazingly helpful. In the beginning they were working against pre-release copies of the MVC framework, so some stuff has changed, but they're still amazing material for learning ASP.NET MVC.
  • Scott Guthrie's Presentations on ASP.NET MVC 2: Look at the ASP.NET MVC section of this page. There are some really neat new features coming in ASP.NET MVC 2, and Scott actually builds a good foundation from the ground up with this presentation. He takes you through beginner stuff first and then shows the neat new tricks later.
  • Phil Haack's MIX09 MVC Session: Great content here straight from the man himself. Phil's actually a great presenter, and there's a lot of good content here.
  • Phil Haack's MIX09 Advanced MVC Session: Some more advanced stuff and neat tricks from Phil.
  • Scott Hanselman's File -> New Company MIX09 Session: I actually attended this session while I was at MIX09, and Scott's a great presenter. Well worth a gander :)
  • Rob Conery and Steven Sanderson TekPub Screencasts: These aren't free, but they're worth every penny. Rob and Steven are amazing teachers, and I can't recommend TekPub screencasts enough. They are top-notch.

既然你明确你的OP提到的IoC,有几个库和博客文章可能帮你:

Since you mentioned IoC specifically in your OP, there are a few libraries and blog posts that might help you with that:

  • Simone Chiaretta: How to use Ninject 2 with ASP.NET MVC: I actually use Ninject in my own personal projects, so this is a great resource if you're a fan of Ninject.
  • Rob Conery's "Hana" Source Code: Sometimes I just love seeing some quality reference code. This is actually the source for Rob's blog. He was using StructureMap originally, but I think he changed recently to Ninject.Mvc.
  • MVC Storefront DI Screencast: Rob talks about setting up dependency injection in the MVC Storefront. This one uses StructureMap I believe.
  • TekPub Concepts video (free): Rob goes over the basics of IoC and DI in this video if you need a refresher. It's free too :)

由于您正在寻找转移到网上,有你需要知道的以及其他的语言和技术。下面是一些简短的教程,让你开始的名单,虽然这些主题可以很容易地保证后一样大(或更大),比一个!

Because you're looking to move to the web, there are other languages and technologies that you need to know as well. Below is a list of some brief tutorials to get you started, although each of these subjects could easily warrant a post as big (or bigger) than this one!


  • HTML :看来愚蠢的我在这里提到这一点,但因为有很多我只提到它推挤这些天写的有效 HTML。大多数的可访问性和浏览器不兼容的问题可以通过让干净的标记是可以避免的。我个人使用XHTML在我的网站,但任何的doctype会做:)

  • 的JavaScript 的:这是可以用来使很多web应用感觉更像一个桌面整齐语言应用程序(除其他事项外)。有很多的性能提升和设计胜利,可以通过适当利用的JavaScript可以了。一旦你感到舒服的JavaScript,你可能会想,使移动到一个JavaScript库,使跨浏览器的兼容性非常容易。选择我的JavaScript库是 jQuery的

  • CSS :这是你应如何运用的风格的到你的网站。其中一个最大的错误,很多开发商做的就是让负责presentation他们的HTML(使用表格布局[圣战],等等,等等)。参数和圣战之外,CSS是一种有效的技能有,而且它确实是并不难,因为有些人可能让你相信:)

  • HTML: Seems silly that I'm mentioning this here, but I only mention it because there's a lot of push these days to write valid HTML. A majority of accessibility and browser incompatibility issues can be averted by having clean markup. I personally use XHTML in my sites, but any doctype will do :)
  • JavaScript: This is a neat language that can be used to make many web applications feel more like a desktop application (amongst other things). There are a lot of performance gains and design victories that can be had by properly leveraging JavaScript. Once you feel comfortable with JavaScript, you will probably want to make the move to a JavaScript library to make cross-browser compatibility very easy. My JavaScript library of choice is jQuery.
  • CSS: This is how you should be applying style to your websites. One of the biggest mistakes a lot of developers make is to make their HTML in charge of presentation (using tables for layouts [holy war], etc. etc.). Arguments and holy wars aside, CSS is a valid skill to have, and it really isn't as hard as some might have you believe :)

我知道这看起来很多,我可能已经淹没了你的材料阅读,但是我认为建立一个坚实的基础是很重要的。 Web开发是一个很大的乐趣,当你善于它,它绝对是谋生的好方法!祝你好运! ASP.NET MVC是一个伟大的框架,您已经有了一个很好的选择。

I know this seems like a lot, and I've probably inundated you with material to read, however I think it's important to build a solid foundation. Web development is a lot of fun when you are good at it, and it's definitely a great way to make a living! Good luck! ASP.NET MVC is a great framework, and you've made a great choice.

噢,还有,你可能想谷歌一些其他的东西在你的业余时间。他们往往是pretty先进的,所以我没有把它们放在这里,但你会碰到他们的时候你会得到更多的参与到网络世界:

Oh yeah, and there are a few other things you might want to Google in your spare time. They tend to be pretty advanced, so I didn't include them here, but you will run into them when you get more involved in the web world:


  • AJAX :让您的Web应用程序在后台更自然地表演,做的事情

  • Web服务:在网络上交换数据的通用的方法。例如,有提供的天气预报和股票报价的网络服务。您可以使用它们,甚至创造一些自己的!

  • XML和JSON :这是用来描述数据。当您序列上的Web,XML和/或JSON数据都是常规技术,大多数开发人员使用。 JSON是特别受欢迎,因为它可以很好地使在JavaScript中被消耗掉。

  • AJAX: Makes your web applications perform more naturally and do things in the background.
  • Web Services: A universal way to exchange data on the web. For example, there are web services that provide weather forecasts and stock quotes. You can consume them and even create some of your own!
  • XML and JSON: These are used to describe data. When you serialize data on the web, XML and/or JSON are the conventional technologies most developers use. JSON is popular particularly because it can be consumed so nicely within JavaScript.

这篇关于从桌面开发人员的角度学习ASP.NET MVC的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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