Future Of The Web: WebAssembly Previews Launched By Google, Mozilla, And Microsoft

Future Of The Web: WebAssembly Previews Launched By Google, Mozilla, And Microsoft

WebAssembly or wasm is an experimental efficient low-level programming language for in-browser client-side scripting, which is currently in development. Its initial aim is to support compilation from C/C++,[1]though other source languages are also intended to be supported. WebAssembly is a portable abstract syntax tree[2] which is designed to be faster to parse than JavaScript, as well as faster to execute.[1] The initial implementation of WebAssembly support in browsers will be based on asm.js[3] and PNaCl.[4] After the minimum viable product (MVP) release, there are plans to support garbage collection[5] which would make WebAssembly a compilation target for garbage collected programming languages like Java and C#. The team working on WebAssembly includes people from Mozilla, Google, Microsoft, and Apple (who respectively control the four major browsers, Firefox, Chrome, Microsoft Edge, and Safari).[4]

WebAssembly was first announced on 17 June 2015[6] and on 15 March 2016 was demonstrated executing Unity‘s Angry Bots in Firefox,[7] Chrome,[8] and Microsoft Edge.[9]

Read More!

Building a RESTful API with ASP.NET 5

Building a RESTful API with ASP.NET 5

Really cool post, with nice example. Here  is the summary:

With ASP.NET 5 and MVC 6, Microsoft have really modernized the platform. The new Startup approach with configurable middleware is more in line with the expressjs way of doing things and with no static GlobalConfiguration class the design just feels cleaner. The support for environment based configuration simplifies builds by allowing making configuration an environment concern. Both dependency injection and logging are far better supported out of the box but we still have the option of plugging our own solutions in these areas too.

The only real gripe I have with the experience of creating a RESTful API is the lack of support for JSON requests without the [FromBody] attribute.

So on balance I really like what Microsoft are doing with the new platform. It will be interesting to see what it looks like come v1.0.0 since they are already making fairly major changes since RC1, and remember, if you want to see something that isn’t supported then you can always contribute by adding a pull request.

Click here to read more.