Skip to main content

Posts Tagged ‘.net’

Cannot modify SharePoint list views with tracing enabled

I was debugging an issue with a heavily customized SharePoint site where users were unable to save any changes they made to SharePoint list views. Since this was a heavily customized site with several custom list definitions, my initial thought was that we may have botched a list definition or two and made these lists […]

403 Forbidden Error with iPhone When Accessing SharePoint 2010 in Claims Mode

If you’re looking to support iPhone on a SharePoint 2010 site that is configured to use an external identity provider like Ping Federate, ADFS 2.0, or a custom STS, you will likely run into this issue. However, you may notice everything works just fine with iPad. Fortunately, the issue can be reproduced on the desktop […]

SharePoint 2010: Calling SPPersistedObject.BaseUpdate() from a Content Web Application Results in “Access Denied”

SPPersistedObject is an important element in SharePoint 2010. It’s SharePoint’s main way of storing information across servers and acts as sort of the central brain of the application. Any data stored in it is guaranteed to be there in perpetuity. This makes SPPersistedObject a very useful class, but it’s not without its drawbacks. One of […]

Team Build 2010: XML Transforms on Team Build 2010 for Non-Web Application Projects

One of the cool new features of Visual Studio 2010 Web Application projects are web.config transforms which allow you to use different settings in your web.config file without needing to remember to change them every time you compile the project. More information can be found here: http://msdn.microsoft.com/en-us/library/dd465326.aspx. In a nutshell, you can provide additional settings […]

Prevent IIS from Terminating Your Debugging Session

One of the most irritating things that can happen while you’re debugging is this message: When you sit at any one breakpoint for too long (longer than the ping maximum response time), this error will appear and terminate your session. If you’re anything like me and my fellow team members, you’ll blindly click “OK” and […]

Creating and Defining ProfileSubtypes Programmatically

ProfileSubtypes allow administrators to create alternate views for different user to display or hide different user profile properties. However, going through the process of manually changing each profile property could be substantial if there are numerous profile properties on your UserProfileServiceApplication. Therefore, being able to automate the process with a feature, service, or console application […]

Team Build 2010: Deploying a Database with MSBuild on Team Build 2010

If you missed my last post on automating deployments across domains with Team Build 2010, you can find it here.   The Problem In this post, I’m going to discuss automating deployment of a database project to a database using Team Build 2010. Out of the box, you can build the database project, but that […]

Limitation of programming vCalendar Meeting Requests using System.Net.Mail

Programmatically creating Outlook meeting request has been a hot topic for me over the past few weeks. I found myself in a scenario that required me to send a meeting request from a user and was using the System.Net.Mail namespace to do the job.While creating the meeting request, a limitation surfaced as result of the […]

Speed up Development with Exchange Web Services Managed API

We’ve all experienced it before, those “Wow, I can’t believe it’s that easy” moments. Exchange Web Services Managed API makes sending emails, creating appointments, querying folders/calendars, and generating meeting requests extremely simple.When it comes to programmatically duplicating Outlook functionality (given Exchange is running the show), the Exchange Web Services Managed API is definitely worth looking […]

Enterprise Search: Breadcrumb Refiner for Custom Search Chaining

NewEgg has it. Best Buy has it. Now, you can have it too. I’m talking about the Breadcrumb Refiner that you see chained across their search pages. Out-of-the-box SharePoint 2010 doesn’t provide this functionality, so we’re going to have to build it. This is a semi-involved process and requires the modification of the RefinementWebPart just […]

Business Connectivity Services: Implementing a StreamAccessor in Windows Communication Foundation using a .NET Assembly Wrapper

Storing documents on a file server and connecting to them with metadata stored in a database is rather common. Let’s talk about the situations in which you’d like to surface the metadata attached to the file in Business Connectivity Services (BCS) and elsewhere using a single Windows Communication Foundation (WCF) service. To return a file […]

Business Connectivity Services: Entity Associations across Line of Business Systems

Here’s the scenario: you’ve got two Windows Communication Foundation (WCF) services that return related data. For instance, let one of them be a service that returns People and let the other be a service that returns Documents. Every Document was authored by one or more Person. Since these services are separate Line of Business (LOB) […]

Load More