Thought
Thought

Reputation: 5856

Asp.net mvc in SharePoint

I created a ASP.net MVC 5 project in Visual Studio 2013, running in a Windows 8.1 Pro.

I've been ask to put my project on a SharePoint, but I don't quite know how it's done. i tried creating a SharePoint project on my Visual Studio but it won't let me since I don't have SharePoint installed, and when I try to install SharePoint Foundation 2010 or 2013 it complains I don't have Windows Server.

How do I make my project work on a SharePoint?

Upvotes: 0

Views: 936

Answers (4)

Kodz
Kodz

Reputation: 390

So you want to put your project on sharepoint? Cool!

In your case you definetly want to get your own SharePoint environment. To develop Apps (or Add-ins as they are called today) you mainly use Client-side code and techniques. This also means that you need to handle the SharePoint resources with asyncronous programming. Its very powerful, But that is not what you are asking for.

I would set up an SharePoint 2013 Foundation environment since its free and will very much deliver the capabilities you are after. Keep in mind though that SharePoint is a HUGE system that requires some understanding to be utilized.

I made a blogpost a while back where i Installed Win Server 2012 R2 on a external disk, this example works with SharePoint if you just want to debug your project on a SharePoint server. Check it out here: http://bayerlein.se/install-windows-server-on-external-hdd-with-the-help-of-virtual-box/

This solution will of course also require that you install your development program in the same environment.

Good luck//Kodz

Upvotes: 2

Adi Solar
Adi Solar

Reputation: 127

I think right now, the best way for you would be signing up as Microsoft Office 365 Developer and having a trial of the 365 cloud where you can setup sharepoint 2013 site collection and also develop apps using their tool NAPA. These days they are calling apps "SharePoint Add-ins" NAPA and SharePoint Add-ins

I would also suggest you take a look at this article: SharePoint 2013 Developing Apps vs. Solutions

Upvotes: 0

Hiren Gondhiya
Hiren Gondhiya

Reputation: 398

I think you can create a SharePoint app. You can use VS2015 with SP online so that you don't need to install SP locally. Create a trial o365 account and enable developer site on it. You can deploy your app on the developer site then. If you have developer site from you client instead of using sp online you can use that too.

Once your app works you can create package to deploy on the SharePoint environment.

Upvotes: 0

Niels V
Niels V

Reputation: 995

It really depends upon what you want to do. Do you need to create a provider hosted app with MVC for SharePoint 2013? In that case, you might succeed with including the necessary references and tooling code (but you still might lack the app manifest project). Technically your project won't run on SharePoint but uses the SharePoint API.

If you need to create an SharePoint solution package, you need a SharePoint development install (and as SharePoint doesn't install on all client OS, your best way is going virtual with a SharePoint development VM). Keep in mind that developing solution packages is a different kind of trade than developing for MVC, so start with a Pluralsite course or some other kind of training.

Upvotes: 0

Related Questions