Django project to Azure Cloud Services without Visual Studio - django

I'm exploring MS Azure, and have a very simple one-app Django project that I'd like to use with Cloud Services, but I can't figure out how to do it.
I've got the Node-based Azure cross-platform CLI tools installed, and I'm trying to figure out the process of creating the necessary infrastructure to stick the Django project on Azure Cloud Services (note: not Azure VM, not Azure Web Sites). The tutorials I've seen use Visual Studio to do this, but I'm on Mac/Linux.
There must be a process how to produce the necessary files (.cspkg, .cscfg etc.) without VS, but I haven't found any tutorials or documentation about it. How do you generate or construct those files, and any other boilerplate, without the use of VS, and what's the process of actually deploying the code to the cloud?

best to use is powershell : you'll need "New-AzureServiceProject", "Add-AzureDjangoWebRole" and in the end you need to package it with Save-AzureServiceProjectPackage, afterwards you can upload it either through the portal or through powershell with the cmdlets New-AzureService and "Publish-AzureServiceProject" hope this helps you?

Related

AWS Step Functions Graph Export API

With regards to the AWS Step Functions graph, is there a way to export/download it programmatically?
I want to automate the downloading of the image below.
I'm posting this feedback incase someone else runs into a similar issue. I decided to extract the Step Functions graph related code from the AWS Toolkit for Visual Studio Code and create a small react library to embed in a web page.
Here is the link to my library #tshepomgaga/aws-sfn-graph.
With this library in-hand, I can set up a small web app to load the AWS States Language JSON from a server and render the graph on a page.
Using a library like Puppeteer I can run a headless automation to download the graph image from the web app.
That is my solution in a nutshell but I would have preferred to call an API from AWS to download the image.
You can use AWS Toolkit for Visual Studio Code and the state machine will render right in your IDE.
State machine graph visualization

How do I deploy bot created with Microsoft Bot Composer to AWS?

I've played with Microsoft Bot Composer and have checked the extensibility points but it looks like it is not possible to deploy the bot to other clouds.
Please confirm my assumption.
My goal is to achieve deploying without additional development if possible.
Deploying a Composer bot is somewhat more complicated than deploying an ordinary Bot Framework bot because the Composer bot is not stored anywhere in a deployable state. Composer must bundle your specific Composer project files together with the centralized Composer runtime in order to create a deployable package.
However, Composer does come with a way to convert your Composer project into an ordinary bot project that can be deployed just like any web app. This is called exporting (or ejecting) the runtime. You can find out how to do that here.
To export your bot runtime:
Navigate to the Project Settings page of your Composer and find the Custom runtime section.
From the Custom runtime section, toggle Use custom runtime then select Get a new copy of the runtime code.
In the pop-up window select C# and select Okay. A copy of your bot's runtime will be added to the bot's project folder and can
be accessed in the following directory: C:\Users\UserName\Documents\Composer\bot\runtime.

Do GCP or AWS support C++ and GUI app development?

I am interested in developing web apps using the following technologies on the cloud:
1) C++
2) A GUI tool that can be called from C++ (such as wxWidgets)
I have checked out GCP (Google Cloud Platform) and AWS for these 2 technologies.
In general, I have found that these 2 PaaS sites support the following technologies for developing web apps:Java, .NET, PHP, node.js, Python, Ruby, Go.
Therefore I'd like to ask if either of these PaaS sites supports C++ development including GUI apps built using C++?
I haven't used AWS myself but I can provide some insight on GCP.
In short, C++ is not supported on the native runtime environments provided on App Engine (which is the PaaS solution of GCP). You can see this answer for more details on this.
However, there are some workarounds available you could try to see if those fit your needs. Firstly you could make use of the App Engine Flex custom runtime environments where you will be able to run in an environment defined by a Dockerfile which will allow you to use your own runtime environment. You can refer to this quickstart guide which goes over the steps required to use custom runtimes. Make sure that your C++ app that will reside inside the docker container works as a service that is up and running continuously serving incoming traffic through HTTP otherwise you might end up stumbling with the same problem described in this Github issue.
Alternatively, I found this article that goes over the steps to implement an architectural pattern for invoking legacy code on App Engine.

What kind of project do I need to create?

I need to create a .net based Restful web service to interface to an existing SOAP back end application, This web service will be deployed to Azure. Using Visual Studio 2015, what kind of project do I need to create? Could your answer cover in some detail the steps I need to create this project?
You'll probably want to use C#. Here's a pretty good tutorial by Microsoft that covers all the steps of creating a basic web interface.
I recommend you do the whole walkthrough, even if it doesn't immediately solve your issue, it will teach you how to do it.

How to deploy and activate SharePoint solution in SharePoint Server 2010 using web services?

In SharePoint 2010, site templates (.stp files) are deprecated. Instead, solutions (.wsp files) are used to achieve the same effect, but also beyond that. Uploading .stp file and using it was straight forward in MOSS and WSS.
However, in SharePoint 2010, it is necessary to upload a solution and to activate it before using it. I need this functionality, and I also need it implemented through web services. Has anyone encountered something similar? Could anyone help? Thanks a lot.
OK, I've reached some people from the SharePoint design team at Microsoft and they have confirmed that there is no web service with a functionality to activate the solution. The upload of the solution should be done in a straight forward manner.
I unsure why you need to deploy a solution file using WebService. You can easily create a WSP Solution using this tool WSPBuilder and you can use Solution Installer to install the solution to the SharePoint farm. You can download the SharePoint installer's code and see what API to use to upload the solution to sharepoint.