Developing Sharepoint webparts in Visual Studio - 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)

Related

Visual Studio for Mac Data_app not found?

I am new to MVC web development!
I am using visual studio for Mac and is trying to build a login and registration page for my web. However, I can't find the Data_app folder. A lot of the online searches say that I can just create those folder myself, however, when I try to add files (for the app_data), I couldn't find it in the visual studio. Can I just manually create those too? or this just wouldn't work on a mac?

Sharepoint 2010 Create and Add Webpart Automatically In Sharepoint Site When Deploy WSP

I'm using SharePoint 2010 and I have developed webparts at visual studio 2010. I'm already using WSP to deploy my web application into server, but still should create and add the webpart manually through SharePoint site. Is there any way that we can deploy the application and automatically create and add all webparts into the site?
Generally web parts are added to pages using features. Basically you create one site collection feature to deploy web part files to web part gallery and web scope feature which adds this web parts to pages (for example default site page).

How to set up a Single-Page Application in 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

Visual Studio 2010 as simple web site editor

Is it possible to use Visual Studio 2010 as a simple web site editor (HTML + JavaScript; no ASP.NET)?
VS only supports known project file types (i.e. .csproj), so I started with a C# project and I've been fiddling with the file, but VS still keeps creating .vshost files and obj directory.
Can I force it not to do this?
See Previous Question
Visual Studio Web Development is orientated to ASP.NET projects creation, but you can build without any problem, HTML & JS applications deleting the extra directories created for ASP.NET apps, which need that.
Maybe using Visual Web developer
http://technet.microsoft.com/en-us/query/9z74w20y
You can add "Project Folders" to a empty project / solution and add the files into the folders without any project "overhead" .. intellisense works fine ..

Importing a visual studio-project locally on SharePoint

I'm kinda new to all this. But I've downloaded a bunch of folders and files from a SVN server. It seems like these are mostly webparts and Visual Studio files/solution for a SharePoint site.
I have installed SharePoint locally on my computer, and i want this SharePoint site with all this features locally as well.
Where do i put all the files/folders so i can open it in SharePoint?
Thanks!
If you have the Visual Studio Solution you can click on the project within the solutions and set the SiteURL in the properties window to the Site Collection or Server you wish to have the items deployed to. I would also set Sandboxed Solution to false. Then right click on the project and Deploy.

Resources