Google Cloud API - google-api

I would like to know if is there any way to list all available projects in a user cloud account?.
I want to select one project from all available and the run all other APIs based on selected project. Now I have to write manually the project name.
Thank you.

Ok, I have found, it's not possible.
Found in https://developers.google.com/compute/docs/projects
Note: There is no Google Compute Engine command to list projects; you
must use the Developers Console to list projects of which you are a
member.

Related

Sharepoint Online: List & Features

I'm building a SP provider hosted app in Visual Studio. I just saw, that for each list I add to the project a new "Feature" is added, too. Can someone explain what the tasks of a feature are and how it is associated with the lists? Thank you!
You can see the feature as a container with yours SharePoint artefacts.
Basically, if you need to define a list, you'll have to create a definition list.
Then, you have to put this definition in a feature.
When your app'll be launched. The feature will be activated and the list inside your feature will be deployed on your site.
The features managment depends according to the developper. You can :
Put all in one feature. Sounds ok for small apps with one list.
Have one feature for the fields, on for the content type and one for the definition lists
Have one feature by fields/CT/list.
To separate lists will provide you more intel in case of error. You'll know that your specific feature in error manage a specific list. And you'll directly analyse what's wrong in your list. (Useful when the error is "An error has occured during the activation on the feature xxxx-xxxx-xxxx ... The log aren't everytime explicit)
In another hand, some developper'll tell that manage multiple features is an additional work. Up to you to weighing it up !
Note : In a SharePoint-hosted app, all the features are scoped web.

How can I pull the latest Cloud Code?

I need to use the command line tool provided by Parse.com to get the latest Cloud Code from my application, how can I do that? I'm working with a team and can not overwrite the existing Cloud Code.
You can now download deployed Cloud Code through the CLI.
Through the command prompt (on Windows) type:
parse new
Parse will then ask you to provide your user credentials. Once provided, the command prompt will ask, Would you like to create a new app, or add Cloud Code to an existing app? Choose (e)xisting, and you will be provided with a list of apps you currently have access to to choose from and the rest is cake.
Make sure you update the Parse CLI in order to get this work by using:
parse update
You can use parse download command:
parse download -l [location]
Works great in our team. For more information about the command use
parse download --help.
Note: if no location is provided, code will be downloaded to a temporary folder.
UPDATE: You can now download your deployed code easily with the Parse CLI:
parse download
HISTORIAL: Previously (May 11, 2015) there are only 2 ways to get cloud code deployed by someone else on your team:
You get a copy directly from your teammate
You go to the Parse.com Core dashboard, tap on Cloud Code (below the Data section with all the classes), then click on each file on at a time and copy/paste the window contents into a file with the appropriate name.
Neither of these are ideal solutions.
Ideally, your team would use a two-part solution like this:
A version control system (like Github or similar) that keeps track of your most recent version
A dev mirror of your Parse.com app that gives you a sandbox for testing changes to the code

How to achieve Incremental deployment of Sitefinity Code Files to different environments of windows azure?

We are new to Windows azure and are developing a Sitefinity web application. In the beginning of the project , we have deployed complete code using Sitefinity Thunder to different environments which actually publish complete code. But now as we are in the middle of development , we are just required to upload any new files created which can be quite less in numbers (1 or 2 or maybe few). Now if we deploy with thunder , it publishes all files and then deploys complete code which takes good amount of time. Is there a way we can deploy only changed or new code files via sitefinity thunder or is there any other way with which we can only upload only the changed files?
Please help.
I use Beyond Compare 3 from scooter software to move files to our different Sitefinity environments. I haven't used Sitefinity Thunder to deploy my sites before. Also, you might want to post your question on the Sitefinity Devs group on Google+. Below is the link.
https://plus.google.com/communities/101682685148530961591
This is not easy to do and Azure is not designed for this although many people have requested this feature. The one way to achieve it is to enable Remote Desktop for the cloud service and then by logging onto the server, you can then make some kind of connection to where your files are stored and copy them into the cloud service. However, it is always possible that the instance will be rebooted and even re-provisioned from fresh so I don't know if there are any guarantees that this is a safe way to do it.

Multiple Instances of ClickOnce app

Some background to my problem...
We are currently using ClickOnce to deploy part of our solution which was working a treat until we encountered a scenario where we are now required to have multiple instances of our application installed on the same PC. We are able to achieve this internally and have this working perfectly as we know what instances we have so our build process will update AssemblyName to include the instance name before publishing the installer, this means we are able to have multiple instances on our PCs internally (ie, test, live and demo etc).
Our external deployment process is slightly different, we take one of the ClickOnce installers created in our build (along with all our other components that make up our application) and as the ClickOnce installer is deployed on a server we update the app.config along with the manifest files and resign so they now have client specific details. If a client chooses to have multiple instances of our product installed the ClickOnce will now fail when a second instance is installed on a desktop PC as all instances share the same assemble name.
So finally to the question, does anyone know of a way to update the manifest etc after the clickonce package has been created to allow multiple instances to be installed? We could go down the route of building many clickOnce installers but I dont think this will really work for us, is there perhaps an alternative to ClickOnce which provides a similar upgrade experience for non-admin users?
Hopefully someone will be able to share their experiences and help me resolve this.
Thanks in advance
Doug
I don't know of another technology that allows such a simple auto update process. So sticking with ClickOnce... I think this link might be useful. It explains what you need to do to have the same app installed twice. Essentially changing the assembly name and product name should do it.
Hope that helps.
Greg

Deploy just one role in Azure service project

Sorry I'm just starting out with Azure, hopefully the following question makes sense.
I have an Azure project with 3 roles. I'd need to deploy one of them right now, but the other 2 roles are far from being ready and I'd have no use in deploying them at the moment (and that would also make me pay for 3 instances, right?)
Would Visual Studio let me deploy just the role I'm interested in?
If not, is there a way to temporarely remove the other roles without losing their settings?
(Thank you for your answer Richard, I was hoping I could — for example — just comment out parts of the ServiceDefinition / ServiceConfiguration files to tell VS not to package the extra roles.)
Just delete the projects you don't want to deploy from the 'roles' folder of your Cloud project, and they should be ignored.
You can easily add them back in when you're ready to use them.

Resources