Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question around project design #1

Open
beefarino opened this issue Feb 22, 2018 · 6 comments
Open

Question around project design #1

beefarino opened this issue Feb 22, 2018 · 6 comments

Comments

@beefarino
Copy link

First, I really appreciate you building this for everyone. I'm interested in taking this code and using it in an integration but the architecture of the project is a bit confusing. Can you elaborate a bit on why you've set this up as a remoting server and client? What about the Power Query libraries makes that a necessity?

@gsimardnet
Copy link
Owner

Hi,

The libraires the you find in the Service\lib folder come from PowerBi. I didn't develop them and have just created a "wrapper" that allows to call them. The purpose of the PowerQueryNet.Service was to make it more convenient when you create new projects. First you install the service in a central location (e.g. C:\Program Files (x86)\PowerQueryNet). Then you don't have to worry about bringing up every library with your project. You just need to have a reference to the PowerQueryNet.Client.dll.

That being said. If you feel another approach would be better, I am open to suggestions on this.

Thank you for your interest in the project.

@beefarino
Copy link
Author

Perfect, that you for the insight. My interest is to package this as a PowerShell module, where the installation path is a bit different and usage is a bit less structured. In a nutshell I would want the entire thing in-process, which from what you're telling me isn't going to be a problem.

Let me see what we can put together on our end; I'll drop a link to the repo for the module here when we push it.

@gsimardnet
Copy link
Owner

A PowerShell module sounds like a very good idea. I am not aware of the requirements. I have never done a PowerShell module but I expect that you have a good starting point with my solution.

I have just released version 1.0.1 which now runs PowerQueryNet.Service as a Windows Service. I recommend you to update to that version.

@activiz
Copy link

activiz commented Jul 23, 2018

@gsimardnet, is there a way I can use this in an Azure Web App?

@gsimardnet
Copy link
Owner

For the moment, the only option to run this under Azure is to install it on an Azure Virtual Machine. Then you could expose methods through a web service.

@metamoof
Copy link

metamoof commented Sep 5, 2018

Hey @beefarino, did you get the PowerShell module idea going? I’m definitely going to end up looking at it at some point, and this looks like an interesting place to get started...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants