博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
MOS2010开发基础和集几种开发模型
阅读量:6981 次
发布时间:2019-06-27

本文共 3091 字,大约阅读时间需要 10 分钟。

基础

基本的部署结构图类似如下

创建新的Web Application的原因:

One key reason to create a new web application is to isolate content. Every time a new web application is created, SharePoint creates a new content database. All the data in the sites associated with the web application is stored in this content database.

A second key reason to create a new web application has to do with security. All the execution of all the site collections associated with a web application occurs in the application pool.

开发

编程模型

如下是每种编程模型的主要引用库和结构

Server-side object model

引用的库

The core server-side object model of SharePoint Foundation is served up through an assembly named Microsoft.SharePoint.dll. Once you reference this assembly within a Visual Studio 2010 project, you can start programming against the classes in the server-side object model, such as SPSite, SPWeb, and SPList.

防止GC问题的工具

To check whether your code has been implemented correctly against these coding rules, you can use the free downloadable SharePoint Dispose Checker Tool (available at .

LINQ to SharePoint

One of the most significant new features of Microsoft SharePoint 2010 is the support for LINQ on the server side. This is a satisfying alternative to the classic object model “Server Object Model.”

The first and main task when developing solutions that make use of LINQ to SharePoint is to model the typed entities. You can define these manually, but it is general more useful to use a specific tool, named SPMetal.EXE, which can automatically generate entities for you.

.

Microsoft.SharePoint.dll, Microsoft.SharePoint.linq.dll,

SPMETAL.EXE /web:http://demo /code:MOS.cs /namespace:Dev.MOS2011

Client Object Model

实际使用的都是当前网站集下的/_vti_bin/ 目录下的Client.svc,服务

Managed OM

These assemblies are Microsoft.SharePoint.Client.dll and Microsoft.SharePoint.Client.Runtime.dll. They can be referenced by any 32-bit or 64-bit .NET 3.5 project.

Silverlight

SharePoint14_Root\TEMPLATE\LAYOUTS\ClientBin folder, and you can use it in any Silverlight 3.0 or higher solution by referencing the assemblies

Microsoft.SharePoint.Client.Silverlight.dll and Microsoft.SharePoint.Client.Silverlight.

Runtime.dll.

参考资料

操作基础

Mastering Microsoft SharePoint Foundation 2010 4398565.2395109692

技术基础

Inside Microsoft SharePoint 2010 4397414.2361044022

Microsoft(R) SharePoint(R) 2010 Developer Reference

Office集成

Form Service

Office and SharePoint 2010 User’s Guide 4394547.3633736709

Pro SharePoint 2010 Solution Development Combining .NET, SharePoint, and Office 4394141.5872598620

InfoPath with SharePoint 2010 How-To 4397106.7028333989

Workflow

SharePoint 2010 Workflow in Action

Webparts

SharePoint 2010 WebParts in Action

微软官方架构指南

Designing Solutions for Microsoft SharePoint 2010

代码参考

Cookbook Microsoft SharePoint 2010 Development with Visual Studio 2010 Expert Cookbook 4400215.3231381504

SharePoint 2010:专业开发人员评估指南和演练

开发工具和SDK

SDK

SharePointPlatformSDK.exe

Sharepoint Foundation + sp1

独立安装,不要用场安装[需要AD等,在部署时再用],默认使用的是Sql Express数据库

Sharepoint Designer

无代码设计网站使用

通过这个可以了解概念

Infopath

Visio Professional

Office 2010套件包含该软件

开发工具

VS2010

 

 

2012年的雪来的有些晚了,但今天终于还是下了,挺大的雪! 

转载地址:http://bxjpl.baihongyu.com/

你可能感兴趣的文章
NYOJ-70 阶乘因式分解(二)
查看>>
OA项目之左导航
查看>>
怎样使用SetTimer MFC 够具体
查看>>
span设置padding无效
查看>>
多线程编程学习笔记——线程池(一)
查看>>
存储过程中@@Identity全局变量
查看>>
在Foreman上配置puppetrun
查看>>
RGB、HSB、HSL 互相转换算法
查看>>
Linux下grep显示前后几行信息
查看>>
【转】外企高管们的“中年危机”
查看>>
HeapAlloc 和 GlobalAlloc 以及 VirtualAlloc 三者之间的关系(转)
查看>>
Xcode 8 的 Debug 新特性 —- WWDC 2016 Session 410 & 412 学习笔记
查看>>
Mac Apache Tomcat 配置
查看>>
如何在net中实现动态执行代码(js的eval)的功能?
查看>>
Android 中.aar文件生成方法与用法
查看>>
Vue路由history模式踩坑记录:nginx配置解决404问题
查看>>
Pyhthon爬虫其之验证码识别
查看>>
Joiner的用法
查看>>
统帅的AB面:砥砺5年重新定义中国制造
查看>>
2017手机市场半年报来袭 华为14.44%用户关注比例领跑第一阵营
查看>>