Posts

Showing posts from May, 2010

Best Practices: Common Coding Issues When Using the SharePoint Object Model

Best Practices: Common Coding Issues When Using the SharePoint Object Model http://msdn.microsoft.com/en-us/library/bb687949.aspx

Learn Stylesheet

A master stylesheet should be the first stylesheet you call in all your documents. You use a master stylesheet to clear out the default browser settings that can cause problems in cross-browser Web design. Once you've cleared out the styles with a master stylesheet, your design starts from the same place in all the browsers - like a clean canvas for painting. Global Defaults Your master stylesheet should start by zeroing out the margins, paddings, and borders on the page. Some Web browsers default the body of the document to 1 or 2 pixels indented from the browser pane edges. This makes sure that they all display the same: html, body { margin: 0px; padding: 0px; border: 0px; } You also want to make the font consistent. Make sure you use font-family names that are standard on both Macintosh and Windows computers. Be sure to also set the font size to 100% or 1em, so that your page is accessible, but the size is still consistent. And be sure to include the line-he

E-books Download

http://it-ebooks.info/book/2027/ http://books-pdf.blogspot.com Security.Dec.2007.rar http://rapidshare.com/files/123829154/Addison.Wesley.Ajax.Security.Dec.2007.rar Size: 11941 KB Apress.Foundations.of.Ajax.Oct.2005.rar http://rapidshare.com/files/123742211/Apress.Foundations.of.Ajax.Oct.2005.rar Size: 7804 KB Apress.Ajax.Patterns.and.Best.Practices.Feb.2006.r ar http://rapidshare.com/files/123742212/Apress.Ajax.Patterns.and.Best.Practices.Feb.2006.r ar Size: 11558 KB AJAX.Rich.Internet.Applications._.Web.Development. for.Programmers.rar http://rapidshare.com/files/123742213/AJAX.Rich.Internet.Applications._.Web.Development. for.Programmers.rar No description saved. Size: 24931 KB Javascript._.Ajax.for.the.Web.Visual.Quickstart.Gu ide_.6th.Edition.rar http://rapidshare.com/files/123716884/Javascript._.Ajax.for.the.Web.Visual.Quickstart.Gu ide_.6th.Edition.rar No description saved. Size: 13446 KB Oreilly.Ajax.the.Definitive.Guide.Jan.2008.rar http://r

Extension methods a feature of C# 3.0

Someone said recently that they thought extensions methods required a new CLR. Extension methods are a new feature in .NET 3.5 (C#3/VB9) that let you appear to "spot weld" new methods on to existing classes. If you think that the "string" object needs a new method, you can just add it and call it on instance variables. Here's an example. Note that the IntHelper35 class below defines a new method for integers called DoubleThenAdd. Now, I can do things like 2.DoubleThenAdd(2). See how the method directly "hangs off" of the integer 2? It's the "this" keyword appearing before the first parameter that makes this magic work. But is it really magic? Did it require a change to the CLR, or just a really smart compiler? Let's do some experimenting and see if we can figure it out for ourselves. Extension methods a feature of C# 3.0 which gives us the capability of adding our own methods to existing Types without creating a new derived class.Exte