webmatrix3.0_发布了ASP.NET MVC3,WebMatrix,NuGet,IIS Express和Orchard-上下文中的Microsoft January Web版本...

webmatrix3.0

webmatrix3.0

image

At PDC10 last November I did a talk on the "Unnamed Package of Web Love", showing ASP.NET MVC3 and Razor Syntax, the NuGet Package Manager, as well as SQL Compact Edition and a little "Entity Framework Magic Unicorn." I make up my own names when I don't like what Microsoft names things, as you may notice.

去年11月在PDC10上,我做了一个关于Web Love的未命名包的演讲,展示了ASP.NET MVC3和Razor语法,NuGet包管理器以及SQL Compact Edition和一个小的“ Entity Framework Magic Unicorn” 。 您可能会注意到,当我不喜欢Microsoft用什么来命名时,我会自己命名。

Today Microsoft announced the (actual, final, honest) releases of:

微软今天宣布了(实际,最终,诚实)的发布:

  • ASP.NET MVC3 with Razor

    带有Razor的ASP.NET MVC3

    ASP.NET MVC3 with Razor

    带有Razor的ASP.NET MVC3

  • NuGet

    NuGet

    • NuGet is a package manager for .NET. It ships with ASP.NET MVC, but you can go get it separately if you like. Installing open source libraries is as simple as "install-package elmah" - it's great fun.

      NuGet是.NET的软件包管理器。 它与ASP.NET MVC一起提供,但是您可以根据需要单独获得它。 安装开源库就像“ install-package elmah”一样简单,这很有趣。

    NuGet

    NuGet

  • WebMatrix (also with Razor)

    WebMatrix (也带有Razor)

    • WebMatrix is a small development environment that uses the simple Razor syntax to create websites really quickly. You can start from a gallery of existing open source applications or start from scratch. For example, Rob Conery and I wrote the little podcast site and feed for http://thisdeveloperslife.com in a day with WebMatrix.

      WebMatrix是一个小型开发环境,使用简单的Razor语法即可真正快速地创建网站。 您可以从现有开放源代码应用程序的画廊开始,也可以从头开始。 例如, Rob Conery和我用WebMatrix在一天之内为http://thisdeveloperslife.com编写了小型播客站点和提要。

    • NuGet package management is built into WebMatrix, too! Make a new site, run it, and hit /_admin. Dance.

      NuGet包管理也内置在WebMatrix中! 创建一个新站点,运行它,然后单击/ _admin。 舞蹈。

    WebMatrix (also with Razor)

    WebMatrix (也带有Razor)

  • IIS 7.5 Express

    IIS 7.5 Express

    • Yes, you can install it on its own. It's IIS, except it runs as a user process rather than a service. Cassini (Visual Developer Web Server) is dead! It's "just in time" IIS. There when you need it, and not running when it's not used.

      是的,您可以自行安装。 它是IIS,只是它作为用户进程而不是服务运行。 卡西尼(Visual Developer Web服务器)已死! 这是“及时”的IIS。 在需要时就在那里,不使用时就不运行。
    • This is the web server that Web Matrix uses today, but it'll be enabled in Visual Studio 2010 when SP1 comes out.

      这是Web Matrix如今使用的Web服务器,但是SP1发布时将在Visual Studio 2010中启用它。

    IIS 7.5 Express

    IIS 7.5 Express

  • SQL Compact Edition 4

    SQL Compact Edition 4

    • SQL Compact Edition is sweet because is a tiny in-process (no services, don't need to be admin) database that's great for small sites that aren't ready for SQL Server proper. It's xcopy-deployable and runs nicely on hosted sites. It's the default database for WebMatrix and I'm using it in Visual Studio for sites where my database isn't big enough to justify a SQL license.

      SQL Compact Edition之所以出色,是因为它是一个很小的进程内数据库(无服务,无需管理员),非常适合尚未准备好使用SQL Server的小型站点。 它可以通过xcopy部署,并且可以很好地在托管站点上运行。 它是WebMatrix的默认数据库,我在Visual Studio中将其用于数据库不足以证明SQL许可证合理的站点。
    • You can use SQL Compact today in Visual Studio at runtime, much like I did in my PDC talk, but you won't be able to design and open your database in VS until SP1. (You can use this Non-MS CodePlex project temporarily, but I didn't tell you.)

      您现在可以在运行时在Visual Studio中使用SQL Compact,就像我在PDC演讲中所做的那样,但是直到SP1才能在VS中设计和打开数据库。 (您可以临时使用此Non-MS CodePlex项目,但我没有告诉您。)

    SQL Compact Edition 4

    SQL Compact Edition 4

  • Web Farm Framework 2.0 and Web Deploy

    Web Farm Framework 2.0和Web部署

    • Makes setting up multiple servers way easier. Treat and manage groups of servers, use ARR for load-balancing (or use 3rd party balancers), and upgrade, switch, and add servers with PowerShell. Mmm....PowerShell.

      使设置多台服务器更加容易。 处理和管理服务器组,使用ARR进行负载平衡(或使用第三方平衡器),以及使用PowerShell升级,切换和添加服务器。 嗯.... PowerShell。

    Web Farm Framework 2.0 and Web Deploy

    Web Farm Framework 2.0和Web部署

  • Orchard 1.0

    果园1.0

    Orchard 1.0

    果园1.0

It's the January Web Release, say I, and the easiest way to get it is with Web Platform Installer 3.0, which also went live today. Using direct links to products within the Web Platform installer will automatically add any dependencies you might need.

我说,这是一月份的Web版本,最简单的方法是使用Web Platform Installer 3.0 ,该版本也于今天发布。 使用Web平台安装程序中产品的直接链接将自动添加您可能需要的所有依赖项。

怎么办? 我吓坏了! (Now what? I'm freaking out!)

Folks sometimes say "slow down, you're freaking me out, this is too much new stuff. What about my current stuff?" Here's a few statements from me personally on today's releases.

人们有时会说:“放慢脚步,你吓到我了,这太新了。我现在的东西呢?” 这是我本人今天发布的一些声明。

  • Just because ASP.NET MVC 3 came out today, doesn't mean WebForms doesn't have some cool features coming. Remember that "ASP.NET > ASP.NET MVC". You'll see features and improvements from both technologies move between MVC and WebForms.

    仅仅因为ASP.NET MVC 3今天问世,并不意味着WebForms不会提供一些很棒的功能。 请记住,“ ASP.NET> ASP.NET MVC”。 您将看到两种技术的功能和改进在MVC和WebForms之间转移。
  • IIS Express will integrate with VS2010 in SP1 and work with both WebForms and MVC.

    IIS Express将在SP1中与VS2010集成,并与WebForms和MVC一起使用。
  • You can mix Razor Views and Web Forms Views within MVC. The creation/existence of Razor doesn't obviate your existing work.

    您可以在MVC中混合使用Razor视图和Web窗体视图。 Razor的创建/存在不会消除您现有的工作。
  • SQL Compact works great with WebForms as well as ASP.NET MVC, not to mention any .NET project. Ever want a tiny database for a command-line app and didn't want the headache? Bam.

    SQL Compact与WebForms和ASP.NET MVC都可以很好地工作,更不用说任何.NET项目了。 曾经想要一个用于命令行应用程序的小型数据库,又不想头痛吗? am
  • SQL Compact database can be upgraded into full SQL Server databases when/if you outgrow SQL Compact.

    当/如果不再使用SQL Compact,则可以将SQL Compact数据库升级为完整SQL Server数据库。
  • While NuGet is bundled with ASP.NET MVC in today's release, you can use it for any .NET project type. Most NuGet libraries are not specific to ASP.NET MVC.

    虽然NuGet在今天的版本中与ASP.NET MVC捆绑在一起,但是您可以将其用于任何.NET项目类型。 大多数NuGet库并非特定于ASP.NET MVC。

As I've said before, Microsoft is creating new LEGO pieces for software development to round our existing collection of bricks out. Be exited about these bricks, but remember they augment the existing ones, not replace them.

正如我之前所说,微软正在为软件开发创建新的乐高积木,以完善我们现有的积木系列。 对这些积木不屑一顾,但要记住,它们会增加现有的积木,而不是取代它们。

现在怎么办? (What now?)

I'd recommend you go get MVC3 and WebMatrix, preferably at the same time via one of these Web Platform links. That should get you all these other nice things chained in. In the spring when VS2010 SP1 comes out, the tooling and management bits for SQL Compact and IIS Express will be enabled.

我建议您最好通过这些Web平台链接之一同时获取MVC3WebMatrix 。 那应该使您拥有所有其他美好的事物。在VS2010 SP1发行的春天,将启用SQL Compact和IIS Express的工具和管理位。

Stuff to Get

获得的东西

ReSharper更新 (ReSharper Updated)

One other note, the folks at JetBrains were ready for this and spun a new build of ReSharper, so ReSharper 5.1.2 doesn’t interfere with Visual Studio IntelliSense in ASP.NET MVC 3 Razor syntax. Earlier ReSharper 5.x builds had certain issues with Razor IntelliSense that are addressed in 5.1.2. Specifically, ReSharper 5.1.2 doesn’t prevent Visual Studio from automatically providing its own IntelliSense in .cshtml and .vbhtml web pages anymore: both code completion and Parameter Info work as expected. Other than that, ReSharper 5.x doesn’t provide any additional support for Razor: only ReSharper 6 will bring full support for this view engine. Pre-release ReSharper 6 builds are currently available via Early Access Program, so if you're a ReSharper user, be aware!

另一个要注意的是,JetBrains的人们已经为此做好了准备,并旋转了一个新版本的ReSharper,因此ReSharper 5.1.2不会干扰ASP.NET MVC 3 Razor语法中的Visual Studio IntelliSense 。 较早的ReSharper 5.x版本在Razor IntelliSense中存在某些问题,这些问题已在5.1.2中解决。 特别是,ReSharper 5.1.2不会再阻止Visual Studio在.cshtml和.vbhtml网页中自动提供其自己的IntelliSense:代码完成和参数信息均按预期工作。 除此之外,ReSharper 5.x不提供对Razor的任何其他支持:只有ReSharper 6会对此视图引擎提供完全支持。 当前,可通过Early Access Program获得预发布的ReSharper 6版本,因此,如果您是ReSharper用户,请注意!

Enjoy.

请享用。

Related Links

相关链接

翻译自: https://www.hanselman.com/blog/aspnet-mvc3-webmatrix-nuget-iis-express-and-orchard-released-the-microsoft-january-web-release-in-context

webmatrix3.0

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值