Here's what a real-world "Hello, World" TypeScript application looks like (beginning with a discussion of whether you need TypeScript at all).
If you like the idea of creating a new class from whatever other classes you have lying around, you have two ways of doing in TypeScript ... and both are type safe (within limits).
If you've got a recent version of Visual Studio (Visual Studio 2017 Community Edition, for example) then you can start creating an Android application. Here's what you need to do to get your first project set up.
You can move all your applications to the cloud in one giant migration. You might even live. Peter thinks there's a better, smarter way and it doesn't start with your Web applications.
The data science doctor explains everything you need to know about clustering data, the process of grouping items so those in a group (cluster) are similar and items in different groups are dissimilar.
- By James McCaffrey
- 04/30/2018
The ability to use SQL with Entity Framework Core has always been a cool feature. There's a new feature in Entity Framework Core that opens the door for whole new set of SQL-related functionality.
If you're wondering how to start integrating TypeScript into your development practices, here's both when to do it and how to do it.
Proving that Visual Studio tools can come from all manner of sources, a small dev firm in the Canary Islands is offering up its own homegrown toolset -- developed during the creation of an accounting program -- as a commercial product to let C# and VB.NET coders create Web apps without all that JavaScript and CSS stuff.
Wally builds an app prototype and in response to user feedback investigates how to play audio sound effects in response to events such as a button press.
- By Wallace McClure
- 03/29/2018
Our Data Science Lab guru explains how to implement the k-means technique for data clustering, or cluster analysis, which is the process of grouping data items so that similar items belong to the same group/cluster.
- By James McCaffrey
- 03/27/2018
Entity Framework is fabulous ... but it does impose some overhead. If you like working with data in an O-O kind of way but feel the "need for speed," then you should be looking at Dapper.
If you're coding Azure Functions in Visual Studio 2017 to work with Azure Storage, one tool that can assist when running functions locally is the Microsoft Azure Storage Emulator, as shown in this hands-on tutorial.
- By Jason Roberts
- 03/08/2018
If you need to create a version of a class from several sources or just want to merge default values with a user's input, object spreading solves your problem. JavaScript won't let you do this (yet) but TypeScript will.
If you're building services it's critical that you support the developers who will create and read your service's messages. JSON Schema lets you support the three principles of good message design in a way that supports developers.
You can dramatically simplify life for developers creating services and their consumers by following three rules for designing messages and then enforcing your message formats with JSON Schema.
Go hands-on with data scientist Dr. James McCaffrey as he explains neural network dropout, a technique that can be used during training to reduce the likelihood of model overfitting.
- By James McCaffrey
- 02/26/2018
If you're building services, then getting your message formats right can be the difference between success and failure. Here's an example of what can go wrong and how it could be fixed.
View components let you create reusable chunks of business logic coupled with a UI in multiple places in your application ... and then let you share that logic across multiple projects. Here's how to invoke them and share them.
ASP.NET Core lets you bundle up business functionality along with its related UI into a view component that you can reuse in throughout your application.
Web workers in TypeScript give you concurrent processing but they can be awkward to debug. However, if you set up your web worker code as just another function, you can simplify debugging (or even build your web worker dynamically at run time).