SPVSX (SharePoint Visual Studio Extensions) Alpha Released


>One of my teammates, Matt Smith, has been working hard alongside Wes Hackett, Glyn Clough and Martin Hatch on what looks to be a very interesting tool to help us developers.

The tool extends the new Visual Studio 2010 SharePoint development features further providing the following key points:-

  • Deployment
  • Quick Deploy (similar to Copy to 12/GAC in old-school WSPBuilder and VSeWSS 1.3)
  • Quick Deploy Custom Deployment Steps and Configurations
  • Project and Solution-level Quick Deploy (without changing deployment configuration)
  • Copy to SharePoint Root at File and SharePoint Item (SPI)-level (right-click in Solution Explorer)
  • Auto Copy to SharePoint Root when saving a file (e.g. auto deploy a change to an ASCX)
  • Auto Copy to GAC/BIN when building a project
  • Restart IIS
  • Recycle app pools
  • Attach to IIS worker processes (for quicker debugging!)

 

Matt has more details on his blog.
To download the extensions take go to the SPVSX Visual Studio Plugin Gallery and provide feedback/comments/requests on the SPVSX Codeplex site.

Reporting Services and speeding up reports with Images


Recently I have been working on some reporting services report interfaces and do hope to blog about this in more detail later.

Until then though I would like to share some pain points that I have had particularly when using images within Reporting Services.

Two issues come to mind:-

  • slow rendering
  • columns containing images not being sized correctly.

Slow Rendering
So one of the issues that I had is slow rendering of the reports. To explain the scenario a particular column uses images to display the status of the column. The images are changed via an functional express based on a status id field. For a certain status the client did not want to see an image, to achieve this, the image was set to “” to indicate no image.

However, as more images were used the rendering of this column became really slow. To solve this, I created an image called ‘blank’ that was a 1×1 pixel PNG image which is embedded in the report. Instead of using “”, I would use “blank”. This seems to speed things up, in fact doing some testing, the report now loads up after a refresh of IIS app pools and the Reporting Services report in 24 seconds opposed to 85 seconds!

Columns Not Sized Correctly
When the report was rendered columns that had images would sometimes not size correcly leaving a big space after the image. Sometimes the column would fix itself and other times not, it took me a long time to get a solution and this is what I had to.
First ensure that the image properties->size is set to original. Also add padding of Top=1 and Left=1.

This combination seemed to fix the issue.

Hope that helps.