Feeds

NO, Microsoft hasn't given up on .Net, and YES it's all about cloud

.Net vNext, ASP.Net vNext want to be cloud's 'first framework'

Choosing a cloud hosting partner with confidence

TechEd 2014 Developers who were worried that Microsoft was retreating from .Net can breathe easier, as the software giant had a host of .Net-related announcements to make at its annual TechEd North America conference this week.

Recent Build developer conferences have been light on .Net content, between Microsoft pushing JavaScript and web technologies for Windows Store apps, and its renewed emphasis on C++ for the desktop.

But Monday's TechEd announcements saw Redmond sprucing up .Net for a different role than either of those technologies – one aimed squarely at server-side applications and the cloud.

"On the cloud and on servers, the future of .Net is about the modern web," Microsoft developer VP "Soma" Somasegar wrote in a blog post. "Our goal is for the next version of .Net to be the first and only framework designed for the cloud, helping you to create on-premises applications and move them to the cloud with no changes and at the same time leveraging all the power of the cloud."

Collectively, these efforts are being lumped under the name ".Net vNext", a multi-pronged initiative that will take the platform in several new directions at once.

Slimming down for the cloud

One of the more significant announcements on Monday was that .Net vNext will include a "cloud optimized mode," which will be a lightweight version that eliminates libraries that aren't needed for server-side deployments, such as Windows Forms and Windows Presentation Foundation.

The cloud mode will also allow developers to bundle the .Net Framework libraries they need with their apps on an app-by-app basis. Different apps running on the same server will be able to run different versions of the same libraries without conflicts. The libraries themselves will also be streamlined to reduce their footprints.

Building on top of this more agile version of .Net will be ASP.Net vNext, the next version of Microsoft's server-side web technology and what the .Net team described as "our big announcement at TechEd."

From what we know so far, ASP.Net vNext was clearly designed with the cloud in mind. According to Redmond's developers, applications built on it will automatically adjust the behavior of such services as caching and session state depending on whether they are running in a traditional hosting environment or in a cloud.

"We use dependency injection behind the scenes to provide your app with the correct implementation for these services," the .Net team explained. "Using this approach, it is really easy to move your app from on-premises to the cloud, since our code changes, not yours."

API.Net vNext will also include updated versions of a number of APIs, where MVC, Web API, and Web Pages have all been merged into a unified programming model. A single controller can return MVC views and Web API responses, for example.

The revamped platform will also be integrated with Microsoft's new .Net Compiler Platform, aka "Roslyn," allowing near-real-time recompilation of ASP code. Code changes made in Visual Studio will be reflected immediately in the browser after a refresh, without a separate build cycle.

At last: truly cross-platform .Net?

In a surprising but welcome move, Redmond says it is taking steps to make sure all of this works on more platforms than just Windows. Although .Net is a managed-code platform, much like Java, in the past Microsoft has never gone in for Java's "write once, run anywhere" ethos. For .Net vNext, however, it has been working with Xamarin to make sure its .Net packages run on OS X and Linux, via the open source Mono project.

The software giant has even gone as far as to develop a tool called ApiPort that can analyze .Net code for its portability. The tool not only alerts developers to any potential problem areas, but it also uploads its analysis to Redmond so that Microsoft can prioritize the "most requested" API/platform combinations.

Finally, Microsoft says it has committed to releasing all of the .Net vNext technologies as open source software via its newly inaugurated .Net Foundation – which it says shouldn't come as a surprise, since all of the ASP.Net Web stack is already open source.

In all, it's clear that Microsoft has ambitious plans for .Net, and by targeting cloud deployments it's addressing a healthy, growing market. Whether it can win over enough converts to grow .Net's share of that market remains to be seen.

"We'll share much more in the months to come before we release the final versions," the .Net team said in a lengthy blog post explaining the new direction. "We're looking forward to shipping pre-release versions in order to get your feedback." ®

Intelligent flash storage arrays

More from The Register

next story
UNIX greybeards threaten Debian fork over systemd plan
'Veteran Unix Admins' fear desktop emphasis is betraying open source
Netscape Navigator - the browser that started it all - turns 20
It was 20 years ago today, Marc Andreeesen taught the band to play
Redmond top man Satya Nadella: 'Microsoft LOVES Linux'
Open-source 'love' fairly runneth over at cloud event
Return of the Jedi – Apache reclaims web server crown
.london, .hamburg and .公司 - that's .com in Chinese - storm the web server charts
Chrome 38's new HTML tag support makes fatties FIT and SKINNIER
First browser to protect networks' bandwith using official spec
Admins! Never mind POODLE, there're NEW OpenSSL bugs to splat
Four new patches for open-source crypto libraries
prev story

Whitepapers

Forging a new future with identity relationship management
Learn about ForgeRock's next generation IRM platform and how it is designed to empower CEOS's and enterprises to engage with consumers.
Cloud and hybrid-cloud data protection for VMware
Learn how quick and easy it is to configure backups and perform restores for VMware environments.
Three 1TB solid state scorchers up for grabs
Big SSDs can be expensive but think big and think free because you could be the lucky winner of one of three 1TB Samsung SSD 840 EVO drives that we’re giving away worth over £300 apiece.
Reg Reader Research: SaaS based Email and Office Productivity Tools
Read this Reg reader report which provides advice and guidance for SMBs towards the use of SaaS based email and Office productivity tools.
Security for virtualized datacentres
Legacy security solutions are inefficient due to the architectural differences between physical and virtual environments.