Saturday, June 30, 2007
Links for 2007-06-29 [del.icio.us]
Thursday, June 28, 2007
Links for 2007-06-27 [del.icio.us]
Wednesday, June 27, 2007
Links for 2007-06-26 [del.icio.us]
- MAKE: Blog: Binary marble adding machine
Matthias Wandel created an adding machine from wood, marbles and gravity. Pretty cool. - ClearTrace - Read80Trace for SQL Server 2005 - ClearData Consulting, Inc.
Labels: links
Tuesday, June 26, 2007
Generic Batch File to GAC Assembly DLLs and PDBs
::---------------------------------------------------------------------------- :: GACs assemblies located in the Assemblies folder - these have been stuck :: there by the following post-build event script on each individual project: :: copy "$(TargetPath)" "$(SolutionDir)\Assemblies\$(ConfigurationName)\" :: copy $(TargetDir)$(TargetName).pdb "$(SolutionDir)\Assemblies\$(ConfigurationName) ::---------------------------------------------------------------------------- @ECHO OFF :: Temporarily navigate to the Assemblies folder PUSHD C:\Projects\YOURPROJECT\Assemblies\Debug :: Call the GacAssembly subroutine once for each assembly CALL :GacAssembly YOURPROJECT.BusinessLogic CALL :GacAssembly YOURPROJECT.DataAccess CALL :GacAssembly YOURPROJECT.Interfaces CALL :GacAssembly YOURPROJECT.ServiceImplementation ECHO Recycle the "YOURAPPPOOLNAME IIS Application Pool %windir%\system32\cscript.exe c:\windows\system32\iisapp.vbs /a YOURAPPPOOLNAME /r POPD PAUSE GOTO:EOF ::---------------------------------------------------------------------------- :GacAssembly ECHO ------------------------------------------------------------------------- ECHO GACing the %1 assembly and its PDB file ECHO ------------------------------------------------------------------------- ECHO. @"C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil" /u %1 @"C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin\gacutil" /i %1.dll copy %1.pdb "C:\WINDOWS\assembly\GAC_MSIL\%1\1.0.0.0__YOURPUBLICKEY\" ECHO. GOTO:EOF
Labels: howto, visual studio
Monday, June 25, 2007
VS2005: Where is my Code Snippets Manager?
It appears that the Code Snippets manager in VS 2005 may or may not be hidden from view. Normally it should be located under the Tools menu. If you can't find it there, simply add it by selecting Customize from the Tools menu, then adding it as you would any other missing command. In the customize dialog it is located (as it should) under the Tools category.
Labels: howto, visual studio
Saturday, June 23, 2007
Links for 2007-06-22 [del.icio.us]
Friday, June 22, 2007
MOSS: Creating a Custom View Page
When you use the schema.xml to define a View on a List, each View must have a unique value for the Url attribute. Typically this is in the format Url="/Forms/MyCustomView.aspx".
If you need to add special content or logic to your custom view page, you can simply
- Copy C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\Pages\viewpage.aspx into the same folder where you have your schema.xml file, and
- Rename it MyCustomView.aspx.
- In your List schema.xml file, in the View tag for your custom view, remove the SetupPath attribute. This attribute would normally hijack the URL and point it to the Pages\viewpage.aspx
- Modify MyCustomView.aspx as needed
- Redeploy (as a feature or part of a solution - if the latter, don't forget to add MyCustomView.aspx to your solution's ddf file)
Labels: howto, moss, sharepoint
VS 2008 JavaScript Intellisense
Scott Guthrie has another great post on VS 2008, this time on JavaScript Intellisense:
Topics he discusses are:
- JavaScript Type Inference
- Intellisense for External JavaScript Libraries
- Adding Intellisense Hints to JavaScript
- Intellisense within External JavaScript files
- Calling Web Services using ASP.NET AJAX
- Creating Re-Usable ASP.NET AJAX Behaviors, Controls and Libraries
Read it all at VS 2008 JavaScript Intellisense
Labels: javascript, microsoft, programming, visual studio
Links for 2007-06-21 [del.icio.us]
Thursday, June 21, 2007
Links for 2007-06-20 [del.icio.us]
Wednesday, June 20, 2007
7 Reasons For ASP.NET 2.0 Developers to Use VS 2008
VS 2008 can target both the 2.0 and the 3.0 (as well as the new 3.5) versions of .NET. But if you're not using 3.5, why would you want to use VS 2008?
Direct from the horse's Scott Guthrie's mouth:
- JavaScript intellisense
- Much richer JavaScript debugging
- Nested ASP.NET master page support at design-time
- Rich CSS editing and layout support within the WYSIWYG designer
- Split-view designer support for having both source and design views open on a page at the same time
- A much faster ASP.NET page designer - with dramatic perf improvements in view-switches between source/design mode
- Automated .SQL script generation and hosting deployment support for databases on remote servers
I for one am looking forward to it.
Labels: asp.net, javascript, visual studio
Tuesday, June 19, 2007
Links for 2007-06-18 [del.icio.us]
Wednesday, June 13, 2007
Links for 2007-06-12 [del.icio.us]
Tuesday, June 12, 2007
Links for 2007-06-11 [del.icio.us]
Monday, June 11, 2007
Links for 2007-06-10 [del.icio.us]
Sunday, June 10, 2007
Links for 2007-06-09 [del.icio.us]
Friday, June 08, 2007
What the Hell is That in My XmlDocument Tag?
So using the SharePoint Solution generator, if you attempt to reverse engineer a list containing a content type, you may see something strange in the XMLDocuments section (scroll right):
<XmlDocuments>
<XmlDocument NamespaceURI="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
PEZvcm1UZW1wbGF0ZXMgeG1sbnM9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vc2hhcmVwb2ludC92My9jb250ZW50dHlwZS9mb3JtcyI+PERpc3BsYXk+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvRGlzcGxheT48RWRpdD5Eb2N1bWVudExpYnJhcnlGb3JtPC9FZGl0PjxOZXc+RG9jdW1lbnRMaWJyYXJ5Rm9ybTwvTmV3PjwvRm9ybVRlbXBsYXRlcz4=
</XmlDocument>
</XmlDocuments>
Turns out that this is just the Base64 encoded version of the more common
<FormTemplates xmlns="http://schemas.microsoft.com/sharepoint/v3/contenttype/forms">
<Display>DocumentLibraryForm</Display>
<Edit>DocumentLibraryForm</Edit>
<New>DocumentLibraryForm</New>
</FormTemplates>
Labels: moss, sharepoint
SharePointBlogs.com - Come Back!
As my two daily vistors may have figured out already, I have been doing some SharePoint work lately. MOSS is a beast of an application; learning how to manipulate it is not a small task. So to help with the process, I created SharePointSearch.info a while back; it's a Google CES that indexes SharePoint related blogs and sites. One prominent SharePoint blog site, SharePointBlogs.com has recently gone dark, reportedly from hardware failures.
All I can say is, thank God for the Google Cache, cause practically every search I do on SharePointSearch.info points to SharePointBlogs.com. Here's hoping they get back up soon...
Labels: moss, sharepoint
Links for 2007-06-07 [del.icio.us]
Thursday, June 07, 2007
Opening a Windows Help File Page in Firefox with IE Tab
To open a help file page (the url of which you can find by right-clicking the page and selecting properties) in Firefox, add the following rule to your IE Tab options:
/^mk:@MSITStore.*/
This should then open the page in an IE Tab within Firefox.
The reason you might want to do this is that you can then add local help file pages to your favorite online bookmark manager.
Labels: firefox
Links for 2007-06-06 [del.icio.us]
Wednesday, June 06, 2007
Opening an XPS file In Firefox with IE Tab
Microsoft's new XPS file format doesn't play too nicely with Firefox, in my experience. If Firefox is your default browser, trying to open an xps document throws the browser into an infinite loop of dialog boxes and new tabs, not much fun.
You can fix this if you have the IE Tab extension for Firefox, but it won't work automatically, you have to make a slight change to the default configuration.
Open the IE Tab Options, and edit the first filter that was placed there by default:
Change
/^file:\/\/\/.*\.(mht|mhtml)$/to
/^file:\/\/\/.*\.(mht|mhtml|xps)$/
XPS files should now open properly in an IE tab within Firefox.
Labels: firefox
Links for 2007-06-05 [del.icio.us]
Tuesday, June 05, 2007
Links for 2007-06-04 [del.icio.us]
- How-to Enable Scheduled Publishing in a MOSS Collaboration Portal - Jan Tielens' Bloggings
- The SharePoint Helpdesk: Redecorate with MOSS
- Office SharePoint Server at Microsoft: 12TB and counting (Logged in as: austegard)
- Guide to making SharePoint XHTML Compliant - Zac Smith
- Master Page of Master Page Links » Sharepoint BUZZ - Blogging the Best of SharePoint 2007
- SharePoint Customisation - Sharepoint Scotland
- SapphireSteel :: Setting Up Ruby (and Rails) For Ruby In Steel – From Scratch
- ASP.NET.4GuysFromRolla.com: Rolling Your Own Website Administration Tool - Part 1
- ASP.NET.4GuysFromRolla.com: Rolling Your Own Website Administration Tool - Part 2
- Alin Constantin's Home Page
Labels: links
Saturday, June 02, 2007
Links for 2007-06-01 [del.icio.us]
- Write a simple control to refresh UpdatePanels from client side
- Wicked Code: UpdatePanel Tips and Tricks -- MSDN Magazine, June 2007
- MossMan's SharePoint 2007 Customization Blog : Sharepoint 2007 Customization Ramp Up - Part 3: Basic Customization
- Avoiding TABLE elements in your SharePoint pages - Patrick Tisseghem's Blog [MVP SharePoint]
- Service Station: Techniques for Contract-First Development -- MSDN Magazine, June 2005
- MOSS 2007 Design Component Relationships and Diagrams
- ASP.NET Site-Map Security Trimming
- Custom Security Trimming for Enterprise Search Results Overview
Labels: links
Friday, June 01, 2007
Links for 2007-05-31 [del.icio.us]
- CAML.NET - Simple yet Brilliant
- Products
- Reformatting XML retrieved directly from the SharePoint API - TheKid.me.uk
- MOSS Fan : Moving on with WebParticles 1
- Sharepoint Use Cases : Displaying the document URL in a document library column - part 2
- Martin's blog : Lookup Column Feature
- Customize the "NewForm.aspx" page for a SharePoint List | Sahil Malik - blah.winsmarts.com
- Martin's blog : Create a Custom List Feature
- Martin's blog : Create a Site Column using a feature deployed via a solution package
- Custom SharePoint STSADM Commands - The Code Project - SharePoint Server
- How to programatically find list items within a folder | Sahil Malik - blah.winsmarts.com
- JOPX on SharePoint 2007 (MOSS and WSS V3 ), Office and SOA: SharePoint 2007 How To - Create a custom list definition
- JOPX on SharePoint 2007 (MOSS and WSS V3 ), Office and SOA: SharePoint 2007 Tools Collection v1
- About .NET Blog Post - Publishing Content types and site columns using features - specifying required fields in the XML schema
- Nishand's Blog : The InfoPath form's 'Attachment control doesn't work with SharePoint Workflow forms.
- Random Thunks: Peering into the hidden world of MOSS's CAML
- Programatically create a SharePoint site based on a site definition | Sahil Malik - blah.winsmarts.com
- Chris Johnson : Moving your MySite location in MOSS
- Design My Sites architecture
- Prohibit MOSS My Site creation
- Skinning MS SharePoint with standards ~ Authentic Boredom
Labels: links