Cake.SSRS is set of aliases for Cake that help simplify deploying objects to SQL Server Reporting Services. Release notes can be found here.
Stable | Pre-release | |
---|---|---|
GitHub Release | - | |
NuGet |
Develop | Master |
---|---|
If you have questions, search for an existing one, or create a new discussion on the Cake GitHub repository, using the Extension Q&A
category.
This Addin only contains the functionality needed to upload the most common object types to SSRS (Reports, DataSets, and DataSources). Pull requests are accepted if you need additional functionality. Don't forget to include the unit tests with it.
SsrsCreateFolder("AdventureWorks", "/", new SsrsConnectionSettings
{
ServiceEndpoint = "http://localhost/reportserver/ReportService2010.asmx",
UseDefaultCredentials = true,
ProxyCredentialType = ProxyCredentialType.Ntlm,
ImperonsationLevel = System.Security.Principal.TokenImpersonationLevel.Impersonation,
SecurityMode = SecurityMode.TransportCredentialOnly
});
SsrsUploadReport("./path/to/report.rdl", "/AdventureWorks",
new Dictionary<string, string>
{
["Description"] = "Description for the Report"
},
new SsrsConnectionSettings
{
ServiceEndpoint = "http://localhost/reportserver/ReportService2010.asmx",
UseDefaultCredentials = true,
ProxyCredentialType = ProxyCredentialType.Ntlm,
ImperonsationLevel = System.Security.Principal.TokenImpersonationLevel.Impersonation,
SecurityMode = SecurityMode.TransportCredentialOnly
});
SsrsUploadReport("./path/to/dataset.rsd", "/AdventureWorks",
new Dictionary<string, string>
{
["Description"] = "Description for the DataSet"
},
new SsrsConnectionSettings
{
ServiceEndpoint = "http://localhost/reportserver/ReportService2010.asmx",
UseDefaultCredentials = true,
ProxyCredentialType = ProxyCredentialType.Ntlm,
ImperonsationLevel = System.Security.Principal.TokenImpersonationLevel.Impersonation,
SecurityMode = SecurityMode.TransportCredentialOnly
});
SsrsUploadDataSource("./path/to/datasource.rds", "/AdventureWorks",
new Dictionary<string, string>
{
["Description"] = "Description for the DataSource"
},
new SsrsConnectionSettings
{
ServiceEndpoint = "http://localhost/reportserver/ReportService2010.asmx",
UseDefaultCredentials = true,
ProxyCredentialType = ProxyCredentialType.Ntlm,
ImperonsationLevel = System.Security.Principal.TokenImpersonationLevel.Impersonation,
SecurityMode = SecurityMode.TransportCredentialOnly
});
var catalogItem = SsrsFindItem (
new FindItemRequest
{
Folder = "/AdventureWorks",
ItemName = "My_Report_Name",
Recursive = false
},
new SsrsConnectionSettings
{
ServiceEndpoint = "http://localhost/reportserver/ReportService2010.asmx",
UseDefaultCredentials = true,
ProxyCredentialType = ProxyCredentialType.Ntlm,
ImperonsationLevel = System.Security.Principal.TokenImpersonationLevel.Impersonation,
SecurityMode = SecurityMode.TransportCredentialOnly
});