Create a new XAML application

Now we are ready to create the new application or .xaml files. these files contain the instructions or code that instructs your mashup how to behave. You might have several .xaml files in a project.

  1. Select / Designer File > New > New XAML. You could also select Designer File > New > New XAML from Template but for this example, we are creating the .xaml application without a template.
  2. Specify a name for the .xaml file. By default, it will be saved to C:\YourDocumentLocation\XAML.
  3. Because we have a project open, we will be prompted to add the new .xaml file to the project. For our example, select Yes.
  4. The .xaml file will be added to the list of files in Project Explorer, top-left pane of the designer canvas.
  5. A .xaml must be associated with a project in order to be deployed, but this can be done at any time. You could specify No.
  6. We are now on the Designer canvas. Some boilerplate XAML code has been added.

    We are ready to add and configure controls for the mashup.