From 86c9c9f6f3d5fe10225c4fde4c062a2927298f97 Mon Sep 17 00:00:00 2001 From: Emma Burrows Date: Mon, 30 Dec 2013 21:24:14 +0000 Subject: [PATCH] Added a C# console file and cshtml Razor MVC View file. --- samples/C#/Index.cshtml | 45 +++++++++++++++++++++++++++++++++++++++++ samples/C#/Program.cs | 21 +++++++++++++++++++ 2 files changed, 66 insertions(+) create mode 100644 samples/C#/Index.cshtml create mode 100644 samples/C#/Program.cs diff --git a/samples/C#/Index.cshtml b/samples/C#/Index.cshtml new file mode 100644 index 00000000..f7aa29c6 --- /dev/null +++ b/samples/C#/Index.cshtml @@ -0,0 +1,45 @@ +@{ + ViewBag.Title = "Home Page"; +} +@section featured { + +} +

We suggest the following:

+
    +
  1. +
    Getting Started
    + ASP.NET MVC gives you a powerful, patterns-based way to build dynamic websites that + enables a clean separation of concerns and that gives you full control over markup + for enjoyable, agile development. ASP.NET MVC includes many features that enable + fast, TDD-friendly development for creating sophisticated applications that use + the latest web standards. + Learn more… +
  2. + +
  3. +
    Add NuGet packages and jump-start your coding
    + NuGet makes it easy to install and update free libraries and tools. + Learn more… +
  4. + +
  5. +
    Find Web Hosting
    + You can easily find a web hosting company that offers the right mix of features + and price for your applications. + Learn more… +
  6. +
diff --git a/samples/C#/Program.cs b/samples/C#/Program.cs new file mode 100644 index 00000000..20e24850 --- /dev/null +++ b/samples/C#/Program.cs @@ -0,0 +1,21 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace LittleSampleApp +{ + /// + /// Just what it says on the tin. A little sample application for Linguist to try out. + /// + /// + class Program + { + static void Main(string[] args) + { + Console.WriteLine("Hello, I am a little sample application to test GitHub's Linguist module."); + Console.WriteLine("I also include a Razor MVC file just to prove it handles cshtml files now."); + } + } +}