In yesterday’s webcast I had the pleasure of having an expert on SharePoint and AJAX talk about bringing these two compelling technologies together. Todd Bleeker (from MindSharp, a SharePoint consulting firm based in Minneapolis) when thru the various steps required to create AJAX web parts in SharePoint. We looked at the basics of how to build web parts, as well as deployment steps to make sure it works. This included:
- Compile the code into an assembly
- Make sure the assembly is signed (using sn.exe as needed to create keys)
- Mark the assembly as Safe in the web config of the app
- Make sure it’s Trusted
- Deploy the assembly to the site
There were some great questions around how to work with Code Access Security with these and Todd suggests looking at a white paper by Brett Lonsdale.
I just posted the code Todd created on www.BenkoTIPS.com/code, so go ahead and check it out.