Design patterns describe common issues that occur repeatedly in application design and development and provide techniques for handling these issues. Patterns also describe the current industry practice for resolving architectural issues and for handling the design complexity demanded of ...

learn more… | top users | synonyms

2
votes
0answers
48 views

clear sharepoint property bag cache without apppool cycle

I've inherited code that uses the P&P code for accessing a farm-level property bag property on SharePoint 2013 SP1. The code has an application page to manipulate the property bag, and another ...
0
votes
1answer
46 views

Pattern for querying term store

Currently, I have a big and ugly helper class for getting data from the (SharePoint 2010) term store. I want to refactor this into something more robust and maintainable. Is there any design pattern I ...
1
vote
1answer
88 views

Design pattern Microsoft recommends for custom developement

Which design pattern Microsoft recommends for custom development? I know these 3: Model-View-Presenter Pattern Service Locator pattern Model-View-ViewModel Pattern
1
vote
1answer
1k views

Are there best practice or coding standards documents available for SharePoint

Is there any official Microsoft coding standards and best practices documentation for SharePoint?
0
votes
2answers
2k views

Microsoft SharePoint Guidance: Could not load assembly 'Microsoft.Practices.ServiceLocation'

I am using Microsoft SharePoint Guidance for logging and exception handling in my SharePoint timer job, my solution in SharePoint 2007 worked perfectly (and is working). Right now I am in the ...
0
votes
0answers
108 views

Proper way to get all lists of a certain type from an entire site collection regardless of current location

I'm creating a webpart that gives the user a feed of any annoucement list in the entire site collection, so they can aggregate data to a central portal. I'm currently using the following, but can't ...
2
votes
0answers
166 views

Is my Object Casting Model acceptable?

I'm creating a SharePoint application, and am trying some new things to create what amounts to an API for Data Access to maintain consistency and conventions. I haven't seen this before, and that ...
8
votes
2answers
1k views

LINQ to Sharepoint - Repository pattern and common methods in repositories

I generated a entity classes + data contexts by LINQ to Sharepoint and created a repository classes. When I use normal database and mapping like Entity framework I've got usually some base repository ...
0
votes
1answer
164 views

Is it possible to use SharePoint Logger from MS P&P SharePoint 2010 Guidance Library when user is not authenticated?

I am working on custom authentication for SharePoint 2010. And I found very useful to use SharePoint Logger from MS P&P SharePoint 2010 Guidance Library. It works fine when I get instance of ...
1
vote
1answer
359 views

Has anyone worked with the SharePoint Guidance Repository Pattern?

Any issues faced when using libraries and lookup columns? Please share you thoughts and experiences as I am planning to use it.
2
votes
2answers
245 views

Problem installing patterns & practices SharePoint Guidance

I'm having trouble setting up the Partner Portal. I got a System.NotImplementedException when I ran the setup script. Can someone shine some light on this? I am running VSeWSS using the local machine ...