This is a migrated thread and some comments may be shown as answers.

SPA in Visual Studio 2013 - VB

2 Answers 76 Views
SPA
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 01 Jul 2014, 07:49 PM
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 Answers, 1 is accepted

Sort by
0
Burke
Telerik team
answered on 02 Jul 2014, 07:14 PM
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!
 
0
Phil H.
Top achievements
Rank 2
answered on 04 Jul 2014, 06:44 PM
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
Tags
SPA
Asked by
John
Top achievements
Rank 1
Answers by
Burke
Telerik team
Phil H.
Top achievements
Rank 2
Share this question
or