vendredi 19 décembre 2014

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



"http://ift.tt/1AzOQ5Q"


I am now interested to see if I can create an App Part based on the MVC site.


I have got as far as adding a Client Web Part (Host Web) and it gives me two options.


The first option - Create a new client web part page adds a WebPart page to the SharePoint App project but I am not sure what I need to do next.


The second option - Select or enter a URL for an existing web page doesnt give me any options in the drop down list.


I have seen instructions on how to create App Parts based Web Forms based applications but nothing on doing it with MVC based apps so I dont know if this is even possible


Has anyone else managed to do this?


Could somone please respond with instructions, that will be very helpful !!


Thanks, Pandiarajan K








1 commentaires:

  1. Create a provider hosted app, choose the MVC option. For instance when you create a Products app: two projects will be created (ProductsWeb, containing the MVC site and Products, containing the deployment configuration). Now add a new item to the Products project and choose "Client Web Part (Host Web)". Configure the url's, just like you would do when creating a Web Forms based App Part and press F5. Voila!

    RépondreSupprimer