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

1
vote
1answer
321 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 ...
0
votes
1answer
82 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 ...
2
votes
0answers
231 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 ...
1
vote
0answers
121 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, he ...
1
vote
0answers
52 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
35 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 ...
0
votes
0answers
59 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 ...
0
votes
0answers
19 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 ...
0
votes
0answers
75 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
70 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 ...
0
votes
0answers
185 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
0answers
69 views

Authenticate mobile client via a high trust sharepoint app using web api

I want to implement a high trust sharepoint mvc app (provider hosted) that is using ASP.NET Web API web services .I want to consume these web services from a client eg iphone app,mobile ...
0
votes
0answers
387 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 ...