MSDN Flash
UK MSDN Flash
9 January 2008
Editor's Intro


Hello

Welcome to the first MSDN Flash issue of 2008! I personally just returned from holiday yesterday and I hope that you too had a great break.

While I was over in the States, I caught some TV car adverts about Ford's Sync system powered by Microsoft. If you are curious as to what the dashboard OS feels like, watch parts of the recorded keynote from the Consumer Electronic Show (CES). Also at CES, Bill Gates showed a spoof video of his last day at Microsoft and in general had fun on stage. For more CES coverage and videos including Surface, Zune, Xbox, Windows Mobile and Windows Home Server to mention but a few products, please visit the CES Virtual Pressroom.

In local news, we are hard at work preparing the UK 2008 launch event and those of you following my blog will already know how to preregister.

Cheers
Daniel

MSDNMSDN EventsMSDN ScreencastsEvaluation CentreDeveloper CentresMSDN

Fresh Discoveries

Articles
Book
Windows via C/C++ 5th Edition.
By Jeffrey M. Richter and Christophe Nasarre.
Downloads
Download
Visual C++ 2008 Extension Feature Pack Beta.
Extends the VC++ Libraries shipped with Visual Studio 2008.
Downloads
Download
.NET Compact Framework 3.5 Redistributable.
Includes everything you need to test NETCF 1.0, 2.0 and 3.5 applications.
Downloads
Recorded Video
Downloads
Screencast
Windows Live Messenger web control.
How to host it on your website and how to use the new presence API.
Downloads
Screencast
Managing Browser History with ASP.NET AJAX.
Use the ASP.NET 3.5 Extensions Preview to extend AJAX with history support.
Downloads
Podcast
.NET Rocks: Joe Duffy on the Task Parallel Library.
Carl and Richard talk to the lead dev of the Parallel Extensions.
Articles
Case Study
SunGard Aspiren uses .NET for the public sector.
Software plus Services Model to Achieve £33 Million Savings for U.K. Government.
Articles
Case Study
Play.com uses Silverlight and Windows Live.
Online Retailer Adopts Software-Plus-Services to Connect with Customers.
Articles
MSDN Magazine
Managing Directory Security Principals in the .NET Framework 3.5.
Discusses System.DirectoryServices and AD LDS.
Articles
MSDN Magazine
Enhance Your Apps with the Integrated ASP.NET Pipeline.
Discusses Enabling search-engine-friendly URLs and upgrading performance.
Articles
MSDN Magazine
Uncover Hidden Data to Optimize Application Performance.
Discusses causes of server waits, common index problems and I/O problems.
Articles
KB Article
FIX: The ASP.NET cache may flush assemblies if the system memory is low.
Affects some assemblies that implement SOAP services.
Articles
Blog
Problems that are fixed in the .NET Framework 2.0 Service Pack 1.
Links to blog posts and KB articles detailing what is new in SP1.
Articles
Blog
Understanding WCF Communication Options in the .NET Framework 3.5.
To “get” WCF 3.5, download David Chappell’s article from his blog post.

Register Now to Avoid Disappointment

Community event
Community event
15 January, Cambridge: NxtGenUG – TDD with MBUnit.
Community event
Community event
Community event
Community event
Community event
17 January, Southampton: NxtGenUG - Silverlight.
Community event
Community event
Community event
21 January, Birmingham: NxtGenUG – TDD and Automated builds.
Community event
Community event
Community event
Community event
Community event

Feature Article

SharePoint Security without the Browser

Ask most people what Microsoft Office SharePoint 2007 looks like and they’ll describe a web application, used via the browser. They’ll probably also say the web pages are all blue and white. Let’s banish that myth straight away: SharePoint uses ASP.NET 2.0 master pages, .aspx pages, and server controls, all using CSS classes. You can customise and/or replace all of these things so your SharePoint application can look however you want it to. But, even more radically, you don’t have to use a browser at all.

At its core, SharePoint has a storage engine. It uses a SQL Server database to store all kinds of content that users create. You’re all aware of the version-control mechanism that SharePoint provides over documents, for example, but really it can store any kind of content that you want. Most people use the browser to access the storage engine, but when you install SharePoint you don’t just get those familiar web forms; you also get an extensive set of web services. This enables rich client applications, or other web services, to access SharePoint directly.

In the rest of this short article I’ll feature those web services that are related to security, but bear in mind that services are available to let you work with SharePoint in all kinds of ways. All the services are listed on MSDN.

The web services exposed by SharePoint are ASP.NET SOAP services, but they do not use any of the WS-* specifications so don’t expect to use WS-Security for example. Since the services are hosted by IIS, you’ll authenticate using whatever scheme IIS is configured to use, such as Windows authentication. However, SharePoint supports other authentication schemes, such as ASP.NET Forms Authentication, and Windows Live ID that use cookies to gain access. For forms authentication you can use a web service called Authentication.asmx; it has a Login method to which you can supply credentials and it sets an HTTP cookie to allow access to other services via Forms Authentication.

All of the SharePoint web services are found at a URL that looks like this...

http://<server>/_vti_bin/<service>.asmx

The next interesting service is called People.asmx. This one allows you to resolve principal names against whatever authentication provider SharePoint is using, and also to search SharePoint for specific principals by name. This is great for those text boxes where you allow the user to enter a username, but you want to check it against SharePoint to make sure it’s a valid user.

UserGroup.asmx provides operations to manage cross-site groups in SharePoint, as well as roles (which are like groups, but only exist inside a site). You can create them, delete them, add and remove users, etc.

Permissions.asmx allows you to assign access rights for specific principals (user, group or role) against specific resources (list or site), using the fine-grained rights defined by SharePoint in the SPBasePermissions enumeration.

That was a very quick overview of the security-related services exposed by SharePoint. For more detail, please see my blog entry.

Martin Parry

Read Martin's blog here

On the Horizon

Community event
11 - 15 February, Ascot: Iterative Training - WCF Master Class (IDesign) (£1595 excluding VAT).
Community event
05 - 07 March, Las Vegas: MIX 08 (Register by 15 January for $1095).
Community event
10 - 14 March, London: DevWeek 2008 (Register by 15 February for £1595 + VAT).
Community event
10 - 14 March, London: QCon London 2008 (Register by 15 January for £1664).



Contact Microsoft

Send your feedback and comments to ukmsdn@microsoft.com.
Find out more about the MSDN resources that are available to you.

Find out more about the Microsoft Contact Centre or call on 0870 60 10 100 (0800-1800 Monday to Friday)
Find out more about your MSDN Subscription contact points or call 0800 0517 215

MSDNMSDN EventsMSDN ScreencastsEvaluation centreDeveloper CentresMSDN

To cancel your subscription to this newsletter, reply to this message with the word UNSUBSCRIBE in the Subject line. You can also unsubscribe at the Microsoft Profile Centre You can manage all your Microsoft.com communication preferences at this site.

Legal Information 

This newsletter was sent by Microsoft Ltd, Microsoft Campus, Thames Valley Park, Reading RG6 1WG.
Sign up for other newsletters | Contact Us | Unsubscribe | Update your profile | Legal information
© 2007 Microsoft Corporation  Terms of Use | Trademarks | Privacy Statement
Microsoft