Creating Your First NativeScript App with Visual Studio

Recently on the Telerik Developer Network (TDN), we published a series titled "Creating Your First Native Mobile App with Visual Studio". This is a great introductory tutorial for those of you on Windows who use Visual Studio as your primary IDE.

By leveraging Visual Studio, you can take advantage of the integration with Telerik AppBuilder to handle app builds in the cloud (meaning no Mac needed to develop for iOS) as well as utilize the built-in on-device debugging features!

By following along in this series, you will develop every part of a cross-platform NativeScript app from scratch (with a sweet Bill Murray theme!), using typical Microsoft technologies like:

The end result of the series will provide you with an app that features the following common app capabilities:

  • Tab-based navigation;
  • Custom UI layouts;
  • Remote data access (with SQL Server and ASP.NET Web API);
  • Theming with CSS;
  • Custom font icons, images, and animations.

Resulting in the following "Bill Murray" app:

ios demo android demo


Visual Studio Tutorial Part 1

The first part is an introduction to NativeScript and how a typical .NET developer can find comfort in the use of a XAML-like syntax for markup, TypeScript for code behind, and CSS for styling. We also dig into LiveSync and how it can dramatically improve your iterative development with NativeScript.

Read part one here.

Visual Studio Tutorial Part 2

The second part of this series looks at NativeScript layouts and native UI. We also utilize the NativeScript Developer App (part of Telerik AppBuilder) which allows for easy provision-free deployment to physical devices. Finally, we take a close look at how you can leverage the Visual Studio debugger to do step-through debugging of NativeScript apps.

Read part two here.

Visual Studio Tutorial Part 3

Part three ignores NativeScript for a bit and focuses on creating a fully-functional backend with SQL Server and a RESTful service with ASP.NET Web API.

Read part three here.

Visual Studio Tutorial Part 4

The final part of this series wires up the ASP.NET Web API backend with our NativeScript app, looks at how to perform native animations, styles the app with CSS, and implements a pie chart with UI for NativeScript.

Read part four here.

Additional Resources

Those of you on Windows and/or with a .NET background may find the following resources helpful as well:


Share this article
Rob Lauer
Author

Rob Lauer

Rob Lauer is Senior Manager of Developer Relations at Progress and has a passion for mobile app development and the open web. You can find Rob rambling as @RobLauer on Twitter.

Comments


Comments are disabled in preview mode.

Stay connected with NativeScript

NativeScript
NativeScript is licensed under the Apache 2.0 license .
© 2017 Progress Software Corporation. All Rights Reserved.