August 2008 - Posts

Microsoft released the source code for the Silverlight Blueprints for SharePoint—based on the Silverlight Beta 2 release. The Silverlight Blueprints for SharePoint provide a way for developers to better understand how to integrate Silverlight applications with SharePoint. Silverlight is an incredibly popular technology and with the increase in SharePoint adoption we’re finding an increased call for integrating technologies like Silverlight with SharePoint.  

In this release, you’ll find five blueprint samples:

1.       Hello World
2.       Media Player
3.       Slider Control
4.       Custom Navigation
5.       Colleague Viewer

 

Included in the release are documentation for each of the samples and the source code (go to the Releases tab of the CodePlex site). Also posted to the site is an FAQ document. In the coming days and week, we’ll publish additional screen-casts and any other supporting documentation we create or that is provided to us through the developer community.

 
The links to get to the Silverlight Blueprints for SharePoint are:

1.       http://www.ssblueprints.net/sharepoint/   --or direct at the CodePlex site
2.      
http://www.codeplex.com/SL4SP

Posted by lavssun | with no comments
Microsoft released the BETA version of  WCF Security guide. 
 
The guide, Improving Web Services Security: Scenarios and Implementation Guidance for WCF, is our Microsoft playbook for Windows Communication Foundation (WCF /"Indigo".)  It shows you how to build secure services using WCF.  It's a compendium of proven practices, product team recommendations, and insights from the field.  It includes end-to-end application scenarios (Web applications / Smart Clients), as well as step-by-step How Tos.  Most importantly it frames out the Web services security space and shows you how to be effective with WCF.
  
patterns & practices Improving Web Services Security: Scenarios and Implementation Guidance for WCF
 
Download the Guide
 
 
Contents at a Glance
  • Part I - Security Fundamentals for Web Services gives you a quick overview of fundamental security concepts as they relate to services, service-oriented design, and Service-Oriented Architecture (SOA.)
  • Part II - WCF Security Fundamentals gives you a firm foundation in key WCF security concepts, with special attention on authentication, authorization, and secure communication, as well as WCF binding configurations.
  • Part III - Intranet Application Scenarios shows you a set of end-to-end Intranet application scenarios that you can use to jumpstart your application architecture designs with a focus on authentication, authorization, and communication from a WCF perspective for your intranet.
  • Part IV - Internet Application Scenarios shows a set of end-to-end Internet application scenarios that you can use to jumpstart your application architecture design for the Internet.
 
 
Chapters
  • Ch 01 - Security Fundamentals for Web Services
  • Ch 02 - Threats and Countermeasures for Web Services
  • Ch 03 - Security Design Guidelines for Web Services
  • Ch 04 - WCF Security Fundamentals
  • Ch 05 - Authentication, Authorization and Identities in WCF
  • Ch 06 - Impersonation and Delegation in WCF
  • Ch 07 - Message and Transport Security in WCF
  • Ch 08 - WCF Bindings Fundamentals
  • Ch 09 - Intranet – Web to Remote WCF Using Transport Security (Original Caller, TCP)
  • Ch 10 - Intranet – Web to Remote WCF Using Transport Security (Trusted Subsystem,HTTP)
  • Ch 11 - Intranet – Web to Remote WCF Using Transport Security (Trusted Subsystem TCP)
  • Ch 12 - Intranet – Windows Forms to Remote WCF Using Transport Security (Original Caller, TCP)
  • Ch 13 - Internet – WCF and ASMX Client to Remote WCF Using Transport Security (Trusted Subsystem, HTTP)
  • Ch 14 - Internet – Web to Remote WCF Using Transport Security (Trusted Subsystem, TCP)
  • Ch 15 - Internet – Windows Forms Client to Remote WCF Using Message Security (Original Caller, HTTP)
 
Reference
  • WCF Security Checklist
  • WCF Security Guidelines
  • WCF Security Practices at a Glance
  • WCF Questions and Answers (Q&A)
  • How Tos
  • WCF Security Resources
 
More Information
Posted by lavssun | with no comments
Filed under:

Scenario

I'm seeing this question "Is there way to create SharePoint Survey questions programmatically ?" many times in SharePoint Forums and News Groups

Solution

The answer is that it's definitely achievable programmatically through SharePoint API's. The following snippet would help.

SPWeb web = SPControl.GetContextWeb(HttpContext.Current);

Guid surveyId = web.Lists.Add("Name of the Title", "Description of the survey", SPListTemplateType.Survey);

SPList survey = web.Lists["Survey List Name or Id];

string Question = "Question#1 for survey";

StringCollection choices = new  StringCollection();

choices.Add("first choice");

choices.Add("second choice");

choices.Add("third choice");

survey.Fields.Add(Question, SPFieldType.Choice, true, false, choices);

 

Posted by lavssun | 4 comment(s)

Scenario:-

There is a survey list in sharepoint site. Is there a way to hide the result graph from users. i.e to hide the grapical representation for all the users.

Solution:-

Yes, his is definitely feasible with the out-of-box features of sharepoint. Perform the following steps


Add the survey list to the web part pages as the ListView web part

Site Actions --> Edit Page --> Add a Web Part

Under Lists and Libraries, choose the survey list and add to the web part page

Now you get the ListView web part for the survey.

On the web part settings Edit --> Modify Shared Web Part

Under the Selected View ---> Change the View to "<Summary View>"

Then provide the contributor-level  permissions to the users, who want to participate in the survey

Now it won't show the option for Graphical Responses for everyone.

If you want to get back old-view, just flip the view back to "Overview"
 

 

 

Posted by lavssun | with no comments
Filed under: