From f388daab398f2fab0d4577fb5250f11cd4f1f0a8 Mon Sep 17 00:00:00 2001 From: Emma Burrows Date: Tue, 31 Dec 2013 19:20:21 +0000 Subject: [PATCH] Added Visual Basic .NET sample files (a console code file and a Razor vbhtml file) --- lib/linguist/languages.yml | 1 + samples/Visual Basic/Index.vbhtml | 47 +++++++++++++++++++++++++++++++ samples/Visual Basic/Module1.vb | 8 ++++++ 3 files changed, 56 insertions(+) create mode 100644 samples/Visual Basic/Index.vbhtml create mode 100644 samples/Visual Basic/Module1.vb diff --git a/lib/linguist/languages.yml b/lib/linguist/languages.yml index 856f146d..e75cee06 100644 --- a/lib/linguist/languages.yml +++ b/lib/linguist/languages.yml @@ -1729,6 +1729,7 @@ Visual Basic: - .frm - .frx - .vba + - .vbhtml - .vbs Volt: diff --git a/samples/Visual Basic/Index.vbhtml b/samples/Visual Basic/Index.vbhtml new file mode 100644 index 00000000..6aa2b37b --- /dev/null +++ b/samples/Visual Basic/Index.vbhtml @@ -0,0 +1,47 @@ +@Code + ViewData("Title") = "Home Page" +End Code + +@section featured + +End Section + +

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/Visual Basic/Module1.vb b/samples/Visual Basic/Module1.vb new file mode 100644 index 00000000..caa09195 --- /dev/null +++ b/samples/Visual Basic/Module1.vb @@ -0,0 +1,8 @@ +Module Module1 + + Sub Main() + Console.Out.WriteLine("Hello, I am a little sample application to test GitHub's Linguist module.") + Console.Out.WriteLine("I also include a Razor MVC file just to prove it handles cshtml files now.") + End Sub + +End Module