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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

When <strong>SQL</strong> <strong>Server</strong> 2008 introduced the <strong>FILESTREAM</strong> feature, it had my immediateattention. At last, we had a way to store the unstructured data in the file system andthus take advantage <strong>of</strong> the NTFS streaming capabilities but, at the same time, ensuretransactional consistency between the relational data and the file system data. Inaddition, a normal database backup would now also include the file system data.It's safe to say I was an early adopter, and my primary goal with this book is to ease thepaths <strong>of</strong> others who are interested in this technology, as some aspects <strong>of</strong> its adoptionproved far from plain sailing.This book attempts to guide you, step-by-step, through every phase <strong>of</strong> <strong>FILESTREAM</strong>implementation, from enabling the feature, to creating <strong>FILESTREAM</strong> tables, to manipulating<strong>FILESTREAM</strong> data through the streaming APIs, to handling <strong>FILESTREAM</strong> data insimple ASP.NET web pages, to complex N-tier .NET applications.It also covers, in detail, administration and troubleshooting <strong>of</strong> <strong>FILESTREAM</strong> databasesand tables. Alongside the advantages <strong>of</strong>fered by the technology, it tries to coversome <strong>of</strong> its shortcomings, and to <strong>of</strong>fer practical advice on workarounds, or possiblealternative solutions.Who is this book for?<strong>The</strong> primary audience for this book is the <strong>SQL</strong> <strong>Server</strong> developers who have to deal withmore than relational data. It will help them to get started with <strong>FILESTREAM</strong>-enableddatabases, and it provides a very detailed coverage on accessing <strong>FILESTREAM</strong> datathrough the .NET and Win32 APIs. We have provided a reasonable number <strong>of</strong> examples,sample code, and labs that demonstrate how to access <strong>FILESTREAM</strong> data from C#.NET,VB.NET and C++. In addition, there are several labs demonstrating <strong>FILESTREAM</strong> accessfrom common application platforms/tools such as ASP.NET, Silverlight, SSIS, SSRS (<strong>SQL</strong><strong>Server</strong> Reporting Services), Entity Framework, LINQ to <strong>SQL</strong> and so on.20

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

Saved successfully!

Ooh no, something went wrong!