| Here you can find a very interesting post about the VS11 Ultimate roadmap. For me, as a SharePoint developer, is very interesting to see the following new features: - Expanding support for teams working
- Tools for SharePoint performance profiling
- Unit testing by providing Behaviors support for SharePoint API’s
- IntelliTrace support
- SharePoint load testing tools
I’m looking forward to play with these new tools! |
| At the following URL you can find 101 useful code samples available on MSDN Code Gallery. Enjoy them! |
| When you define a custom field through the Field feature element, you have the capability to define three different attributes that declare the Name, DisplayName and StaticName of the field. You might be wondering why there are three attributes to define three kinds of names for a single field. The XML schema that defines a custom field can be used by a developer but it is also used internally by SharePoint itself to represent a Site Column. When you define a column using the web browser interface, SharePoint automatically determines the internal names (for instance, Name and StaticName) based on the name (which becomes the DisplayName) that you give it, automatically converting any non-alpha and non-numeric characters to their corresponding hexadecimal representations, and then trimming the resulting string to 32 characters for the Name attribute, leaving the StaticName attribute value as long as needed. If a Site Column with the same Name already exists, SharePoint appends a number to the name, using a zero-based index. If you later change the DisplayName of the field, SharePoint will keep both the StaticName and the Name unchanged. That scheme gives your Site Column three different values for the three attributes: the DisplayName, the StaticName, which is simply the original DisplayName with hexadecimal conversion of non-alphanumeric characters, and the Name, with hexadecimal conversion of non-alphanumeric characters trimmed to 32 characters. Lastly, using the SharePoint Server Object Model you can change the StaticName, but you cannot change the internal Name value. Therefore, when you have to define Site Columns using a feature element, I suggest that you assign the Name and the StaticName the same value, avoid using non-alphanumeric characters, and provide a descriptive value for the DisplayName attribute. |
| Today I needed to create a new Farm Administrator and I tried to figured out how to do that simply using PowerShell, aside from creating the user in the directory service, of course. Here is a complete script to gain the result: ---------------------------------------------------------------------------------------------- Add-PSSnapin Microsoft.SharePoint.PowerShell -erroraction SilentlyContinue # Creates a new Farm Administrator $newFarmAdministrator = Read-Host -Prompt 'Please provide the name of the new Farm Administrator in the form of DOMAIN\Username' $caWebApp = Get-SPWebApplication -IncludeCentralAdministration | where-object {$_.DisplayName -eq "SharePoint Central Administration v4"} $caSite = $caWebApp.Sites[0] $caWeb = $caSite.RootWeb $farmAdministrators = $caWeb.SiteGroups["Farm Administrators"] $farmAdministrators.AddUser($newFarmAdministrator, "", $newFarmAdministrator, "Configured via PowerShell") $caWeb.Dispose() $caSite.Dispose() $caDB = Get-SPContentDatabase -WebApplication $caWebApp Add-SPShellAdmin -Database $caDB -Username $newFarmAdministrator ---------------------------------------------------------------------------------------------- The only thing you will need to do is to create the user in your domain, before executing the script. Moreover, the script adds the user to the group of “Farm Administrators”, configures the user as a member of group WSS_ADMIN_WPG on each and every server of your farm and adds the user to the SharePoint_Shell_Access role of the configuration database, as well as of the Central Administration database. |
| This week, while attending the Microsoft SharePoint Conference 2011 in Anaheim, I saw the session of Todd Bleeker, who is always brilliant and involving. Todd showed how to startup developing a custom Service Application based on a WCF service. In case you are interested in going deeper on this topic, I’d like to remind you that in my book there is a whole chapter (Ch.15) about developing service applications for SharePoint 2010. Moreover, even if you don’t have my book (and in case you should ) you can freely download related code samples, where you will find a full service application that will allow you to understand: - How to develop a real service application from scratch
- How to provision a custom database for your service application
- How to implement custom creation, administration, and properties management pages for your service applications, leveraging SharePoint 2010 native controls
- How to authenticate your users, at the service interface, via Claims-based authentication
- How to leverage service applications load balancing through the Round Robin default load balancer provided by SharePoint 2010 environment
I hope you will enjoy this sample, and drop me an email (paolo at devleap.com) in case you need further assistance or in case you have any questions about developing great and powerful applications with SharePoint 2010. |
| Today (Wensday 10/05/2011) at 3PM at O'Reilly booth at SharePoint Conference 2011, book signing of my book "Microsoft SharePoint 2010 Developer Reference" http://bit.ly/nocxjv . See you there!
|
| The 4th October 2011, starting from 12AM, all the SharePoint 2010 e-book published by O’Reilly/Microsoft Press will be sold with a 50% off. My e-book “Microsoft SharePoint 2010 Developer Reference” will be sold at 17.99$ ! What a great offer! Don’t miss it! http://shop.oreilly.com/category/deals/dd-msp-sharepoint.do |
| Here are some news directly from the keynote of SharePoint Conference 2011, in Anaheim, CA. The most interesting news, from a developer viewpoint, is the upcoming release (by the end of this year) of an update of SharePoint Online for Office365. This update will deliver the capability to host BCS against Web Services in SharePoint Online sites. As you can imagine this is a killer feature, that will allow us to connect cloud portals with on-premises contents and services, as well as will allow connecting Windows Azure hosted services with SharePoint Online sites! Cool! Hybrid scenarios are the future in my opinion for the next 5/10 years. Has been also announced the MCA (Microsoft Certified Architect) certification for SharePoint. It deserves further investigation … About performances, they showed a very impressive demo based on giant farm made of a 13TB content database with over 100 millions of documents and a FAST search seeking results in 0.23 seconds! Impressive and super-fast! Under the cover there was the following architecture: - 6 WFE
- 5 FAST Search & Index
- 2 FAST Service & Admin
- 2 CA
From an hardware point of view the data were stored on an EMC2 SAN with 400TB of storage! They simulated a failover clustering, while executing a 7.500 concurrent users stress-test. The failover node came up in less than 5 seconds and the SharePoint farm came back to production. Of course the key concept of the demo was to say: Hey! Everybody can do that on his own sites, just moving to Office365! Lastly they announced that the next edition of the SPC2012 will be hosted in Las Vegas (like in 2009) at the Mandala Bay Hotel on 12-15 November 2012. Stay tuned! |
| 
I’m happy to announce that I will speak at the upcoming European SharePoint Conference 2011, which will be take place in Berlin (Germany) from the 18th of October to the 20th of October 2011.
I will talk about the following three topics:
- W28 - Developing a SharePoint 2010 Service Application [Wednesday 19th Oct]: this will be a session for experienced SharePoint developers willing to learn how to develop a custom Service Application for SharePoint 2010. I will explain the architecture of Service Applications and then I will move to Microsoft Visual Studio 2010 in order to show a concrete example of a service application built upon the scalable architecture provided by SharePoint 2010, Windows Communication Foundation and the claims-based philosophy. The goal of this session is to understand the potentials that can be realized using the Service Application Framework (aka SAF), being able to determine when building custom services is useful. The session level will be 400 on a scale from 100 to 500.
- Th7 - Business Connectivity Services for Developers [Thursday 20th Oct]: this session will cover Business Connectivity Services (BCS) from a developer perspective. I will start showing the architecture of BCS, then I will move to consume a WCF service offering CRUDQ capabilities on a back-end data repository. Lastly I will show how to implement a basic BDC Model using Microsoft Visual Studio 2010. This will be an hands-on session, full of examples taken from from real projects I developed and from my last book about SharePoint 2010. The session level will be 300 on a scale from 100 to 500.
- Th22 - SharePoint 2010 Workflow Development with Visual Studio 2010 [Thursday 20th Oct]: This will be an hands-on session focusing on development of SharePoint 2010 Workflows using Microsoft Visual Studio 2010. In particular I will cover topics about custom workflow and task forms, custom activities and the development of external data exchange services, which are a brilliant new feature of SharePoint 2010 workflows. Be careful that this session will not cover workflows designed using Microsoft SharePoint Designer 2010. The session level will be 300 on a scale from 100 to 500.
Here you can find the full agenda of the Conference. Let’s register and enjoy the Conference! |
|
|
|
|
|
|
| Welcome to the SharePoint Developer Reference Blog. Here you will find information, samples, and news about the world of SharePoint 2010 and Office 365. |
|
|
|
|