Https://lms nhcms net/User/Login?ReturnUrl=%2f




Indir 113.51 Kb.
TitleHttps://lms nhcms net/User/Login?ReturnUrl=%2f
Date conversion15.02.2013
Size113.51 Kb.
TypeBelgeleme
Sourcehttp://sharepoint.ecmleader.com/coe/Shared Documents/Training/TariqSP-10175-DevAndCus.AppForMSSh
https://lms.nhcms.net/User/Login?ReturnUrl=%2f

tmislam@firstcommand.com

Password1

NOTES:

[11:30- 12:30] lunch

MCPD - MS Certified Professional Developer

10232A Designing Applications for Microsoft SharePoint 2010

Dynamic compilation - ASP.NET first time page load.

Internet Information Services (IIS) - Web Server

Defaul Sites in IIS :

Defaul Web Site

SharePoint - 80

SP Central Admin v4

SharePoint Web Services

c:\inetpub\wwwroot> all web all

c:\inetpub\wwwroot\wss\VirtualDirectories\80 > web.config

No Home.aspx page. > Ghost Page. Does not exist til it is rendered at runtime.

http://sharepoint/SitePages/Home.aspx

SharePoint 14 Folder: 12 hive( 2007)

c:\Program Files\Common Files\Microsoft Shared\ Web Server Extensions\14 > SharePoint Root

TEMPLATE > blue Print file

FEATURE > TaskList folder > Feature.xml file

LAYOUT>

SQL Server Management Studio:

SharePoint pulls content from SQL server. SQL server stores content. Content are stored in SQL server contente DB.

WSS_Content > defaul DB for storing SharePoint content. Never directly work with WSS_Content.

c:\windows\assembly (GAC) global Assembly Cache > Global. Available to any web app.

c:\14\virtualDirectores\bin > only available to SharePoint ASP.NET application.

Custom List Definition > defaul list template for creating a new List ( blue print template)

SharePoint Firm> Top level of container hierarchy. Highest level o the Hierarch.


Farm Service ( Type = Microsoft SharePoint Foundation Web Application , status = online)

SharePoint - 80

http://sharepoint

Home

Powershell uses same object model as SharePoint object model.


It is challeging to be a SharePoint developer becuase you have to understand the SharePoint archetecture.


SharePoint 2010 Workload ( what SP does for end user, what SP Developer deliver for end user).

Deveopment tool:

2 tools for very specific tasks. VS2010 - power tool | SPD 2010 - lightweigh tool for very specific task.

SharePoint 2010 SDK

Visio Premium edition ( workflow development)

Target Appliction type:

There is 4.

Execution Environemt: 14 folder, solutions > deployed activated.

Can do some ASP.NET 4 as long as ASP.NET 4 is intalled on the server. For workflow, only use WWF 3.5 with ASP.NET 3.5

SharePoint Foundation 2010 Fee , comes with windows server 2008 64-bit.

SP Server 2010 - Standard/Enterprise.

http://sharepoint.microsoft.com/en-us/buy/Pages/Editions-Comparison.aspx

SharePoint Developer > Navy Seal of C#.NET Developmet.

SPFram- Top container

SPService/SPWebApplication - work together.

SPSite- SiteCollection

SPWeb - WebSite

SPFarm/SPService/SPWebApplication > not used often unelss you are writing service for SharePoint. Utilitly type work for SharePoint itself.

You will use mostly SPSite and below.

Forms services, excel services, BCS - about the firm and services.

SPWebApplication - related to IIS web Application factor. Each web application has its own web.config file. Usually web admin create web applcation. It is unsual for developer to create site.

SPSite > SPWeb pre allocates memoery. Need to dispose.

Garbage collection ( ASP.NET) will make some intelligent desion. That does not work on SPSite/SPWeb object.

FPDispose.exe > SharePonit memory leadk disposal check list.

new SPSITE() > create a new object to create a new site collection. Add SPSite() will add a new site collection.

Different instantiation approaches requiers different disposal method.

.RootWeb ( root site collection )

.OpenWeb ( sub site)

List- Items and Library - handle files.

Libraries > is a speilized List.

Hidden List ?

Add/Delete/recycle > to add list.

Most object do not support or require desposal except SPSite and SPWeb.

SharePiont project type: List Definition.

Features> Feateure1 ( default)

Rename .wsp file to .cab file to look at the details of the file.

Assembly gets deployed in GAC.

../layouts/.aspx

Iterane through web application ( except central admin) and list all site collection.


Why and when to use code: 23 org, each have own site collection, .. use programming

for batch processing.

FEATURE vs Layout

XML file contains XAML

List definition , Custom field custom field type

All custom list created from browser will have a web part created for it.

When to use connection for web part?

ASP.NET web part / SharePoint WebPart > 2007,

2010 >

Visual Web Part ( use to be Smart part in 2007)

Web Part ( standard or Classic web part)

2007 style:

Web Part ( standard or Classic web part) extend : WebPart

Web Part is added as a Feature which can be activeated ( needs to be renamed when first created). Added in /features directory and added under custom category of the web part list. No tool box accesss and .ascx file.

2010 Style:

Visual Web Part , less secure.

There is Toolbox access, creates a .ascx page. User control file.

USER CONTROL FILE> .ASCX

/14/TEMPLATE/CONTROLTEMPLATES/VisualWebPartName/> .ascx page

.ASCX page can be modified on the flow. For standard web part, the code has to be compiled

and deployed to make changes.

Add new item> Web User Control > .ascx file. The .ascx file can be dragged and dropped to any .aspx page. APCX page can be used in one or many pages.

Standard web part is more secured. Some place might not allow you to add visual web part for security reason.

Write a web part to filter Task by Date:

Use list as a data source. and Run a data query from the Web Part

Both standard and Visual extent System. ..WebPart

Global Scope.

CAML Query?

How to modify right hand site of web part where user can interact.

Put code inside [ ] // Web Part Proopery decoration.


Provider Web Part

Consumer Web Part

Web part can be a project by itself. But best practice is to create a starndard SharePoint project and add the web part to it.

Treeview control is not a SharePoint control. It is a ASP.NET control. Allows collapse and

expand experience to user.

Cannot use Visual WebPart in sandbox solutions witout using the power tolls for VS for SP2010.

Power Tolls for VS for SharePoint 2010 which contains Visual Web Parts for Sandbox solutions.

//TEMPLATE ID:

STS#0 Team Site

STS#1 Blank Site

STS#2 Document Workspace

MPS#0 Basic Meeting Workspace

MPS#1 Blank Meeting Workspace

MPS#2 Decision Meeting Workspace

MPS#3 Social Meeting Workspace

MPS#4 Multipage Meeting Workspace

WIKI#0 Wiki Site

BLOG#0 Blog Site

LINQ: You can use Language-Integrated Query (LINQ) in Web pages to retrieve and modify data.

You can use Language-Integrated Query (LINQ) in Web pages to retrieve and modify data. LINQ applies the principles of object-oriented programming to relational data. It provides a unified programming model for querying data from different types of data sources, and extends data capabilities directly into the C# and Visual Basic languages. For more information, see LINQ (Language-Integrated Query).

You can use LINQ through the LinqDataSource control, through the ObjectDataSource control, or by creating LINQ queries.

When you use LINQ in a Web application, you might have to change the policy files for code-access security. These changes are described later in this topic.


C:\Program Files\Common Files \Microsoft Shared\Web Server Extensions\14\ISAPI\ folder


Microsoft.SharePoint.Linq.dll


LINQ Demo with ASP.NET Web Application


Downloand html5 intellicense for VS2010

http://www.codeproject.com/Articles/188935/LINQ-Demo-with-ASP-NET-Web-Application


Linq to XML, to SQL, SharePoint etc.

SQL query language

SQL SEVER 2008

Entity or Entity Framework:

Latest and best practice , use entities in your work. Stand out.

HR has Oracle DB > write ASP.NET app. > Direct Oracel Data Connection ( tradinally this is how it is done).

Now they want to move the data to MasterData ( SQL server ) . Now you have to re-write you application becuae you are connecting directly to Oracle DataSource.

Build entities based on the data

LINQ to Oracle

LING to SQL

LING to XML

LING to iSeries

Creating Event Receivers

example :

alert some action needs to happen when an item is added to a list.


Types of Event Targets:

List items, List e-mails, List workflow List Web Features

WHILE added After added

ItemAdding (ing) ItemAdded(ed)


.aspx files get saved in layout folder. .ASPX page also known as application page.

CODE to update the web.config file.

2010 Information Worker Demonstration and Evaluation Virtual Machine (SP1)

http://www.microsoft.com/download/en/details.aspx?id=27417

How To Setup A SharePoint 2010 Development Environment On Windows 7

http://www.opsvault.com/how-to-setup-a-sharepoint-2010-development-environment-on-windows-7/

BCS

Branding, BCS > SPD is build to handle.

.NET Type > is a class file, some type of connector ( Orace/SAP has connector for SharePoint)

SQL Server

WCF Service

You want to use BCS if you want users to use a SharePoint list to update, add, delete ( CRUD) operation on a extranal data source that is not in SharePoint SQL server DB.

Manage Service Application > BCS is a service application. BDC service > the BCS created in SPD will be listed there. > set Persmissions there to ( you can set pernission on the objects in the BDC Metadata Store)

BCS can be used to use SharePoint to perform CRUD operation in an extranal DataSource.

BCS List > can not add column. Need to add in SQL server

vs SharePoint List

.BDCM > BCS Entities Model > TrainingEvents.bdcm

BDC Explorer Windows in VS2010 (Search an Entity on the BDC Designer or BDC Explored to edit ints methods.

Add item > Business Data Connectivity Model BcdModel1.bdcm

Workflows

Stateflow workflow > change in WWF

namespace to update web.config in SharePoint.

Need to learn SharePoint Product, addition and what end users can do in browser.

Then you need to be a power user, adminstrator , need to know OOB tools.

DO not code something that is already availabe OOB.

http://spdactivities.codeplex.com

http://mossactivities.codeplex.com/

http://blogs.msdn.com/b/joshuag/archive/2008/06/03/getting-the-current-user-name-or-id-in-sharepoint-using-sharepoint-designer-no-code.aspx


http://msdn.microsoft.com/en-us/library/ee819925.aspx

http://fabiangwilliams.wordpress.com/2009/12/03/creating-a-sharepoint-2010-external-content-type-with-crud-methods-using-linq-and-a-sql-lob-system/

http://bdcmodelbuilder.codeplex.com/

XAML - used by SPD, SPD workflow uses WWF

Sequential Workflows-

14 sequence 3 optional conditions. Very set of sequence. Very predictable path.

State Machine Workflows- No predicable path but should have every predictable state accounted for in the workflow.


SharePiont Client Object Model:

Create windows form Application, you can make console application independet of SharePoint Firm, ASP.NET web site or Silverlight stand alone or hosted by a web application.

Take advantage of Javascript, Ajax, jQuery etc.

Server round trip > Java scrip only runs on browser.

SharePoint Server Object Model vs SharePoint Client Object Model.

SPWeb > COM >

SPSite > COM >

Site Actions Menu> displayed using SharePoint AJAX

Welcome Menu is Ajax, Drop down for item > AJAX

Add new item> Model pop up. it is an AJAX ( graying out the parent) Has the Ribbon.

Documents Ribbon > All Ajax

Code snippets

REST APIs

Client OM

context.ExecuteQuery()

contect.ExcuteQueryAsynch()

\14\ISAPI folder

Microsoft.SharePoint.Client.dll

Microsoft,SharePoint.Client.Runtime.dll

When to use asynchronous > SilverLight application , wait for their turn. If you use synchronous, for silverlight will not run. Only asynchronous for Silverlight.

14\TEMPLATE\LAYOUTS\ClientBin folder

Microsoft.SharePiont.Clinet.Silverlight.dll

Microsoft.SharePiont.Clinet.Silverlight.Runtime.dll

Create XAP file for Silverlight.


jQuery > javaScrip library with .js files.

SharePoint has its own JavaScrip library.

sp.js and

http://slodive.com/freebies/best-jquery-slideshow-gallery-plugins/

Ajax Control Toolkit

http://www.asp.net/ajaxlibrary/act.ashx?From=MainPage


http://www.asp.net/ajaxLibrary/AjaxControlToolkitSampleSite/

http://jquery.com

SharePoint Designer custom activities.

Flash and Silverlight > HTML5, open standard, supported by all browser. Flash Killer/ Silverligh killer.

CSS 3 and HTML5 > new web development standard to use

http://www.w3schools.com/html5/default.asp

ClientContext >SPsite/SPWeb

ClientContext remoteCtx= new ClientContext("http://SharePoint.com");

Web remoteWeb = remoteCtx.Web;

remoteCtx.Load(remoteWeb);

New/Add for for server object mode. Load for Client OM.

WebCreationInformation skillsInfo = new WebCreationInformation();

Web skillweb = remoteWeb.Webs.Add(skillsInfo);

remoteCtx.ExecuteQuery();

Maximum limit of file uploead in SharePoint is 2 Gig.

MS backed away from using Silverlight as its mobile platform.

.XAML > silverlight, xbox, SharePoint desiger.

Silverligh debug you attach to browser iExplored.

w3wp is a server side process.

Default Custom Action Locations and IDs

http://msdn.microsoft.com/en-us/library/bb802730.aspx


SharePoint 2010 101 Code Samples



http://code.msdn.microsoft.com/sharepoint/SharePoint-2010-101-Code-da251182/view/SamplePack

jQuery

JSON

REST

Module 1


Lab Instructions: Introduction to the SharePoint 2010 Development Platform

Exercise 1: Creating SharePoint 2010 Application Pages by Using Visual Studio 2010

Task 1: Create a Visual Studio 2010 project for SharePoint

Task 2: Add Application pages to the SharePoint 2010 project

Task 3: Add user interface components to SharePoint Application pages

Exercise 2: Enumerating SharePoint 2010 Farm Hierarchies

Task 1: Retrieve details of services and Web applications from the SharePoint farm

Exercise 3: Manipulating Properties of Objects in the SharePoint Farm

Task 1: Retrieve properties of SharePoint objects

Task 2: Set properties of SharePoint objects

Task 3: Test the solution


Module 2

Lab Instructions: Using SharePoint 2010 Developer Tools

Exercise 1: Creating Document Libraries by Using SharePoint Designer 2010

Task 1: Edit the HR Intranet site in SharePoint Designer 2010

Task 2: Add a column to the Resumes library

Task 3: Create a view for the Resumes library

Task 4: Test the Resumes library


Exercise 2: Creating SharePoint List Definitions and Instances by Using Visual Studio 2010

Task 1: Create a Visual Studio 2010 project for SharePoint

Task 2: Add a list definition and instance based on the tasks template to the SharePoint 2010 project

Task 3: Add a list definition and instance based on the custom list template to the SharePoint 2010 project

Task 4: Deploy and manage the solution from Visual Studio 2010

Task 5: Define custom list schema


Exercise 3: Packaging Features and Solutions by Using Visual Studio 2010

Task 1: Remove items from a feature

Task 2: Create a new feature and add items to it

Task 3: Package Features

Task 4: Deploy solutions by using Windows Power shell

Task 5: Finalize the solution

Task 6: Test the solution


Module 3


Lab Instructions: Developing SharePoint 2010 Web Parts

Contents:


Exercise 1: Creating, Deploying, and Debugging a Simple Web Part by Using Visual Studio 2010




Task 1: Create an empty SharePoint project

Task 2: Add a standard Web Part to the project

Task 3: Debug the Web Part




Exercise 2: Using SharePoint Components in a Web Part


Task 1: Create class-level variables for the Web Part

Task 2: Develop the CreateChildControls method to use SharePoint components

Task 3: Add event handler code for SharePoint components

Task 4: Test the Web Part


Exercise 3: Creating a Visual Web Part by Using Visual Studio 2010

Task 1: Add a Visual Web Part to the project and design its graphical user interface

Task 2: Develop the code for the Visual Web Part

Task 3: Deploy and test the Visual Web Part

Module 4


Lab Instructions: Working with SharePoint Objects on the Server

Contents:

Exercise 1: Creating and Securing Sites Programmatically


Task 1: Create an empty SharePoint project

Task 2: Add an application page for creating and securing sites



Exercise 2: Creating Lists Programmatically


Task 1: Complete the code for the createList function

Task 2: Deploy and test the application page


Exercise 3: Retrieving Secured Data

Task 1: Create a pair of connected Web Parts

Task 2: Create an interface for the connection between the Web Parts

Task 3: Implement the provider Web Part to retrieve data from the secured subsite

Task 4: Generate LINQ entities for use in the consumer Web Part

Task 5: Implement the consumer Web Part

Task 6: Deploy and test the visual Web Part

Module 5

Lab Instructions: Creating Event Receivers and Application Settings


Contents:

Exercise 1: Creating List Event Receivers


Task 1: Create an empty SharePoint project

Task 2: Add event receivers to the InterviewOutcomes list

Task 3: Develop the event handlers in the event receiver class

Task 4: Deploy and test the list event receiver



Exercise 2: Creating Feature Receivers to Modify Web.Config


Task 1: Add a new feature and feature receiver to the project

Task 2: Add code for modifying the Web.config file



Exercise 3: Creating Web Event Receivers

Task 1: Add a Web event receiver

Task 2: Develop the Web event receiver to read the Web.config file

Task 3: Deploy and test the Web event receiver


Module 6

Lab Instructions: Developing Solutions by Using Business Connectivity Services

Contents:


Exercise 1: Creating External Content Types and Lists by Using SharePoint Designer 2010


Exercise 2: Creating Business Data Catalog Models by Using Visual Studio 2010


Module 7

Lab Instructions: Developing SharePoint 2010 Workflows

Contents:


Exercise 1: Creating Workflows by Using SharePoint Designer


Exercise 2: Creating a Sequential Workflow by Using Visual Studio 2010


Module 8

Lab Instructions: Working with Client-Based APIs for SharePoint 2010

Contents:


Exercise 1: Creating a SharePoint 2010 Site, List, and List Items Using the Client Object Model


Exercise 2: Building and Using the Console Application


Module 9

Lab Instructions: Developing Interactive User Interfaces

Contents:


Exercise 1: Creating a Site Actions Menu Item


Exercise 2: Creating a Ribbon Item 5


Exercise 3: Creating a Client-Side Dialog


Module 10

Lab Instructions: Developing Silverlight Applications for SharePoint

Contents:


Exercise 1: Creating a Silverlight Application


Exercise 2: Developing the Silverlight Application


Module 11

Lab Instructions: Developing Sandboxed Solutions

Contents:


Exercise 1: Creating a Sandboxed Solution by Using Visual Studio 2010


Exercise 2: Investigating Allowed and Disallowed Operations in Sandboxed Solutions


Module 12

Lab Instructions: Working with SharePoint Server Profiles and Taxonomy APIs

Contents:


Exercise 1: Managing User Profiles


Exercise 2: Working with User Profiles Programmatically


Module 13

Lab Instructions: Developing Content Management Solutions

Contents:


Exercise 1: Customizing Master Pages


Exercise 2: Applying a Theme to a SharePoint Site


10231 - Designing a Microsoft SharePoint 2010 Infrasturcure

Exam 70-573:

logon to MCP site with your MCP id.

Add document to your blog or website

Similar:

Https://lms nhcms net/User/Login?ReturnUrl=%2f iconHttps://login anadolu edu tr/?url=

Https://lms nhcms net/User/Login?ReturnUrl=%2f iconLogin to your own user account on your server

Https://lms nhcms net/User/Login?ReturnUrl=%2f iconServis Adı : NETCADATS. USER. LOGIN Modul Adı

Https://lms nhcms net/User/Login?ReturnUrl=%2f iconHttps://www facebook com/pages/VANa-1-Bilet/312055905519056

Https://lms nhcms net/User/Login?ReturnUrl=%2f iconHttp://proquest umi com/login

Https://lms nhcms net/User/Login?ReturnUrl=%2f iconUser Manual

Https://lms nhcms net/User/Login?ReturnUrl=%2f iconUser Manual

Https://lms nhcms net/User/Login?ReturnUrl=%2f iconPolygon End-User Documentation

Https://lms nhcms net/User/Login?ReturnUrl=%2f iconATM User-Network Interface Specification

Https://lms nhcms net/User/Login?ReturnUrl=%2f iconEnd User Software License Agreement

Sitenizde bu düğmeye yerleştirin:
Belgeleme


The database is protected by copyright ©okulsel.net 2012
mesaj göndermek
Belgeleme
Main page