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 […]
Posts Tagged ‘.net’
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) […]
Business Connectivity Services: Multiple Bindings from a Single Windows Communication Foundation Service
A couple of weeks ago, I thought I’d be clever, or at least act with forethought, and create the Windows Communication Foundation (WCF) service I was working on as four separate interfaces all implemented by the same class.The interfaces would be segmented out by the types that they returned.This would make understanding the code easier […]
SharePoint Connections Conference 2010 Overview
I got the opportunity to attend the SharePoint Connections Conference this year at the Mandalay Bay in Las Vegas. This trip was very exciting for me, being both the first conference for me, as well as my first trip to Las Vegas. It was a great experience and I hope I have another opportunity like […]
Communicating with FAST ESP from a .NET application through SSL
For a custom application we’re building, we decided to use SSL to communicate between our .NET application and the FAST query server. Setting up SSL to enable secure communication between a .NET application and a FAST query server is fairly simple but the FAST documentation doesn’t exactly explain it a straightforward manner. These were the […]