- The boxes with a blue fill represent independent platforms and each depends on the platforms below it.
- The empty boxes inside the larger boxes are selected important subparts or features of the platform.
- The thin downward arrows indicate selected dependency relations. Not every sub-platform or dependency relation is shown.
- The thicker, green, sideways arrows indicate that one entity accesses the entity to which the arrow points. Again, only some selected access relationships are shown.
Showing posts with label Sharepoint. Show all posts
Showing posts with label Sharepoint. Show all posts
Thursday, October 7, 2010
SharePoint 2010 Development Platform Stack - Diagram
This diagram shows the platforms on which SharePoint Server and SharePoint Foundation are built.
Labels:
Microsoft,
Sharepoint,
Sharepoint 2010
Sunday, September 19, 2010
Adding Nested web.config entries using the SPWebConfigModification in SharePoint 2010
In SharePoint 2010, you can’t change the correctly the web.config modification entries because we got a new security feature called “RemoteAdministraorAccessDenied” which is by default set to true.
While creating the nested the entries in the web.config there are two issues :-
First is resolved by using the setting the RemoteAdministratorAccessDenied to false.
Second - select “EnsureChildNode” rather using the “EnsureSection” in the modification type.
For e.g. if you would like to add a new section group in the ConfigSection, you have to add the Section group first then you have to provide the XPath to the ParentNode which “configuration/configSections/sectionGroup[@name='CustomURLRewrite']” in my case to add a nested node in the web.config.
Member name
Description
EnsureChildNode Specifies that the web.config modification must ensure a child node of the node to which the XPath expression points. Value = 0.
EnsureAttribute Specifies that the web.config modification must ensure the value of a particular attribute. Value = 1.
EnsureSection
Ensures a singleton node. This node is only written once, even if multiple entities register multiple instances of EnsureSection to ensure a single section. Value = 2.
Source: MSDN
While creating the nested the entries in the web.config there are two issues :-
First is resolved by using the setting the RemoteAdministratorAccessDenied to false.
1: SPWebService webservice = SPWebService.ContentService;
2: webservice.RemoteAdministratorAccessDenied = false;
3:
4: webservice.Update();
5: Console.WriteLine("Navdeep Done");
Second - select “EnsureChildNode” rather using the “EnsureSection” in the modification type.
For e.g. if you would like to add a new section group in the ConfigSection, you have to add the Section group first then you have to provide the XPath to the ParentNode which “configuration/configSections/sectionGroup[@name='CustomURLRewrite']” in my case to add a nested node in the web.config.
1: SPWebApplication webApp = new SPSite("http://blre3r08-12b:7000/Pages/default.aspx").WebApplication;
2:
3: SPWebConfigModification modification = new SPWebConfigModification("CustomURLRewrite", "configuration/configSections");
4: modification.Owner = "SimpleSampleUniqueOwnerValue";
5: modification.Sequence = 0;
6: modification.Type = SPWebConfigModification.SPWebConfigModificationType.EnsureChildNode;
7: modification.Value = "<sectionGroup name='CustomURLRewrite'>sectionGroup>";
8:
9: // Add my new web.config modification.
10: webApp.WebConfigModifications.Add(modification);
11:
12: SPWebConfigModification modification1 = new SPWebConfigModification("CustomURLRewrite", "configuration/configSections/sectionGroup[@name='CustomURLRewrite']");
13: modification1.Owner = "SimpleSampleUniqueOwnerValue";
14: modification1.Sequence = 1;
15: modification1.Type = SPWebConfigModification.SPWebConfigModificationType.EnsureChildNode;
16: modification1.Value = "<section name='navdeep' type='Microsoft.SharePoint.ApplicationRuntime.SafeControlsConfigurationHandler, Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' />";
Member name
Description
EnsureChildNode Specifies that the web.config modification must ensure a child node of the node to which the XPath expression points. Value = 0.
EnsureAttribute Specifies that the web.config modification must ensure the value of a particular attribute. Value = 1.
EnsureSection
Ensures a singleton node. This node is only written once, even if multiple entities register multiple instances of EnsureSection to ensure a single section. Value = 2.
Source: MSDN
Labels:
Sharepoint
Tuesday, September 14, 2010
Top ten new developer features in Microsoft SharePoint 2010
Looking for a place to get started with SharePoint 2010 development? Whether you’re an experienced SharePoint developer or new to SharePoint, on this page you’ll find popular content that you might not have known about.
Top 10 New Developer Features
- Business Connectivity Services
- Client Object Model
- Sandboxed Solutions
- Social Computing and Social Data
- PerformancePoint Services (Business Intelligence)
- Enterprise Metadata (Taxonomy)
- Silverlight Object Model
- Ribbon Extensibility
- Microsoft Synch Framework
- Service Application Framework
Labels:
Microsoft,
Sharepoint