17.07.2015 Views

The Art of SQL Server FILESTREAM - Red Gate Software

The Art of SQL Server FILESTREAM - Red Gate Software

The Art of SQL Server FILESTREAM - Red Gate Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 5: <strong>FILESTREAM</strong> with ASP.NET and SilverlightThis will open the Data Source Configuration Wizard, which will take you through theconfiguration process. From the list <strong>of</strong> data source types available, select Database. We'llname the data source itemds (Figure 5-24).Figure 5-24:Specifying an ID for the data source.In the next dialog box, click New Connection to create and configure a new connectionto the database. <strong>The</strong> Add Connection dialog box is displayed (Figure 5-25).Note that I have used Windows authentication for consistency only; Windows authenticationis not necessary for this connection because it is used to execute the storedprocedure that fetches item details, but not the images. We will use the handler pagewe created in the previous lab to fetch the actual images, and that page is already usingWindows authentication.197

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!