asp.net * WebForms *开发人员将来可以期待什么?

时间:2022-04-07 08:09:38

Although it is said that Webforms and MVC are treated equal I am in doubt. Most new stuff seems to be happening around MVC.

虽然据说Webforms和MVC被视为平等但我有疑问。大多数新东西似乎都围绕着MVC发生。

It's not about technical aspects, more a personal question.

这不是技术方面,而是个人问题。

So what to do?

那么该怎么办?

  • Keep with Webforms and set focus on Sharepoint (still Webforms)?
  • 继续使用Webforms并将重点放在Sharepoint(仍然是Webforms)上?
  • Keep with Webforms and simply trust Microsoft and the future of Webforms?
  • 继续使用Webforms,只需信任Microsoft和Webforms的未来?
  • Go back and start again with MVC (as a Beginner, 49 years old)?
  • 回去重新开始使用MVC(作为初学者,49岁)?
  • Try something completely new (Silverlight / LightSwitch)?
  • 尝试一些全新的东西(Silverlight / LightSwitch)?

Any Ideas?

有任何想法吗?

3 个解决方案

#1


6  

The reason there appears to be more movement on ASP.NET MVC is because ASP.NET Web Forms have been around much longer, so there is less to add. Microsoft do seem genuinely committed to providing both options to developers and with the new Routing rules now being available to Web Forms websites, you can get stuck into the restful URIs that MVC developers have been enjoying.

ASP.NET MVC似乎有更多动作的原因是因为ASP.NET Web Forms已经存在了很长时间,因此添加的内容较少。微软似乎真的致力于为开发人员提供这两个选项,并且现在Web窗体网站可以使用新的路由规则,您可以深入了解MVC开发人员一直享受的其他URI。

Having said this, learning ASP.NET MVC or Silverlight wouldn't be a bad thing. Choosing between these is really more to do with what you are working on. Silverlight and MVC are aimed at different applications entirely, so if you like writing "applications and interfaces" you might prefer Silverlight, if you are writing quality web pages, you'll prefer MVC.

说到这一点,学习ASP.NET MVC或Silverlight并不是件坏事。在这些之间进行选择更多地与您正在进行的工作有关。 Silverlight和MVC完全针对不同的应用程序,所以如果你喜欢编写“应用程序和接口”,你可能更喜欢Silverlight,如果你正在编写高质量的网页,你会更喜欢MVC。

Although you are 49, it really shouldn't take too long to master either of these. To be entirely up front, MVC will probably be less of a learning curve than Silverlight, but you could still be a ninja in either of these at 50 years old!!!

虽然你年满49岁,但掌握其中任何一个都不需要太长时间。要完全预先,MVC可能不会像Silverlight那样学习曲线,但你可能仍然是50岁时的任何一个忍者!

#2


2  

Scott Guthrie wrote an interesting article about webforms vs mvc: About Technical Debates (and ASP.NET Web Forms and ASP.NET MVC debates in particular).

Scott Guthrie写了一篇关于webforms vs mvc的有趣文章:关于技术辩论(特别是ASP.NET Web Forms和ASP.NET MVC辩论)。

I myself am busy with webforms professionally since 2002 and also took notice of MVC when it came out. My current assignment as a consultant is an MVC2 project. I read a couple of books, took some tutorials (http://www.asp.net/mvc) and made a couple of presentations about it for user groups.

我自2002年以来一直专注于webforms,并且在它出现时也注意到了MVC。我目前担任顾问的任务是MVC2项目。我读了几本书,拿了一些教程(http://www.asp.net/mvc)并为用户组做了几个关于它的演示。

Personally I saw that MVC seems to get more attention than standard webforms. Mainly due to several reasons:

我个人认为MVC似乎比标准的webforms更受关注。主要原因有以下几点:

  • it's a new team focussing on new technology and the way they develop is more agile
  • 这是一支专注于新技术的新团队,他们的发展方式更灵活
  • webforms always were released with a new version of the .NET framework/Visual Studio. MVC has a more out of band approach and they don't (have to) stick to new releases of either the framework or the IDE.
  • webforms总是随着.NET框架/ Visual Studio的新版本发布。 MVC具有更多的带外方法,并且他们不必(必须)坚持使用框架或IDE的新版本。
  • webforms is getting quite mature. Face it, it's already a way cool environment to work in. Lots of default controls, lots of third party controls, added Ajax support and the toolkit.
  • webforms越来越成熟。面对它,它已经是一种很酷的工作环境。许多默认控件,许多第三方控件,添加了Ajax支持和工具包。

I've written several small, average and quite big applications with webforms and I'm glad they all worked out for my clients.

我用webforms编写了几个小的,平均的和相当大的应用程序,我很高兴他们都为我的客户工作。

Go back and start again with MVC (as a Beginner, 49 years old)?

回去重新开始使用MVC(作为初学者,49岁)?

I would like to answer with a quote: Live as if you were to die tomorrow. Learn as if you were to live forever. Mahatma Ghandi.

我想用一句话来回答:好像你明天就要死了一样。活到老,学到老。圣雄甘地。

MVC is different from webforms that's true but you also are using the same underlying platform. Session state, querystring, membership, Cache, ... all that's still there. What you're missing out most is the usage of server controls and a new way of requesting your "pages".

MVC与webforms不同,但它们也使用相同的底层平台。会话状态,查询字符串,成员资格,缓存,......所有这些仍然存在。您最缺少的是服务器控件的使用以及请求“页面”的新方法。

I might not be able to convince you to take a look over the fence and to try out some of the simple tutorials over here but I sure hope you will at least take a look at them. Trying to learn at least the concepts will only benefit your career. At least try to read the 6 part tutorial of musicstore or the free eBook from Nerddinner.

我可能无法说服你看看篱笆并尝试一些简单的教程,但我相信你至少会看看它们。试图至少学习这些概念只会有益于你的事业。至少尝试阅读音乐商店的6部分教程或Nerddinner的免费电子书。

#3


2  

That's not going back. That's going further.

那不会回头。那是进一步的。


Btw, have You seen presentation

顺便问一下,你看过演讲吗?

"The Next Big Thing Or Cool-Kid Koolaid? Slicing Through The Rhetoric of MVC vs. WebForms"

“下一件大事还是Cool-Kid Koolaid?切入MVC与WebForms的修辞”

by Rob Conery?

Rob Conery?

#1


6  

The reason there appears to be more movement on ASP.NET MVC is because ASP.NET Web Forms have been around much longer, so there is less to add. Microsoft do seem genuinely committed to providing both options to developers and with the new Routing rules now being available to Web Forms websites, you can get stuck into the restful URIs that MVC developers have been enjoying.

ASP.NET MVC似乎有更多动作的原因是因为ASP.NET Web Forms已经存在了很长时间,因此添加的内容较少。微软似乎真的致力于为开发人员提供这两个选项,并且现在Web窗体网站可以使用新的路由规则,您可以深入了解MVC开发人员一直享受的其他URI。

Having said this, learning ASP.NET MVC or Silverlight wouldn't be a bad thing. Choosing between these is really more to do with what you are working on. Silverlight and MVC are aimed at different applications entirely, so if you like writing "applications and interfaces" you might prefer Silverlight, if you are writing quality web pages, you'll prefer MVC.

说到这一点,学习ASP.NET MVC或Silverlight并不是件坏事。在这些之间进行选择更多地与您正在进行的工作有关。 Silverlight和MVC完全针对不同的应用程序,所以如果你喜欢编写“应用程序和接口”,你可能更喜欢Silverlight,如果你正在编写高质量的网页,你会更喜欢MVC。

Although you are 49, it really shouldn't take too long to master either of these. To be entirely up front, MVC will probably be less of a learning curve than Silverlight, but you could still be a ninja in either of these at 50 years old!!!

虽然你年满49岁,但掌握其中任何一个都不需要太长时间。要完全预先,MVC可能不会像Silverlight那样学习曲线,但你可能仍然是50岁时的任何一个忍者!

#2


2  

Scott Guthrie wrote an interesting article about webforms vs mvc: About Technical Debates (and ASP.NET Web Forms and ASP.NET MVC debates in particular).

Scott Guthrie写了一篇关于webforms vs mvc的有趣文章:关于技术辩论(特别是ASP.NET Web Forms和ASP.NET MVC辩论)。

I myself am busy with webforms professionally since 2002 and also took notice of MVC when it came out. My current assignment as a consultant is an MVC2 project. I read a couple of books, took some tutorials (http://www.asp.net/mvc) and made a couple of presentations about it for user groups.

我自2002年以来一直专注于webforms,并且在它出现时也注意到了MVC。我目前担任顾问的任务是MVC2项目。我读了几本书,拿了一些教程(http://www.asp.net/mvc)并为用户组做了几个关于它的演示。

Personally I saw that MVC seems to get more attention than standard webforms. Mainly due to several reasons:

我个人认为MVC似乎比标准的webforms更受关注。主要原因有以下几点:

  • it's a new team focussing on new technology and the way they develop is more agile
  • 这是一支专注于新技术的新团队,他们的发展方式更灵活
  • webforms always were released with a new version of the .NET framework/Visual Studio. MVC has a more out of band approach and they don't (have to) stick to new releases of either the framework or the IDE.
  • webforms总是随着.NET框架/ Visual Studio的新版本发布。 MVC具有更多的带外方法,并且他们不必(必须)坚持使用框架或IDE的新版本。
  • webforms is getting quite mature. Face it, it's already a way cool environment to work in. Lots of default controls, lots of third party controls, added Ajax support and the toolkit.
  • webforms越来越成熟。面对它,它已经是一种很酷的工作环境。许多默认控件,许多第三方控件,添加了Ajax支持和工具包。

I've written several small, average and quite big applications with webforms and I'm glad they all worked out for my clients.

我用webforms编写了几个小的,平均的和相当大的应用程序,我很高兴他们都为我的客户工作。

Go back and start again with MVC (as a Beginner, 49 years old)?

回去重新开始使用MVC(作为初学者,49岁)?

I would like to answer with a quote: Live as if you were to die tomorrow. Learn as if you were to live forever. Mahatma Ghandi.

我想用一句话来回答:好像你明天就要死了一样。活到老,学到老。圣雄甘地。

MVC is different from webforms that's true but you also are using the same underlying platform. Session state, querystring, membership, Cache, ... all that's still there. What you're missing out most is the usage of server controls and a new way of requesting your "pages".

MVC与webforms不同,但它们也使用相同的底层平台。会话状态,查询字符串,成员资格,缓存,......所有这些仍然存在。您最缺少的是服务器控件的使用以及请求“页面”的新方法。

I might not be able to convince you to take a look over the fence and to try out some of the simple tutorials over here but I sure hope you will at least take a look at them. Trying to learn at least the concepts will only benefit your career. At least try to read the 6 part tutorial of musicstore or the free eBook from Nerddinner.

我可能无法说服你看看篱笆并尝试一些简单的教程,但我相信你至少会看看它们。试图至少学习这些概念只会有益于你的事业。至少尝试阅读音乐商店的6部分教程或Nerddinner的免费电子书。

#3


2  

That's not going back. That's going further.

那不会回头。那是进一步的。


Btw, have You seen presentation

顺便问一下,你看过演讲吗?

"The Next Big Thing Or Cool-Kid Koolaid? Slicing Through The Rhetoric of MVC vs. WebForms"

“下一件大事还是Cool-Kid Koolaid?切入MVC与WebForms的修辞”

by Rob Conery?

Rob Conery?