Presentation is loading. Please wait.

Presentation is loading. Please wait.

Randy Williams, MOSS MVP Senior Consultant Synergy Corporate Technologies.

Similar presentations


Presentation on theme: "Randy Williams, MOSS MVP Senior Consultant Synergy Corporate Technologies."— Presentation transcript:

1

2 Randy Williams, MOSS MVP Senior Consultant Synergy Corporate Technologies

3 Session Overview SharePoint Technologies Developing Apps on SharePoint Deploying Apps on SharePoint Features Site Definitions Code Access Security Troubleshooting

4 SharePoint Technologies.NET 2.0 Framework ASP.NETADO.NETSecurity.NET 3.0 Framework Workflow WSS & MOSS UI Windows API OS.NET SharePoint API … Web Services SharePoint UI Custom Solutions 3rd Party In house WSS Object Model MOSS Object Model

5 Custom SharePoint Solutions Developers build solutions on SharePoint just like Microsoft did Multiple ways to build a solution –Use SharePoint UI (webs, lists, libraries) –Office Products MS Access, Excel, InfoPath –SharePoint Designer –Visual Studio

6 SharePoint Designer Best tool for customizing SharePoint –Master/site pages –CSS –Web parts (e.g. Data View Web Part) –Custom Workflow Risk exposure is isolated & limited Typically done directly on production server

7 Visual Studio Best tool for building applications –Features, site definitions, web parts, custom field types, complex workflow Risk exposure is high Done in a development environment –Recommend local development Staged deployment into test and production environments

8 How to deploy applications? One answer: SharePoint Solutions Single file (.wsp) that contains all configuration, files, and code Solution lifecycle –Add, Deploy, Retract, Delete STSADM (all four) Central Admin (all but add) Insist the development team build them

9 SharePoint Solution Randy Williams Synergy Corporate Technologies

10 Features Snap-in functionality Dozens are built in to product Web parts, pages, workflow, menu commands, list templates, others Feature scope –Farm, Web app, Site collection, Web Feature lifecycle –Install, Activate, Deactivate, Uninstall

11 Feature Lifecycle Randy Williams Synergy Corporate Technologies

12 Site Definitions Blueprint for newly created web sites –Defines navigation, features, master page, lists Stored in 12\Template\SiteTemplates Developers can create custom ones Fantastic 40 Site definitions vs site templates

13 Web Parts Developed using Visual Studio Personalization Where to place assembly? –Bin folder or Global Assembly Cache Recommended ways to deploy –Using a SharePoint Solution –Via a Feature

14 Custom Field Types Supplement to built in types Developers define –How to collect information (input) –How information is processed (validation) –How to store in content database –How to display (output) Issues to consider

15 Event Handlers (Receivers) Developers can enhance how changes are made Before and after events Events exist for items, lists, webs, Features, and others Common item event operations include –Add, Update, Delete, Check-In/Out

16 Code Access Security (CAS).NET technology to secure code based on origin Based on concept of trust Bin folder for web application – partially trusted Global Assembly Cache – fully trusted Level defined in web.config –WSS_minimal, WSS_medium

17 CAS Guidelines Do not deploy assemblies to GAC unless they are genuinely trusted –Custom/3 rd party code should be tested Be cautious about elevating trust in web.config –Definitely avoid Full trust It is difficult, but developers can create custom CAS policies

18 web.config XML file for SharePoint configuration One per web application Useful sections to know – – & –

19 web.config Tour Randy Williams Synergy Corporate Technologies

20 Troubleshooting Tips “An unexpected error has occurred” Event Viewer – Application log SharePoint logs –ULS Log viewer Resetting application pool Try to reproduce in test environment

21 Troubleshooting Randy Williams Synergy Corporate Technologies

22 Questions? Email –rwilliams@synergyonline.comrwilliams@synergyonline.com My blog –http://sharepointhawaii.com/randywilliamshttp://sharepointhawaii.com/randywilliams

23


Download ppt "Randy Williams, MOSS MVP Senior Consultant Synergy Corporate Technologies."

Similar presentations


Ads by Google