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
1answer
45 views

Required field validator is not working in jQuery

Here is my code Index.cshtml I gave JavaScript functions but validations is not working please check this where i did mistake in this code. Product List <table ...
0
votes
0answers
28 views

How to integrate SharePoint with existing .NET MVC web site to store digitally signed document?

New users to a .NET MVC web site I support need to sign a user access agreement and upload it to the web site. The current process is cumbersome and verification of user acceptance difficult. I think ...
1
vote
1answer
49 views

Creating a SharePoint sub site programatically from an MVC application

I have an SP site collection. My requirement is to create a sub site in this site collection from an MVC application. When I enter the name of the site and click on 'Create' button from MVC site, a ...
0
votes
1answer
26 views

Visual Studio 2013/15 MVC web application

I'm trying this articles\tutorials to get an MVC portal going but none seems to match. Does anyone know a tutorial that works? Checked this: https://blogs.msdn.microsoft.com/officeapps/2013/07/09/...
0
votes
1answer
69 views

SharePoint appredirect.aspx redirects with POST

I have a provider-hosted app built with MVC deployed in SharePoint Online. I have a controller, Tasks, and an action, Details. If I navigate to the details page for a particular task (/Tasks/Details?...
0
votes
1answer
42 views

Render MVC views inside Sharepoint Provider hosted add-in

I have created Provider hosted add-in with MVC, in that I have some Controllers, Models and Views. I just want to render the Views inside the Sharepoint add-in, so that when I add that particular add-...
0
votes
1answer
51 views

SharePoint provider-hosted app filter document library CSOM

I have the following code that gets files from a document library. Works great for getting all the files. Now, however, I want to filter the files using the "title" param before passing it back to my ...
0
votes
0answers
21 views

String localization in Sharepoint MVC4 app

I have one graph in Javascript in Sharepoint MVC app but not getting how to change the text in graphs based on language. Has anybody experienced this? I did similar in asp.net app and used script ...
-1
votes
1answer
76 views

Show the images from the shared drive with C# MVC [closed]

I want to show the images from the shared drive, I have published the solution and hosted in the IIS and created one directory named as "Images" which directs to the another server's shared folder ...
2
votes
1answer
124 views

SharePointContextProvider not found when Creating a provider hosted app with VS2015

I try to create a provider hosted app (MVC) with VS2015. I use the standard template-approach like described there: http://chakkaradeep.com/index.php/building-apps-for-sharepoint-with-mvc/ (Or many ...
0
votes
0answers
85 views

How to create common javascript file for multiple views/pages?

I am working on MVC project where I have saveral number of views. In all the views I have pages like Index.cshtml, AddEdit.cshtml, ViewDetails.cshtml etc. Currently each of one these view has ...
0
votes
0answers
45 views

How do I get 2 lists to show next to each other using MVC web- application?

I know how to get one list from SP in my web-application, but I want to display 2 lists that I have in 2 div's. My problem is that Everything disappears when i run them with the code below: var ...
6
votes
0answers
994 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
108 views

Sharepoint - MVC authentication issue

Our main purpose here is security. Right now our MVC application is called inside Sharepoint site in iFrame. And that iFrame is inside Web part. So if you do right click on Sharepoint site you can ...
1
vote
0answers
58 views

Authenticate the user from SharePoint user group by using SP application page with MVC4

I have to authenticate the user from the SharePoint User Group and after the authentication navigate to the MVC Home page. How to integrate the SharePoint application page and MVC Application ? I mean ...
-1
votes
1answer
403 views

Use entity framework code first in SharePoint Solution

I am trying to create an entity framework code first in a SharePoint Solution. Is it possible to use an entity framework code first in a SharePoint Solution? If yes, then how?
1
vote
1answer
291 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 (...
2
votes
0answers
358 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
793 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 ...
5
votes
5answers
12k 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 ...
0
votes
1answer
147 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
1k 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 ...
1
vote
1answer
187 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 ...
1
vote
1answer
330 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 ...
9
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 ...
1
vote
0answers
210 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
121 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 ...
2
votes
0answers
845 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
1answer
356 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 ...
1
vote
1answer
944 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
406 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 src="@Request.QueryString["SPHostUrl"]/_layouts/15/SP....
0
votes
1answer
139 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
1answer
1k 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 ...
3
votes
1answer
2k 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 ...
1
vote
2answers
301 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?
2
votes
1answer
137 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
2answers
4k 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
2answers
178 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
1answer
1k 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 ...
0
votes
0answers
595 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
786 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 ...
1
vote
1answer
1k 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
528 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 name="...
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,
3
votes
4answers
987 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 ...
0
votes
1answer
143 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
769 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 ...