MSDN Documentation

Getting Started: Your First App

Welcome to the beginning of your development journey! This guide will walk you through the essential steps to create and run your very first application using our platform.

1

Prerequisites

Before we begin, ensure you have the following installed on your system:

  • Development Environment: Latest version of Visual Studio (or your preferred IDE).
  • SDK: The relevant SDK for your target platform. You can download it from the Downloads page.
  • Version Control: Git installed and configured.
If you're unsure about which SDK to choose, consult the Platform Overview for guidance.
2

Setting Up Your Project

Let's create a new project. Open your IDE and select "Create New Project". Choose the appropriate template for a simple console application.

Example Project Setup (Conceptual):


File -> New Project -> Console Application (e.g., C#, Python, Node.js)
Project Name: MyFirstApp
Location: C:\Development\MyFirstApp
                

Once the project is created, familiarize yourself with the project structure. You'll typically find a main file (e.g., Program.cs, main.py, app.js) where your code will reside.

3

Writing Your First Code

Open the main file of your project and replace its content with the following simple code:


// This is a simple "Hello, World!" program
Console.WriteLine("Hello, World!");
// Or for Python:
# print("Hello, World!")
# Or for JavaScript:
// console.log("Hello, World!");
                

This code will simply print the message "Hello, World!" to the console when the application is run.

We recommend adding comments to your code to explain its functionality. This is a good practice for maintainability.
4

Running Your Application

Now it's time to see your code in action!

  1. Build: In your IDE, go to Build and select Build Solution (or equivalent). This compiles your code.
  2. Run: Go to Debug and select Start Debugging (or press F5/Ctrl+F5).

You should see a console window appear, displaying the output:


Hello, World!
                
If you encounter errors, carefully review the error messages in the IDE's output window. Common issues include typos or missing dependencies.

Next Steps

Congratulations on creating and running your first application! You've successfully navigated the initial setup and execution process. From here, you can explore: