Practical TypeScript. Creating Type-Safe Structures (and Dictionaries) with Tuples

Peter Vogel. Visual Studio Magazine. 2016-02-22
When classes are more structure than you need, tuples let you specify simple type-safe aggregates of other data types. They’ll also let you create a dictionary collection…but it won’t be type-safe.

[Practical TypeScript. Creating Type-Safe Structures (and Dictionaries) with Tuples]

Advertisements

How To Be MEAN: Let’s Be DEAN

Ted Neward. MSDN Magazine. 2016-07-01.
Welcome back again, MEANers. Or, rather, for this month, “DEAN”ers.
One of the things that makes conversations and architecture around the MEAN stack so compelling is that the MEAN stack is intrinsically flexible—you can replace components of the stack with other, more-or-less-equivalent parts and create a new stack that can address corporate/business needs without surrendering the essence of the architecture. As a demonstration of that concept, in this column I’m going to experiment with replacing MongoDB with Microsoft Azure DocumentDB (hence, the “D” in place of the “M”).

[How To Be MEAN: Let’s Be DEAN]

Introduction to DocumentDB: A NoSQL JSON Database

Mimi Gentz. Mcrosoft Azure. 2016-07-01
Azure DocumentDB is a fully managed NoSQL database service built for fast and predictable performance, high availability, automatic scaling, global distribution, and ease of development. Its flexible data model, consistent low latencies, and rich query capabilities make it a great fit for web, mobile, gaming, and IoT, and many other applications that need seamless scale.

[Introduction to DocumentDB: A NoSQL JSON Database]

The Working Programmer – How To Be MEAN: Passport

Ted Neward. MSDN Magazine. 2016-06-01.
Welcome back, MEANers.
I’ve been doing a ton of server-side work and it’s getting close to the time that I start moving over to the client end of things. Before I do that, though, there’s one more thing that absolutely needs discussing before I can make the transition entirely. Specifically, I need to be able to support users. Most applications (if not all of them, by this point) require some kind of user authentication mechanism to establish a user’s identity, typically so that you can restrict the data that you show them or the options that you allow them to do within the system.
While it’s always tempting to “roll your own,” within the Node community, that’s just so 2010! The right answer to any of these kinds of dilemmas is always “go to npm,” and in this case, the widespread hands-down winner around authentication systems is a Node.js library called Passport.

The Working Programmer – How To Be MEAN: Passport

Visual Studio “15” Preview 4

John Montgomery. Visual Studio Blog. 2016-08-22.
Today we released Visual Studio “15” Preview 4, introducing many new improvements and bug fixes that bring us one stage closer to the product’s completion.
The highlight of this release is that nearly all of VS is running on the new setup engine, resulting in a smaller, faster and less impactful installation. The smallest install is less than 500 MB on disk (compared to 6GB in the previous release of Visual Studio). There are a couple of “workloads” that aren’t present yet, including .NET Core tooling and Azure tooling, but the rest of the existing VS 2015 feature set is available.

Visual Studio “15” Preview 4

What’s New in C# 7.0

Mads Torgersen. .Net Blog. 2016-08-24.
What follows is a description of all the planned language features in C# 7.0. With the release of Visual Studio “15” Preview 4, most of these features are coming alive. Now is a great time to take them for a spin and tell us your thoughts!
C# 7.0 adds a number of new features and brings a focus on data consumption, code simplification and performance. Perhaps the biggest features are tuples, which make it easy to have multiple results, and pattern matching which simplifies code that is conditional on the shape of data. But there are many other features big and small. We hope that they all combine to make your code more efficient and clear, and you more happy and productive.Please use the “send feedback” button at the top of the Visual Studio window to tell us if something is not working as you expect, or if you have thoughts on improvement of the features.There are still a number of things not fully working in Preview 4. In the following I have described the features as they are intended to work when we release the final version, and called out in notes whenever things don’t yet work as planned. I should also call out that plans change – not least as the result of the feedback we get from you! Some of these features may change or disappear by the time the final release comes out.
If you are curious about the design process that led to this feature set, you can find a lot of design notes and other discussion at the Roslyn GitHub site.
Have fun with C# 7.0, and happy hacking!

What’s New in C# 7.0

Qt Creator 4.0 released with integrations and open-source features

Madison Moore. SD Times. 2016-05-11.
The cross-platform application and UI framework Qt announced the release of Qt Creator 4.0.0 today, which comes only a few months after its beta release in March. With this release, several features and integrations are available as open source, including code for the Clang Static Analyzer integration. Qt Creator is a cross-platform IDE that helps developers with application and UI development. With the release of Qt Creator 4.0, Qt is making the Clang Static Analyzer integration, extended QML profiler features, and experimental auto-test integration available as open source.

Qt Creator 4.0 released with integrations and open-source features

The Qt Lite project makes Qt available for any platform, thing or size

Christina Mulligan. SD Times. 2016-08-19.
The cross-platform application development framework Qt is getting stripped down for developers. The Qt company has announced the Qt Lite project, a new initiative to give developers the ability to use only what they need from the Qt framework. “The amount of devices and things surrounding us are rapidly increasing, becoming more intelligent and requiring software that runs on a greater variety of hardware—everything from IoT devices with or without a screen, smartwatches through to high-end smart TVs and industrial-grade PCs. “As the requirements and the world of software development is changing, so does Qt,” wrote Nils Christian Roscher-Nielsen, product manager at Qt, in a blog post.

The Qt Lite project makes Qt available for any platform, thing or size