Here's how to use Angular2 and TypeScript to retrieve JSON objects from an ASP.NET MVC controller and populate your page with the results.
Windows Template Studio, the wizard-based coding engine for Windows 10 UWP apps, gains momentum with a newer point release this week. Also, in this week's .NET Insight Podcast, we ask: Who are your programming heroes?
- By Michael Domingo
- 06/30/2017
When something goes wrong with your Web Service the decent thing to do is to return your errors in a variety of ways.
You like the idea of an AJAX application, but would rather not write the JavaScript yourself. You're in luck: ASP.NET MVC provides two tools that write the client-side code for you. And these tools even make sense if you’re comfortable with writing your own JavaScript.
C# finally gets the BASIC GOSUB feature through local functions, but local functions take that GOSUB-like capability up a few notches.
Sensibly, ASP.NET MVC 5 prevents users from entering HTML or Script tags into your page's textboxes, protecting you from a wide variety of hacks. However, for those rare occasions when you do need to let the user enter tags, here's how to do it.
Wally shows you how to use Xamarin.iOS to create a pedometer app for a Fitbit that employs the CoreMotion Framework.
- By Wallace McClure
- 06/20/2017
You don't have to resort to writing C++ to work with popular machine learning libraries such as Microsoft's CNTK and Google's TensorFlow. Instead, we'll use some Python and NumPy to tackle the task of training neural networks.
- By James McCaffrey
- 06/15/2017
Long live the programming language that is still running strong well into the second half of its third decade. What might help it is a provision for VB-based .NET Core and .NET Standard libraries in an upcoming VS 2017 release.
- By Michael Domingo
- 06/13/2017
The .NET Framework gives you three different ways to call a Web Service. However, depending on your scenario, the latest and greatest object isn’t necessarily your best choice.
Consuming services is something every application needs to do. In this article, Nick demonstrates how to document a REST service using Swagger in order to make it easy to consume from a Universal Windows Application.
- By Nick Randolph
- 06/12/2017
Peter doesn't like them, but that doesn't mean you have to hate 'em, too -- here's how to add a listbox or dropdown list to your View that lets users select multiple items.
Azure Functions can be used to trigger event-driven Webhooks. Here’s how.
- By Jason Roberts
- 06/08/2017
Apple uses the conference as a launch point for its products and services, and it behooves Microsoft developers, especially cross-platform app builders, to pay attention to new capabilities of the Apple platforms.
- By Michael Domingo
- 06/07/2017
If you're only retrieving an object so that you can read its data, you can reduce your costs by turning off Entity Framework tracking. Which is exactly what you want to do in ASP.NET MVC, as long as you're careful.
Mads has written dozens of essential Visual Studio extensions. Terrence Dorsey sat down to talk about his background, development process and favorite extensions.
- By Terrence Dorsey
- 06/06/2017
Here's how to combine adding HandleError attributes to your ASP.NET MVC application both through Global Filters and adding them directly to your Action methods.
Electron now includes TypeScript support with a TypeScript definition file that's included automatically in all installs. And several developer-related certifications are renamed to highlight Microsoft-specific technologies.
- By Michael Domingo
- 06/02/2017
Lots of searching through lots of data means potential app performance degradation. Hash codes can speed things up.
C# developers can dive into the basics of Xamarin.Forms, and go beyond with customizing them, learning how to target game development for various mobile platforms, and integrate it with Azure Machine Learning to build "smart" apps. It's all free in this once-weekly webinar series.
- By Michael Domingo
- 05/30/2017