Develop .net pages on sharepoint online except using visual web parts - sharepoint

How can I develop web pages with .net on sharepoint online. A way is using visual web parts. Is there any other way?
Thank you

You can use Visual Web Parts, if you use the Sandbox Solutions. You'll need to put code in those which that type of solution is being deprecated. Instead you should be build a SharePoint App. There are three (3) types of hosting, SharePoint hosted, Auto hosted and Provider hosted.
SharePoint hosted will generally allow you to host .js and .html/.aspx files.
Auto hosted and Provider hosted will allow you to write server side code. The different being that Provider hosted will require that you provide a web server, and Auto hosted will put a simple web site and SQL Azure database in Azure for you.
All three of these can create App Web Parts which is generally the same thing as a Visual Web Part, except that they will be using an iframe to include you web app.

Related

How do I setup SharePoint 2013 (On Premise) for third party apps?

I have created a provider-hosted app which was developed and tested against SharePoint Online. I now want to install this on SharePoint 2013 On Premise.
It is my intention that, despite being a provider hosted app, I wish to host the app web in IIS on the SharePoint server (single farm not a cluster). I then intend to use a local URL for my App Web URL.
I understand the process of setting up an App Catalog (On SharePoint Online) as a repository for my App which in turn will enable users to add it to a site.
I have only been able to find a guide to setup On Premise SharePoint to allow users to use the SharePoint store but I only want to set it up for third party apps.
My question is do I need to go through all the steps in this link https://technet.microsoft.com/en-gb/library/fp161236.aspx even if I don't want/require store access? I don't not want to do more than necessary and I would prefer a simple solution for my clients.
I followed this guide https://technet.microsoft.com/en-gb/library/fp161234.aspx in the hope that creating the app catalog would be sufficient but I get the error "Sorry, apps are turned off. If you know who runs the server, tell them to enable apps."

Create a DNN 7module with SharePoint 2013

I want to know if there are any projects that use DNN 7 to interact with SharePoint 2013. The SharePoint 2013 is a Provider hosted. For the setup, DNN would be installed on the same server as the App server and SharePoint 2013 on a separate server. Normally, I would create a SharePoint app that would be installed on the App server. I want to do the same using DNN as the framework with the module as the SharePoint App. Is this possible? I would assume so since SP2013 uses client model. Should I create the SharePoint App project and included it in my DNN project?
Thanks in advance.
You can embed SharePoint apps in DotNetNuke by making use of a html module that embeds your app in an iframe element. But since your apps can be hosted on any web hosting stack, you can even probably create a DotNetNuke module that is a Sharepoint app.
You will have to register your app with Azure ACS and with the App Management Service of the SharePoint farm or SharePoint Online tenancy, to be able to establish communication.
Then, to access Sharepoint, you will have to pass an access token in each HTTP request that you can obtain from Microsoft Azure Access Control Service.
More info here.

Is it possible to generate a build of a .NET App hosted on an Azure instance?

Current App and website environment;
ASP.NET app written in C# hosted on a Windows web server and linked to from a site hosted on a SharePoint 2010 server.
Purpose of App;
Download link calls a downloader that generates a custom signed build of the app and logs the download to a SharePoint list.
Site has been redesigned and migrating to SharePoint 2013, looking at a provider-hosted solution for the ASP.NET app and I was wondering if it is possible to generate a build with/on an Azure solution.
Thanks!
Yes is possible.
The only thing which you have remember is add in your App a clientWebPart. And configure it with url to your asp.net site.
Because when you add your app in page, you must go add how Client App Part or WebPart.

Provider-hosted apps and Atohosted apps for Office 365?

Can you use a Provider-hosted apps and an Autohosted apps for Office 365? How? You write server side code in them, so how can they work with Online?
You can use provider hosted apps and autohosted apps with SharePoint Online. They work because your server side code is not hosted on SharePoint - in case of Autohosted apps your code is hosted on Azure web site, in case of provider hosted some provider hosts it. So basically in your SharePoint site you have "link" wrapped in app package which points to external web site. External web site can use some features of SharePoint (for example get its data or use chrome control).

How to publish asp.net web site to azure when not an asp.net web project

Using Visual Studio 2012 RC, I have many existing asp.net (VB) web sites and I always simply select open web site when I edit them in VS, they are not web projects.
I want to publish some of them now to my azure account, but if I simply right click the solution and select publish web site I dont get the same publish options as I do if it was a web project? I get the default publish option asking me where I want to place my compiled pages.
How can I import the publish settings for my azure web site for web sites?
I don't want to have to convert all web sites to projects.
Windows Azure Web Sites allow you to deploy your website in different ways, including TFS, Git, ... But in your case it might be interesting to look at FTP deployment. This because, when right clicking on a web site you can choose to copy the website:
The copy feature allows you to copy the website to an FTP server.
The information to access your web site through FTP can be found on the dashboard.

Resources