MOS2010开发基础和集几种开发模型

简介: 基础 基本的部署结构图类似如下 创建新的Web Application的原因: One key reason to create a new web application is to isolate content.

基础

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

clip_image002

clip_image004

创建新的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.

开发

编程模型

clip_image006

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

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 http://code.msdn.microsoft.com/SPDisposeCheck.

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.”

clip_image002[5]

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.

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

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,服务

clip_image004[5]

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

http://www.microsoft.com/downloads/zh-cn/details.aspx?displaylang=zh-cn&FamilyID=cffb14e8-88a9-43bd-87aa-4792ab60d320

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

开发工具和SDK

SDK

SharePointPlatformSDK.exe

Sharepoint Foundation + sp1

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

Sharepoint Designer

无代码设计网站使用

通过这个可以了解概念

Infopath

Visio Professional

Office 2010套件包含该软件

开发工具

VS2010

 

 

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

相关文章
|
10月前
|
数据采集 人工智能 自然语言处理
基于OpenLake的大模型训练及RAG应用
本文介绍了OpenLake在大数据与AI融合方面的应用,重点探讨了如何通过OpenLake打通数据到应用的各个环节。首先,阐述了自然语言处理(NLP)从非结构化数据向结构化数据的转变,并强调了高质量数据对AI模型训练的重要性。接着,详细介绍了OpenLake+PAI平台如何实现大数据与AI的一体化开发,包括数据预处理、多模态数据管理、智能标注及优化推理效率等。最后,结合OpenSearch,展示了RAG(检索增强生成)技术在企业级应用中的挑战与解决方案,如构建稳定高效的检索系统,确保数据安全与准确性。整体方案旨在提升AI模型的效果和安全性,推动各行业的智能化转型。
|
Java API
深入理解 Java 循环结构:while、do while、for 和 for-each 循环
循环可以执行一个代码块,只要达到指定的条件。循环很方便,因为它们节省时间,减少错误,并使代码更易读。
340 1
|
存储 弹性计算 大数据
阿里云8核64G云服务器多少钱?2024年阿里云8核64G云服务器配置、价格、性能测评
2024年阿里云8核64G云服务器的价格为9934.16元一年。该价格基于特定的配置和促销活动,并可能因时间、活动政策、地域等因素而有所变动。关于阿里云8核64G云服务器的性能测评,该服务器配备了64GB的内存和8核的CPU,具有极高的计算能力和处理速度,适用于处理超大型数据、运行复杂应用或需要极高并发处理能力的场景。多种带宽选择(从1M到5M)可以满足不同的网络需求,确保数据传输的高效性。同时,40GB ESSD云盘提供了快速且稳定的数据存储解决方案,有助于提升整体性能。
781 0
|
数据采集 人工智能 监控
Spring Boot项目中集成Spring AI(也就是Spring Artificial Intelligence)
Spring Boot项目中集成Spring AI(也就是Spring Artificial Intelligence)
4045 1
|
5G SDN 数据中心
网络即服务的现状及展望
网络即服务(NaaS)随着云计算的发展以及5G产业带动的软件定义网络(SDN)和网络虚拟化(NFV)越来越为大众所知,近两年越来越普及的SD-WAN,以及升级版的SASE(安全接入服务边缘)可以说是其中最为代表性的应用方向。
|
SQL 存储 分布式数据库
美团增量数仓建设新进展
美团增量数仓建设新进展
421 0
|
缓存 Java 数据库
Springboot项目启动时加载数据库数据到内存
Springboot项目启动时加载数据库数据到内存
248 0
|
存储 数据可视化 数据管理
Ganos三维引擎系列(三):BIM数据管理与可视化功能解析
本文介绍了阿里云多模态时空数据库Ganos三维引擎在BIM数据管理中的应用。Ganos三维引擎支持三大类存储结构:表面网格模型、体网格模型与3D实景模型,其中表面网格模型(SFMesh)用于存储带有语义的类BIM精细化三维模型,同时提供了空间索引、分析算子、导入工具、可视化支撑等功能,本文详细介绍表面网格模型应用于IFC格式的BIM数据管理与可视化等功能。
|
SQL 存储 关系型数据库
开源 Golang 微服务入门三:ORM 框架 GORM| 青训营笔记
GORM 是面向 Golang 语言的一种 ORM(持久层)框架,支持多种数据库的接入,此框架弱化了开发者对于 SQL 语言的掌握程度,使用提供的 API 进行底层数据库的访问。使用提供的 API 进
336 0
开源 Golang 微服务入门三:ORM 框架 GORM| 青训营笔记
|
Prometheus 监控 Cloud Native
助力工业物联网,工业大数据之服务域:服务器性能监控Prometheus及项目总结【三十五】
助力工业物联网,工业大数据之服务域:服务器性能监控Prometheus及项目总结【三十五】
133 1