How to set up a Single-Page Application in Visual Studio 2010 - visual-studio-2010

I've read about Single-Page Applications recently and wanted to try one out. After watching Steve Sanderson's presentation (http://channel9.msdn.com/Events/TechDays/Techdays-2012-the-Netherlands/2159) I wanted to create a Single-Page App in my Visual Studio 2010 and test it out myself. But then I found out I can't choose an SPA template anymore, as it was removed in RC version.
Now, the question is - what should I do in Visual Studio 2010 (with MVC4 installed) to be able to create an SPA? I'd like to use KnockoutJS for UI and Upshot for data, both of which I'm able to install using Nuget. I haven't found anything relevant on the Web, every single page I've been to is telling me to use the SPA template, which has been removed since.
Thanks for any suggestion!

SPA was excluded from RC because it wasn't ready in time for MVC4 release. Official ASP.NET SPA page. You can create project with MVC template and scaffold SPA via NuGet (SPA scaffolding)

For Visual Studio 2010, try using Hot Towel by John Papa.
Create an empty MVC4 app, then install a Nuget from Package Manager Console
PM> Install-Package HotTowel

Related

Developing Sharepoint webparts in Visual Studio

I want to use Visual Studio to develop webparts for Sharepoint. I've already got a source code that contains different .vue applications and a website which already uses most of those webparts.
I'm fairly new to SharePoint, so there's a few things I don't understand.
In site contents, can I get the source code of the lists, apps etc. that are there?`
How can I use the .vue applications/files from Visual Studio in the Sharepoint application?
I created a new SharePoint-Add-In project in Visual Studio and connected it with the homepage of the website, but how can I work with the source code I have right now to deploy it to the website?
If you're using SharePoint 2013/2016, you could check this thread for demos(SharePoint add-in with VUEjs).
If you're using SharePoint 2019/online, you could create SPFx solution so you could migrate vuejs by PnP/generator-SPFx
SharePoint Framework(SPFx)

Can I use Visual Studio Code and Visual Studio Community interchangeably for .NET CORE Web API

Please note that I am new to front-end and back-end Web API development.
I am not sure if this is possible, and I suspect it is not, but I am wondering if anyone knows whether or not it is possible to modify a .NET CORE Web API with both Visual Studio Code and Visual Studio Community? I suspect it is not because VS Community creates the project with a solution files whereas VS Code does not.
The reason for doing this is that I like the CLI nature of Visual Studio Code to create .NET CORE Web API's that can be developed in tandem with a EmberJS front-end framework. However, I much prefer Visual Studio Community's debugger and intellisense for more advanced development of the back-end. This is purely a preference and not necessarily a show stopper.
Update:
If it is possible, can you please provide the series of commands I would need to issue in order to create a dotnet webapi and add it to a dotnet sln?
Update 2:
The dotnet CLI website does not show how to add a dotnet webapi project template (with a corresponding solution file), which provides a base set of files to create the Web API. From what I can tell, we can add individual files (i.e., *.csproj). Is there a way to create a dotnet webapi project template with a corresponding solution file all at once; or do I have to either add each file manually in VS Code or just create a Web Api in VS Community and then work with it in VS Code?
Reference: https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-sln
Q&A Style:
I am not sure if this is possible, and I suspect it is not, but I am wondering if anyone knows whether or not it is possible to modify a .NET CORE Web API with both Visual Studio Code and Visual Studio Community?
It is possible. I use VSCode and vim on this: https://github.com/sillsdev/appbuilder-portal (which is a .netcore + React app)
However, I much prefer Visual Studio Community's debugger and intellisense for more advanced development of the back-end.
VSCode has a .net core debugger and intellisense. you may need to install the C# extension.
If it is possible, can you please provide the series of commands I would need to issue in order to create a dotnet webapi and add it to a dotnet sln?
dotnet --help can walk you through this, if you don't feel like looking up docs. Here are the docs though, if you want to bookmark this or somethin': https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-sln
dotnet sln add path/to/project.csproj
Is there a way to create a dotnet webapi project template with a corresponding solution file all at once; or do I have to either add each file manually in VS Code or just create a Web Api in VS Community and then work with it in VS Code?
I think in the CLI, this needs to be multiple commands.
dotnet new webapi
dotnet new sln
dotnet sln add *.csproj
hope this helps

visual studio templates update not successful

When creating a new project, there are a lot of options in the template...
How do you add more templates to Visual Studio Project. I tried to update, but it did not work.
I saw one version with a lot of items, like Web forms application, MVC web application, ...
And mine is only showing: asp.net web application...
[edit] and how do you add the blue template from VS2013 (with your logo here), instead of this black template in VS2017.

Telerik MVC New Project Template

When i want to use Visual Studio to open new Telerik MVC project, everything is OK but, it is not Bootstrap3. It shows, old design of ASP.net projects.
Should i need to configure anything ?
Regards.
You don't have the latest Visual Studio template.
Check here: http://docs.telerik.com/kendo-ui/aspnet-mvc/vs-integration/introduction

Umbraco Visual Studio solution (v4.7)

I am using the Jupiter as Visual Studio solution project for a v5 umbraco site -
http://our.umbraco.org/projects/developer-tools/jupiter-as-visual-studio-solution
however i'm struggling to find the project to use for v4.x Does anyone know if it can be accessed anywhere or if i can easily recreate?
You can still access the Umbraco 4.7.1.1 downloads here.
If you don't want/need the full blown source, you may just want to run the 'webdeploy' option as a website in Visual Studio.

Resources