SPA in Visual Studio 2013 - VB

3 posts, 0 answers
  1. John
    John avatar
    1 posts
    Member since:
    Apr 2013

    Posted 01 Jul 2014 Link to this post

    I am working on a project where Kendo UI SPA is a good fit.  I use Visual Studio as my development environment and found the Kendo UI SPA project template for Visual Studio 2013.  Unfortunately I am a VB programmer and the project template is only available for C#.

    Do you expect to have a VB version soon or is there perhaps a way to convert the C# project to a VB.Net project?
  2. Burke
    Admin
    Burke avatar
    11 posts

    Posted 02 Jul 2014 Link to this post

    Hi John!

    My name is Burke Holland and I created that project template.  It's a community project, so not officially supported by Telerik.

    However, I think we can get you up and running here.

    Create a new MVC 4 project (VB of course) and then add in the Kendo UI SPA NuGet Package.  Once you do that, you will want to add the following code to your home view...

    @using System.Web;
    @using System.Web.Optimization;
     
    <!DOCTYPE html>
    <html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title></title>
        <meta name="description" content="">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        @Styles.Render("~/Content/css")
        <script src="@Url.Content("~/Scripts/modernizr-2.6.2.js")"></script>
    </head>
    <body>
     
        <div id="applicationHost">
             
            <!-- The application is rendered here -->
     
        </div>
     
        @Scripts.Render("~/scripts/vendor");
        <script src="@Url.Content("~/Scripts/require.js")" data-main="@Url.Content("~/App/main")"></script>
    </body>
    </html>

    Since this is really just a community project, lets continue this discussion on email and I'm sure we can get you rolling... burke.holland@telerik.com

    Regards,
    Burke
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
  4. Phil H.
    Phil H. avatar
    88 posts
    Member since:
    Nov 2008

    Posted 04 Jul 2014 Link to this post

    Hi:

    I do not know anything about what code the T4 template created, but Telerik and Dev Fusion bot have a code converter.  The Telerik one is at:
      http://converter.telerik.com/
      http://www.developerfusion.com/tools/convert/csharp-to-vb/
    I use them all the time.

    Phil
Back to Top