Work on the next version of ASP.NET continues. It's a world of Alpha software, Git commits, breaking changes, and daily builds. If you're not one for risk, this blog post is for you. Read about all the fun stuff that's going on, and install nothing. If you do like a little spice in your life, jump in and install some early builds and join this active and opinionated community.
Introducing ASP.NET vNext
We announced vNext in May and did some great talks at TechEddid some great talks at TechEd.
- The Future of .NET on the Server: ASP.NET vNext content and videos from TechEd 2014
- Deep Drive:.NET vNext on the Server
ASP.NET vNext has number of notable features, including, but not limited to:
- Open Source from the start and runs on Windows, Mac, and Linux.
- No compile, just refresh and go with runtime in-memory compilation from the Open Source Roslyn compiler.
- Optional cloud optimized local install the CoreCLR that runs great in Azure.
- Want to use a Mac and Sublime rather than Windows and VS? Sure.
- No strong naming, no dependency on System.Web
- Dependency injection everywhere
- side-by-side runtimes (one app can't hurt another, get your own versions of everything)
- NuGet Packages easy to bring in the new project.json system. But, you can also swap in the source for your favorite libraries!
Since then we've seen the release of betas of the next version of Visual Studio, like Visual Studio "14" CTP 3. This version of VS includes the ASP.NET vNext alpha 3 packages plus initial tooling. The project system is changing and this VS14 build includes Intellisense for the new Project.json files.
- ASP.NET and Web Development vNext Updates. This CTP includes all the Visual Studio 2013 Update 3 web tooling improvement and ASP.NET vNext alpha 3 runtime packages. It has improved tooling support for ASP.NET vNext, such as support for build configuration and support for unit tests, and it no longer includes content and compile items inside “.kproj” file. ASP.NET vNext includes an updated version of the RyuJIT JIT compiler. For details, please read the full post on the .NET Web Development Tools blog.
Separate from ASP.NET vNext, this build of VS14 also includes .NET Native, C++ updates, Shared Projects, as well as little things like retina icons for HiDPI displays.
Scaffolding for ASP.NET vNext
ASP.NET vNext is very modular and will include customizable command-line scaffolding . As with all of ASP.NET vNext, it's easy and alpha, but we've got blog posts up showing you how to get started with scaffolding. We've also got details on how to customize (of course) scaffolding for your personal needs.
ASP.NET vNext on a Mac
Sure, why not? We're working on a Sublime Text 3 plugin at https://github.com/ligershark/Kulture that means you'll be able to develop ASP.NET vNext apps in your favorite IDE. There's a quick YouTube video here.
There's also some clever community members with C# Intellisense working! The LEGO pieces are snapping together nicely.
This is just a taste, there's more coming that WILL surprise you
What else is possible?
- Folks have the Nancy framework running on ASP.NET vNext and OSX.
- Why not F# in ASP.NET vNext?
ASP.NET vNext going forward...Alpha 3
David Fowler has some great Alpha 3 details on his blog that cover some architecture changes and explains some choices. ASP.NET vNext apps get their own copy of the CLR/BCL when deployed, but this is a hassle when developing. So, ASP.NET vNext apps can use a Global NuGet repository (this is NOT the GAC, relax.)
Apps can also opt in to new C# 6 features easily with a quick change to project.json.
{
"compilationOptions": {
"languageVersion": "experimental"
}
}
Again, this is all happening in the open on GitHub at https://github.com/aspnet, so check out the last milestone's issues here: https://github.com/aspnet/KRuntime/milestones/1.0.0-alpha4
I'm sure I missed something. Sound off in the comments!
Sponsor: Many thanks to my friends at Raygun for sponsoring the feed this week. I *love* Raygun and use it myself. It's amazing. Get notified of your software’s bugs as they happen! Raygun.io has error tracking solutions for every major programming language and platform - Start a free trial in under a minute!
© 2014 Scott Hanselman. All rights reserved.