上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 27 下一页
摘要: 沙盒解决方案是 Microsoft SharePoint 2010 中包含的一项功能,此功能使网站集用户能够上载自己的自定义代码解决方案。 常见的沙盒解决方案是用户上载自己的 Web 部件。沙盒 SharePoint 应用程序在一个安全的、受监视的进程中运行,它只能访问 Web 场的有限部分。 Microsoft SharePoint 2010 利用功能组合、解决方案库、解决方案监控和验证框架来启用沙盒解决方案。指定项目信任级别 Visual Studio 通过一个名为 Sandboxed Solution 的 Boolean 项目属性来支持沙盒解决方案。 既可以随时在项目中设置此属性,也可以 阅读全文
posted @ 2013-02-25 23:04 Star★ 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 场解决方案场解决方案承载于 IIS 辅助进程 (W3WP.exe) 中,将运行会影响整个场的代码。 在调试其“沙盒解决方案”属性设置为“场解决方案”的 SharePoint 项目时,系统的 IIS 应用程序池会在 SharePoint 收回或部署功能之前进行回收,以便发布由 IIS 辅助进程锁定的任何文件。 仅回收为 SharePoint 项目的网站 URL 服务的 IIS 应用程序池。沙盒解决方案沙盒解决方案承载于 SharePoint 用户代码解决方案辅助进程 (SPUCWorkerProcess.exe) 中,将运行只会影响解决方案的网站集的代码。 由于沙盒解决方案不在 IIS 辅助进程 阅读全文
posted @ 2013-02-25 22:59 Star★ 阅读(180) 评论(0) 推荐(0) 编辑
摘要: classProgram{staticvoidMain(string[]args){try{using(SPSitesite=newSPSite("http://ianzhang/")){ServerContextcontext=ServerContext.GetContext(site);UserProfileManagerprofileManager=newUserProfileManager(context);if(profileManager.UserExists(site.OpenWeb().CurrentUser.LoginName)){UserProfileu 阅读全文
posted @ 2013-02-25 22:39 Star★ 阅读(219) 评论(0) 推荐(0) 编辑
摘要: 2012-11-29 17:09sharepoint 获取userprofileManager中用户详细信息using(SPSitespSite=newSPSite(siteUrl)){DataTableusersDT=newDataTable();//用户名usersDT.Columns.Add("UserName",typeof(string));//描述usersDT.Columns.Add("AboutMe",typeof(string));//专业领域usersDT.Columns.Add("Responsibility", 阅读全文
posted @ 2013-02-25 22:37 Star★ 阅读(200) 评论(0) 推荐(0) 编辑
摘要: Sharepoint2010提供了多种数据访问及自定义开发的方式,这些方式包括:1. 服务器端对象模型2. LINQ to SharePoint3. Web Service4. 客户端对象模型5. ADO.NET Data Service (REST协议)6. ADO.NET Data Service (强类型)关于这些方式的详细介绍可以参考《SharePoint 2010中几种数据访问方式的原理和优劣》http://www.cnblogs.com/erucy/archive/2012/04/27/2472889.html 在开发之前需要根据具体的需求和环境,选择合适的开发方式,这一点至关重要 阅读全文
posted @ 2013-02-25 22:19 Star★ 阅读(175) 评论(0) 推荐(0) 编辑
摘要: SharePoint 2007调用自带 WebService 操作 ListSharePoint 2007 调用自带 WebService 操作 List调用自带 WebService 操作 List – 霖雨BOLG URL -- http://www.cnblogs.com/jianyus/1SharePoint 2007简述:在 SharePoint 的使用中,经常需要进行系统集成这样的操作,我们作为 SharePoint 开发,就需要给其他系统提供接口,而SharePoint提供的WebService就很好的提供了这样的功能,我们简单了解下,通过 SharePoint 提供 WebSe 阅读全文
posted @ 2013-02-25 22:08 Star★ 阅读(357) 评论(0) 推荐(0) 编辑
摘要: webservice sharepoint 简介2012-08-28 11:14:13|分类: Moss,sharePoint |标签: |字号大中小订阅对于任何服务,你都能找到一个*.wsdl.aspx文件,其可以生成服务的WSDL(Web Services Description Language),一个*.disco.aspx文件提供访问发现实现,以及一个实际的*.asmx端点文件,它们中的大部分只是包含了一个引用到实际实现服务功能的SharePoint程序集和类型的页面指示符。服务文件类型描述*.wsdl.aspx (search.wsdl.aspx)在SharePoint中生成WSD 阅读全文
posted @ 2013-02-25 21:32 Star★ 阅读(741) 评论(0) 推荐(0) 编辑
摘要: List<> convert to string[]List<string> list=new List<string>();string str=list.ToArray();String[] convert to List<>string[] str={"str1","str2","str3"};List<string> list=new List<string>(str);List<> convert to StringList<strin 阅读全文
posted @ 2013-02-25 01:16 Star★ 阅读(260) 评论(0) 推荐(0) 编辑
摘要: //获取当前站点SPServiceContext spservercontent = SPServiceContext.GetContext(site);//获取UserProfileManager实例UserProfileManager upMan = new UserProfileManager(spservercontent);使用GetUserProfile方法获取displayNameuserprofile = upMan.GetUserProfile(LoginName.ToString());string displayName = userprofile.DisplayName 阅读全文
posted @ 2013-02-25 01:05 Star★ 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 项目说明:此项目功能是在服务场中添加一个计时器作业。1.项目包含两个类文件: 一个是实现功能注册的TimeJobInstaller, 即实现计时器作业注册功能的类。 另一个是计时器作业需要执行的操作类。2.安装部署方法: 1.将编译成生.dll,拖到GAC目录:C:/Windows/assembly中。(注意:在生成dll文件时创建项目时需要是平台是Any CPU,项目输出类型必须是类库)以我的电脑为例,我装的是win2008 R2, VS2010,我的这个工具默认就在C:/Program Files (x86)/Microsoft SDKs/Windows/v7.0A/Bin/NETFX . 阅读全文
posted @ 2013-02-25 01:01 Star★ 阅读(252) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 27 下一页