The Model-View-Controller (MVC) architectural pattern separates an application into three main components: the model, the view, and the controller.

learn more… | top users | synonyms

0
votes
0answers
33 views

Access Denied Error with Provider Hosted App (MVC/CSOM)

I built a PHA using MVC a little while ago. I'm receiving "Access denied. You do not have permission to perform this action or access this resource." error when trying to update or even access simple ...
3
votes
3answers
135 views

SharePoint Context is null in MVC HttpGet request

I am new to MVC development, however, I current have a requirement to build an application for a SharePoint app. It is currently hosted on our Azure server and is up and running fine. My problem lies ...
0
votes
1answer
42 views

How to create Client Context from jquery AJAX Get?

I have an HTTP Post controller that I use in a SharePoint online provider hosted app. The controller code: [HttpPost] public JsonResult FinaliseQuote(string quote) { using ...
0
votes
0answers
25 views

Open SharePoint list in MVC provider hosted app

I am having following setup: provider hosted Asp.Net MVC app hosted on-premise. I have created a list instance (simple Tasks list). Is there any way how I can open that list from app? Obviously ...
0
votes
0answers
29 views

Using MasterPage for SharePoint 2013 Provider Hosted Apps

I try to migrate a Farm Solution to a SharePoint 2013 Provider Hosted app via MVC technology. The app will be hosted on IIS. I have a heavy styled custom masterpage that I want to use also for my MVC ...
0
votes
1answer
46 views

SharePoint Online: Provider hosted App - Deployment Eventreceiver

I created a provider-hosted app, with a MVC webapplication. Inside my SharePoint project, I created fields, contenttypes and lists. But now I need a solution for this. 1) I need to create ...
0
votes
1answer
206 views

How to create single page ASP.Net application with Provider hosted apps

I need guidance on single page ASP.Net application with Provider hosted apps. I heard most of the people are doing this through MVC 5, Knockout.js along with PFA. In real time situation what is the ...
0
votes
0answers
23 views

Cant redirect back to SharePoint app after custom mvc app returns FileStreamResult

I have a custom action (created using a custom app) which does a customized export. The export method is in a MVC app which returns a FileStreamResult to the user. The problem i am having with this ...
3
votes
0answers
318 views

Use CSOM with ADFS credentials from Single Sign-On enabled ASP.NET MVC app

I have the following setup: ADFS 3.0, SharePoint 2013 and the custom ASP.NET MVC app. Both SharePoint and MVC app are configured to use Single Sign-On from ADFS, so once user is logged in via ADFS, ...
0
votes
0answers
56 views

Lightswitch or ASP.Net or ASP MVC

I developed an App for SharePoint Online in LightSwitch but as it was an AutoHosted app, it is no longer supported so I will be re-creating it as a provider hosted app using Azure Websites and Azure ...
1
vote
1answer
162 views

@target the name 'target' does not exist in the current context Provider Hosted App

I am combining a MVC 5 SharePoint Provider Hosted App together with pages with just javascript. I created a page with the following javascript: <script type="text/javascript"> var ...
1
vote
1answer
99 views

Is is possible to create App Parts from an MVC project?

"https://social.msdn.microsoft.com/forums/sharepoint/en-US/93f5ec98-5aeb-40b7-add0-0e83280a6555/is-is-possible-to-create-app-parts-from-an-mvc-project" I am now interested to see if I can create an ...
0
votes
0answers
80 views

Provider Hosted MVC application hosted outside Sharepoint IIS, find current Sharepoint User

I want to host a MVC application outside Sharepoint - 80 IIS website. Everything works just fine, but I can not find the current sharepoint user, because SPContext.Current is null. My entire MVC ...
1
vote
0answers
89 views

MVC web api in sharepoint 2013 farm solution

How to consume the MVC web api in SharePoint 2013 farm solution? When I try to consume with httpclient I cannot refer to the assembly WebApiRestService.WebApiClient, it's showing error as not strong ...
0
votes
0answers
24 views

“Please make sure the web service is deployed to Microsoft Azure Emulator prior to running your app for SharePoint”

I'm trying to host a Provider-Hosted web app to Azure and am getting the following error Unable to contact the Cloud Web Service project. Please make sure the web service is deployed to Microsoft ...
2
votes
0answers
446 views

How to properly cache, validate, refresh Access Tokens?

I'm a complete newbie to SharePoint Provider-Hosted Solutions and their authentication logic. My App is an ASP MVC Solution. I run many AJAX-Calls from Client-Scripts to my Controller to interact with ...
0
votes
0answers
135 views

Run MVC App with Sharepoint as backend for Document Storage

My company has a small sharepoint site that we're hosting. We are almost exclusively using it for document storage, and we don't have very many documents. At the same time, we are developing an MVC ...
0
votes
0answers
101 views

Redirect to list after Custom Action

I am creating a sharepoint app with MVC, I have a custom action in the ECB bar on a document library. I don't need to display any information when the custom action is pressed, I just need it to ...
1
vote
1answer
452 views

clientContext is always null in Provider Hosted App

I am following this article- http://chakkaradeep.com/index.php/building-apps-for-sharepoint-with-mvc/ to learn building Provider Hosted Apps in SharePoint. I have one developer site collection (I am ...
0
votes
0answers
260 views

SharePoint Provider Hosted App: mixed content issue

We have a provider hosted app that needs the SharePoint javascript and CSS files, so in our MVC view we added the following code: <script ...
0
votes
1answer
106 views

MVC Autohosted SP2013 online app can not access context

I created a very very simple MVC view to show how many task are remaining in my todo list. Just as many tutorials out there but this time as an MVC auto hosted app. I created the projects and played ...
5
votes
5answers
7k views

Retrieve All list items with AngularJS and ClientContext

I would like to ask you if there is a possibility to use ClientContext with AngularJS? In this way I want to take all items, sort them, filter, make some modification and etc. Later maybe I will add ...
8
votes
1answer
2k views

Share authentication token between SharePoint 2013 and ASP.Net MVC Web API service

In SharePoint 2010 and earlier, it seems it was possible to share the authentication token with other ASP.Net applications using forms authentication and the ASPXAuth cookie. I have a SharePoint 2013 ...
2
votes
1answer
776 views

Upload Image to Sharepoint Photo Library from asp.net mvc

I have a Provider Hosted App, one of it's functionality is to upload the images into sharepoint picture library. I am able to store the picture into some folder, using the below code. public ...
1
vote
2answers
208 views

Possible to use MVC in SharePoint 2013

Is it possible to implement an MVC concept with or without ASP.net MVC for SharePoint 2013?
1
vote
1answer
337 views

Sharepoint 365 MVC 4 with Azure Database

I've created an autohosted MVC 4 app to embed into a Sharepoint 365 account. I have followed the tutorial here: http://msdn.microsoft.com/en-us/library/fp179902.aspx to the letter AFAIK. The ...
2
votes
1answer
123 views

How I can start with ASP.NET and Sharepoint 2010 Development? [closed]

I don't know how I can begin with the Development for Sharepoint 2010. I can create ASP.NET Webapplications and begin with ASP.NET MVC 4 Now. I search a good article for the work of ASP.NEt (MVC or ...
0
votes
1answer
906 views

SharePoint 2010, ASP.NET MVC integration

As I previously posted here I have to host an ASP.NET MVC 2 application on a SharePoint 2010 server. The application has to be hosted on the server, not referenced from a SP site. So I've been ...
1
vote
2answers
175 views

List could not be found at site in autohosted app

I have a sharepoint autohosted app integrated with mvc model (DocumentsMvc project) I created a list (AwaitingDocuments) by adding it to sharepoint project (Documents) and created a simple view in ...
0
votes
0answers
434 views

ASP.NET MVC - Get current user logged in from sharepoint

I have an MVC web app that is sitting on a server running SharePoint Foundation and users access it via a link in the SharePoint portal. I require the website to log in automatically for the current ...
0
votes
2answers
642 views

No TokenHelper.cs in Autohosted app

I'm trying to build an Autohosted Sharepoint app based on ASP.NET MVC, following this tutorial: http://www.ilovesharepoint.com/2012/07/building-aspnet-mvc-based-sharepoint.html I'm stuck on "We want ...
3
votes
1answer
1k views

Using the razor engine in SharePoint 2013 Visual Web Part

I'm trying to make use of the razor engine in a SharePoint 2013 Web Part. This, I read, shouldn't be too difficult since SharePoint 2013 Visual Web Parts can be built using .NET Framework 4.0 I'm ...
0
votes
2answers
3k views

Where I can use asp.net MVC with my SharePoint 2013 project

My current situation is as follow:- I have a team with asp.net MVC experience , entity framework, jQuery +SQL server We have built many web applications using the above technologies. Currently we ...
1
vote
1answer
810 views

Asp.net MVC talking to SharePoint from a diffenent server

Ok, so I want to build a internet facing asp.net MVC application, place it on server X in my domain, and i want this application to be able to talk Server Y,where SharePoint 2013 is installed. I want ...
2
votes
2answers
408 views

Use sharepoint 2007 as database for an ASP.NET MVC 4 application

I have built an ASP.NET MVC 4 C# application that has Many to One relationships. The application currently uses SQL as data provider. The following is the data connection string I use: <add ...
0
votes
1answer
2k views

will sharepoint 2013 support MVC

I'm wandering if anyone knows if SharePoint 2013 will support MVC. Does anyone know? I'm wanting to be able to implement MVC in my sharepoint development process. Thanks,
0
votes
1answer
127 views

Sugest me, Planing to create a REST based API using MVP under SharePoint 2010

for almost a year now i was working with few open source technologies, and so habituated to it... this pushed me to create a REST based architecture for SharePoint 2010 using ASP.Net MVC 2/3... ...
0
votes
1answer
642 views

Single Sign On between MVC Web Application and SharePoint 2010

I am working on a project where we will be creating an MVC web app and a SharePoint 2010 environment. Users will be authenticating against Active Directory inside the MVC web app. There will be ...
3
votes
4answers
896 views

SharePoint as data store for a MVC application front end

We currently are running moss 2007 for an enterprise internet facing site. The site's main functionality is surfaced using FAST search with MOSS 2007 used for the cms aspects. We find that the ...