如何在asp.net核心应用程序中运行sis包? [英] How to run ssis package in asp.net core application?

查看:68
本文介绍了如何在asp.net核心应用程序中运行sis包?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Microsoft.SqlServer.Dts.Runtime在ASP.NET MVC中运行程序包.但是我需要在asp.net核心中运行它.由于我们无法在asp.net核心中添加单个dll,我想知道是否有人知道是否有nuget软件包会有所帮助.

I have used Microsoft.SqlServer.Dts.Runtime to run package in ASP.NET MVC. However I need to run this in asp.net core. As we cannot add individual dll in asp.net core, I was wondering if anyone has idea if there is nuget package which would help.

推荐答案

您可以将程序集打包到nuget包中,在解决方案中创建一个Lib文件夹来保存nuget包,然后创建一个nuget.config文件进行设置软件包源,以将Lib文件夹包含在您的解决方案中.

You can package the assembly into a nuget package, Create a Lib folder inside your solution to hold the nuget package, then, create a nuget.config file to set the package sources to include the Lib folder inside your solution.

以下链接包含有关创建nuget程序包并将其托管在本地的更多详细信息:

The following links contains more details about creating nuget package and hosting it locally:

  • https://docs.nuget.org/create/creating-and-publishing-a-package
  • https://docs.nuget.org/create/hosting-your-own-nuget-feeds
  • https://docs.nuget.org/consume/nuget-config-file

希望有帮助

这篇关于如何在asp.net核心应用程序中运行sis包?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆