by aoki1210
17. 1月 2016 22:14
DbWebApiは、SQL ServerとOracleのストアド・プロシージャを簡単にWebAPIとして公開できるライブラリです。
https://github.com/DataBooster/DbWebApi
https://www.nuget.org/packages/DataBooster.DbWebApi.SqlServer/
ストアド・プロシージャ名とパラーメータを指定するだけで、ASP.NET MVCにて公開できます。
using DataBooster.DbWebApi;
namespace MyDbWebApi.Controllers
{
[DbWebApiAuthorize]
public class DbWebApiController : ApiController
{
[AcceptVerbs("GET", "POST", "PUT", "DELETE", "OPTIONS")]
public HttpResponseMessage DynExecute(string sp, InputParameters allParameters)
{
allParameters = InputParameters.SupplementFromQueryString(allParameters, Request);
return this.DynExecuteDbApi(sp, allParameters);
}
}
}
DynExecuteDbApiメソッドを呼び出すだけです。これはApiControllerの拡張メソッドとして提供されています。
なお、戻りのレスポンスは、JSON, BSON, XML, CSV, Excel(xlsx), JSONPのいずれかで取得できます。
ストアドを開発でる人がおり、手軽にAPIを作りたいという時は、試してみても良いのではないでしょうか。
by aoki1210
4. 7月 2015 18:53
BIDS Helperは、その名前の通り、Business Intelligence Developer Studio(BIDS)のヘルパー用ツールです。Visual Studioのアドインとして提供されており、BIDS(SQL Server 2008 R2 まで)やSQL Server Data Tools(SQL Server 2012以降)の開発機能を提供するものです。
https://bidshelper.codeplex.com/
BIDS Helperは、SQL Server Analysis Services(SSAS)、SQL Server Integration Services(SSIS)、SQL Server Reporting Services (SSRS)といった製品の開発をサポートします。
例えば、Visual Studioから、MDXなどこれらのサービスのデプロイを行えます。
8d2bc242-80a3-43dc-8b96-3e88a4953aa9|0|.0
Tags: VS, SQL Server
by aoki1210
24. 12月 2011 00:02
7d07d415-d219-4919-a096-0cae71cb0b01|0|.0
Tags: DB, SQL Server