Browse by Tags

Sorry, but there are no more tags available to filter with.
SharePoint Easy Setup for Developers
1 Nov 2010 2:08 PM
Body: I don't usually write posts that just link to another post, but this is something that you should know about and I want to help get the word out. Announcing SharePoint Easy Setup for Developers "Starting today developers can download a new set of pre-packaged tools that help developers easily get started with SharePoint 2010 development by automating... Read More...
Specifying Reader Quotas for WCF Services in SharePoint 2010
30 Sep 2010 5:10 AM
Body: Creating custom WCF services for SharePoint 2010 is very easy. If you read the article here, Creating a Custom WCF Service in SharePoint Foundation , you'll see how easy. Most of the article deals with the sample service, but only two steps deal with the actual service hosting. All you need to do for most scenarios is deploy an .svc file to the ISAPI... Read More...
Passing Values from a List Custom Action to Server Code
25 Sep 2010 7:30 AM
Body: In my previous post I showed how to create a custom action for a specific list with code. Usually when I need to create a custom button on a list I also need to do some processing of the selected item(s) on the server. To that end, I've developed a reusable pattern that is the subject of this post. Enabling and Disabling the Ribbon Button The code in... Read More...
Create a Custom Action with Code
25 Sep 2010 6:41 AM
Body: A few months ago when I was writing the SharePoint 2010 for Developers course for AppDev I noticed an important difference in the behavior of CustomAction between sandbox and farm deployment – something I personally think is a bug. When you deploy a CustomAction to the sandbox, you can target a specific list instance by using a token in the RegistrationId... Read More...
How to Copy Feature Elements in Visual Studio SharePoint Solutions
27 Aug 2010 1:18 PM
Body: This is a continuation of the previous post, Save Site As Template + Import SharePoint Solution Package == Love . Once you've extracted your field, content type, and list instance, you are ready to incorporate the element manifests and related resources into your main project. In this example I have a Web Part named HypotheticalPart and a solution named... Read More...
Save Site As Template + Import SharePoint Solution Package == Love
27 Aug 2010 12:58 PM
Body: Say you're working on a new solution that requires certain elements like fields, content types, and list instances to provide data to a Web Part or some other custom functionality. In this post I'll show you how to create features to provision all of those elements in only a few minutes. Consider the list shown below. It's based on the Links... Read More...
SharePoint 2010 SDK Download
20 May 2010 8:47 PM
Body: I am happy to report that the SharePoint Foundation 2010 SDK is now available for download at http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=f0c9daf3-4c54-45ed-9bde-7b4d83a8f26f . Enjoy! Category: SharePoint 2010 and Visual Studio Published: 5/20/2010 9:47 PM Read More...
Participating in the Page Rendering Pipeline in SharePoint 2010 Sandbox Solutions - SPUserCodeWebPart
11 Jan 2010 5:29 PM
Body: If you have been reading this blog of late, you probably picked up on the fact that I am a bit disappointed by the limitations of sandboxed solutions. I recently updated my original post on the subject to include the following: <This is mostly wrong> Issue #4 – Almost No Server Side Rendering – Forget About Using ASP.NET I thought I would try to work... Read More...
A Reply to Sahil Malik’s Defense of the Sandbox Architecture
9 Jan 2010 9:45 AM
Body: Sahil Malik has a response to my SharePoint 2010 Sandbox Solutions are Bad post that you can read here: Sandbox solutions are pretty damn good . He also links to a Facebook conversation wherein Razi Bin Rai asserts "At heart of the argument of 'SB solutions are bad', there is actually more of a resistance against new way of doing things"... Read More...
Fixed Width Master Pages in SharePoint 2010
7 Jan 2010 1:38 PM
Body: Edit: Since I wrote this post I found this one which has a solution I like better: http://styledpoint.com/blog/fixed-width-centered-sharepoint-2010-site/ . I also recommend you take a look at Randy Drisgill's starter master pages which you can read about here: http://blog.drisgill.com/2009/11/starter-master-pages-for-sharepoint.html . I spent the last... Read More...
Code to Hide the Ribbon and Site Actions Menu for Anonymous Users
6 Jan 2010 4:18 PM
Body: In Beta 2, SharePoint 2010 sites that use the publishing infrastructure have an option on the Navigation Settings page to hide the ribbon by default. Other sites lack this functionality as does SharePoint Foundation. However, the code to do the hiding is simple: public void HideRibbonForAnon() { SPRibbon current = SPRibbon .GetCurrent( this .Page); if ... Read More...
SharePoint 2010 Sandbox Solutions are Bad
6 Jan 2010 2:35 PM
Body: I wish I could tell you that this was one of those posts where the title is a trick. It isn't and there will be no 'but in spite of all that it's really great' moral to this post. After spending a couple of weeks digging deeply into this architecture and its merits I am left profoundly disappointed by the reality of what is present in Beta... Read More...
The Big Thing That’s Missing from the Visual Studio 2010 Beta SharePoint Projects
18 Nov 2009 12:33 PM
Body: Overall I'm pretty happy, ecstatic even, with what Visual Studio 2010 has for SharePoint Development. There is one thing that is conspicuously missing and I don't understand why: support for ASP.NET pages . There are templates for a few specific types of ASP.NET pages: The intent for each of these is that you will deploy them as Application Pages... Read More...
Replaceable Parameters in Visual Studio 2010 SharePoint Projects
18 Nov 2009 12:14 PM
Body: Now that the public beta cycle is in full swing the SharePoint blogs will be filling with tens of thousands of posts about the major new features and writers everywhere are buying new ribbons for their type writers. Indeed, this site will feature many new articles soon about amazing technologies heretofore glimpsed only in dreams. However, some of what... Read More...