Migrating Asp Net Apps T03 Paul Stork

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Migrating Asp Net Apps T03 Paul Stork - Presentation Transcript

    1. Migrating ASP.NET Applications
      Four ways to convert them
      to SharePoint
      Paul Papanek Stork, SharePoint Server MVP, MCT, MCSE+I, MCSA, MCSD, MCDBA, MCITP, MCPD
      Paul.Stork@Mindsharp.com
    2. About the Speaker…
      Paul Papanek Stork, MVP, MCT, MCSE+I, MCSA, MCSD, MCDBA, MCITP, MCPD
      Senior Instructor/Consultant at Mindsharp
      http://www.mindsharp.com
      Paul.Stork@mindsharp.com
      Contributing Author, Developer’s Guide to Windows SharePoint Services 3.0 & Microsoft Office SharePoint Server 2007 Best Practices
      Author, upcoming October 2009MCTS: Windows SharePoint Services 3.0 Configuration Study Guide (70-631) by Wiley
    3. Agenda
      The Challenge of Legacy Applications
      Four Conversion Methodologies
      Page Viewer Web Part
      Run in Virtual Application Directory
      Uploaded Pages with Separate Class Library
      Refactor as Connected Web Parts
    4. The Legacy Application Problem
      Legacy ASP.NET Applications
      Based on .aspx pages
      Integrated Development environment
      Code beside sheets or inline code
      Code re-use and integration a challenge
      SharePoint Applications
      Based on Web parts
      No direct development environment
      Separate class libraries
      Web part re-use and integration through connections
    5. Page Viewer Web Part
      Uses an iFrame embedded inside a Web Part
      Advantages
      Simplest Conversion
      Disadvantages
      Authentication may be a challenge
      Not High Performance
      Requires maintaining existing servers
      Difficulties with sizing and framing
    6. Page Viewer Web Part
    7. Virtual Application Directory
      Create Virtual Directory in Web Application
      Advantages
      Can be mapped to multiple zones
      Requires few changes
      Can use SharePoint branding & navigation
      Disadvantages
      May require some code changes to run
    8. Creating a Virtual Directory
      Create a Virtual Directory in IIS manager
      Remove Application setting
      Copy pages and code behind files
      Make any necessary code changes
      Transfer required web.config settings
      Edit MasterPageFile attribute
      Modify relative Url addresses
    9. Virtual Application Directory
    10. Uploaded Pages with Class Library
      Upload ASPX pages to SharePoint Library
      Re-compile Code in Class Library
      Advantages
      Supports SharePoint Branding
      Disadvantages
      Code must be modified and recompiled
      No support for Inline Code
      Some code changes required
    11. Creating an Uploaded Page
      Add code behind file to a Class Library project
      Add Namespace to class
      Add protected declarations for controls declared on page
      SharePoint specific code changes
      Edit and upload ASPX pages to document library
      Same as changes for virtual directory
      Remove AutoEventWireup and Codefile attributes
      Change Inheritance to point at Class Library
      Mark class as Safe in web.config
    12. Uploaded Pages with a Class Library
    13. Refactor as Web Parts
      Re-factor web page as a set of Web Parts
      Advantages
      Web Parts allow for re-use
      Can be configured by users
      Can leverage SharePoint infrastructure
      Disadvantages
      Requires the most effort
    14. Refactoring as Web Parts
      Logically break code into UI components
      Territory picker dropdown
      Territory grid display
      Define Interface for data passed between Web parts
      Create Web Parts for each UI component
      Reuse code when possible
      Look for SharePoint specific alternatives
      Add Web Parts to a page
      Configure connections between Web parts.
    15. Connected Web Parts
    16. Thank you for attending!
      Please be sure to fill out
      your session evaluation!
    SlideShare Zeitgeist 2009

    + pstorkpstork Nominate

    custom

    213 views, 0 favs, 0 embeds more stats

    Enabling Anonymous Access in SharePoint isn’t jus more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 213
      • 213 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 1
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories