We have a small .NET web application (aspx & ascx) that is used inside our company. It is currently stand alone with its own database but I’m trying to see if it is possible to move it inside SharePoint as this is becoming the company’s standard way of delivering intranet based content (currently using 2007 but there is a planned upgrade to 2010) . Rather than use a “iframe” webpart, what options do I have? For example,
- Are there any “standard” ways of integrating external web apps inside SharePoint?
- Would it be a good idea to migrate the data into SharePoint lists? (The data model is quite simple – only around 10 main tables)
- As the users of the application are all network users, one of the other things I’d like to consider is to manage user access via SharePoint rather than via the application itself – is this possible?
SharePoint is a framework built on top of ASP.NET. Many of your ascx controls might be able to transfer to SharePoint with few or no changes. Likewise, it should be possible to rewrite your aspx pages as either Web Parts or SharePoint compatible aspx pages. The main difference with a SharePoint aspx page is the names (or number) of the Content Place Holders defined by the out of the box master pages. Also, any inline code on your aspx pages should be moved into a class.
You could move all of your data into SharePoint lists, but there is nothing wrong with leaving where it is and using your current data access functionality. Unless you want to give more visibility to the data or combine the current data with new SharePoint data, there is no need to rewrite parts of your application that are currently working.
You certainly can leverage SharePoint to manage authorization to your application once it is hosted in SharePoint. To do so, rewrite the appropriate portions of your application to use the SharePoint API rather than your custom security.