uid | title |
---|---|
examples |
Example markdown |
Note
This is a note
Warning
This is a warning
Tip
This is a tip
[!div class="tabbedCodeSnippets" data-resources="OutlookServices.Calendar"]
<cs code text><js code text>
dotnet new webapi -n WebApplication1
cd WebApplication1
|![vs-new-proj] Choose ASP.NET Core Web Application from the default templates. |![vs-name-proj] The default project name WebApplication1 will be used throughout, but you can rename.|![vs-create-proj] Choose an application type of API, everything else can keep its default value.| |:--|
Using the example-program.cs
file in the same folder as this markdown...
Show the entire file as formatted code: [!code-csharp
]Show only line 15 of the file: [!code-csharp
]Show like lines 9 thru 17: [!code-csharp
]Show a combination of single lines and a range of lines: [!code-csharp
]Highlight certain lines of code: [!code-csharp
]Given the #region
in the csharp, only show that snippet:
[!code-csharp