Search Wiki:
Resource Page Description
This sample project is used in the MSDN White Paper explaining Code Access Security for SharePoint Administrators and Developers.

This sample includes two downloads.

One is a ZIP containing a sample Web service (SimulatedDelay) which, when called, pauses three seconds and returns a string with the starting and ending timestamp of the request. Deploy this to the default Web site (http://localhost) and make the SimulatedDelay Web service folder a .NET application within the IIS manager. You should be able to test it by hitting http://localhost/SimulatedDelay/WebService.asmx.

The second ZIP contains the sample Web part project that calls the Web service above and displays the results, but the deployment also includes a custom CAS policy that will add the WebPermission to the default SPRestricted named permission set in the WSS_Minimal trust level.
Last edited May 27 2009 at 8:36 PM  by AC, version 2
Updating...
Page view tracker