Author Archives: Jim Brocato

avatar

About Jim Brocato

Jim is a managing consultant at TCSC specializing in SharePoint architecture/development and ASP.NET design and development.

SharePoint Feature Receiver code for bin deployments

NOTE:  If your feature receiver code needs to access the main Presentation assembly, you will receiver an error saying that the assembly UNOS.[app].Presentation cannot be loaded- this happens because the assembly is added to the bin, then the feature receiver code runs before the app pool recycles, so the assembly is never loaded into context.  To work around this, add this line to your feature receiver code:

Posted in Uncategorized | Leave a comment

SharePoint 2010: BCS w/o GAC

This article describes how to use SharePoint 2010′s Business Connectivity Services without putting any assemblies in the Global Assembly Cache (GAC).

 

Posted in Uncategorized | Leave a comment

Upgrade InfoPath 2007 to 2010

Converting InfoPath 2007 Form into InfoPath 2010

  1. Locate the manifest.xsf file in the Visual Studio 2008 InfoPath 2007 template project source code under the “InfoPath Form Template” directory.
Posted in Uncategorized | Leave a comment

Using the DataContractSerializer

    All of us that have used WCF have encountered the default serializer, DataContractSerializer. All we have to do is decorate the types that we want our services to consume or expose with the DataContract/DataMember attributes and the DataContractSerializer will handle serializing our .Net types to XML and deserializing from XML to our .Net Types. What I want to cover in the post is how this serialization/deserialization is actually done and the ways we can influence the serialization process.

Posted in Uncategorized | Leave a comment

Redirect an InfoPath form web part after submit

There are probably many cases and scenarios where you want to redirect the users back to the list view or to a different url entirely after they have submitted their form. In my case, I wanted to kick off a workflow as soon as the form was submitted. You can use the following steps to redirect to a different url after the form is submitted.

Posted in InfoPath, SharePoint 2007 | Leave a comment

SP2010 Claims Security – what it can do for you

SP2010 Claims Authorization for the rest of us

Posted in SharePoint 2010 | Leave a comment