Export/Import Azure API Management Developer Portal Configurations - azure-api-management

Microsoft has released a new developer portal for Azure API Management.
I'm looking for a way to export all the files and configurations from an API Developer portal and be able to import it to another one. So, I can apply the same customization to all my APIM instances.
Is there way to achieve that?

You could use Git Repository to export and import configuration.
In the local Git repository, portalStyles folder contains the configuration for the developer portal customizations in the service instance.
Note: Developer portal entities other than styles cannot be configured using Git.

I tried Entire API's are imported Successfully but Not Portal styles and UI design so for that any procedure is there ?

Related

Deploy Angular Backend API on Azure

I have made a backend API that connects to the sql that is also hosted on my azure account, however im not sure how to deploy this api on azure and make it available on there so that i can deploy my angular app to connect to this url instead of localhost.
Do you guys know of any tutorials or advice on how to deploy a backend typescript based api on to azure
thanks
There's a new service in Azure that sounds like it fits your needs perfectly: Azure Static Web Apps.
You can find a tutorial in the documentation: Quickstart: Building your first static web app.
Azure Static Web Apps is a service that automatically builds and deploys full stack web apps to Azure from a GitHub repository.
and
What you can do with Static Web Apps
Build modern JavaScript applications with frameworks and libraries like Angular, React, Svelte, Vue with an Azure Functions back-end.
Publish static sites with frameworks like Gatsby, Hugo, VuePress.
Deploy web applications with frameworks like Next.js and Nuxt.js.
Source: What is Azure Static Web Apps Preview?
EDIT:
In short, this service enables you to build a frontend using libraries like Angular, Vue and React, and also provides a way to build and deploy an API using JavaScript or TypeScript Azure Functions. You could, of course, do this manually, but if there's an integrated service for it...
As posted in the comments: I do not mean Static website hosting in Azure Storage, although that could work perfectly fine although it doesn't provide a solution for the API.

Connect Xamarin.forms with MySQL

I know about xamarin connection with SQLite but it is locally
I need to connect my remotely MySQL database with xamarin.forms (I know about the security issue of this without using web services layer, but i will only use it for my own work)
This plugin is for xamarin.iOS and Xamarin.Android
I cannot add it using dependency service because i cannot add this component to the shared project
So is there any example of connecting MySQL database with xamarin.forms
You can't add references to your shared library. Shared libraries act like a list of files that are directly included in the project. The advantage of shared projects is just, that you do not have to maintain these included files for each project that uses code of the contained files. See the Xamarin documentation for further explanation.
What you have to do, if you want to consume a 3rd party libray within a shared library: Add the library to each project that uses the shared library (e.g. your iOS and Android project)
2ct to the mentioned security issue
You are right about the security issue. That's why I'd advice against, using mysql directly from your app. (I'll explain it for other readers that aren't aware of this problem and stumble over this question)
You should tunnel it through HTTPS because:
Some networks just block certain ports (HTTP and HTTPS are usually not blocked)
You publish your credentials with your app either statically or dynamically, but the credentials to your database are interceptable either way. You should authenticate a user and not an app. So there should be some kind of authentication / authorization that is revokeable. There was a nice talk from Kerry Lothrop on the Xamarin Evolve 2016 on this topic. https://www.youtube.com/watch?v=uLFtQHNxGaI

Publishing Lightswitch localy

I'm trying to publish ligthswitch on local network with from VisualStudio 2013,
I have installed IIS and launched web-deployment services. I Think I also installed all the possible features from web platform installer.
When I publish lightswitch app I get to this screen.
and I dont know how to get pass this service Url line. Whenever I type localhost or Computer name which is the server name, perhaps? I get an error
"Lightswitch must be run with administrative privileges to deploy to local host.
I fugured I could also just use import settings file. It could be alternative way.
but how do I create this xml file.
I've answered this for you before. You may have missed a step:
Open IIS
Locate "Default Web Site"
Right click and find Deploy -> Configure Web Deploy Publishing... (This step will create the XML file that you can use for Import Settings...
(If this menu option isn't available it means you haven't got the Management Service installed. And/or you haven't got the ALL of the Web Deploy 3.5 components installed.)

How can I deploy an HTML5 web application in Google Cloud platform?

I am working on an HTML5 web application, which I need to host in Google cloud platform.
How can I deploy the web application, which is based on HTML5/CSS3, jQuery to Google Cloud platform/App Engine?
Clarification:
My web application is build using HTML5/CSS3 with javascript to process data. I am using Visual Studio IDE for development of the same. As per my understanding, apart from the supported languages like java, Python, etc, we can deploy html5 web application to Google cloud platform. How can I package my HTML5 application, which is not using any specific language and deploy to App Engine?
Thanks
Ambily
You can deploy to a bucket directly:
The Website Configuration feature enables you to configure a Google
Cloud Storage bucket to simulate the behavior of a static website. You
can define main pages or directory indices (for example, index.html)
for buckets and "directories". Also, you can define a custom error
page in case a requested resource does not exist.
No programming language at all required :)
Google Cloud Storage
You need a account with Google Cloud Platform to start with. Assuming you have that.
Go to cloud console where you find all the admin menus for creating instances.
You need to create a compute engine instance, if you want to create full fledged website.
Steps to follow:
Create a instance (linux, 10GB disk, 1.7GB memmory) and configure it for all required components.
After this you can move your files to your website folder usually "htdocs"
You will be assigned with an empirical IP address.
Using zone management tools you can add a new domain. All that using the admin panel, no complexity involved.
You may required to configure proxy, if you need access to other machines.

Continuous integration with Reporting Services

I'm implementing a continuous integration environment with SVN and reporting services.
The reports are stored in the SVN repository. when a change occurs, they are automatically downloaded from the repository, and any file changed should be uploaded to the reporting services server.
How could you automate the upload/update process for .rdl files?
One way would be to upload them via the reporting services web service. You'll have to generate a proxy and then write some code to read the reports from the local file system and upload them to the report server. You can use the ReportingService2005.CreateReport Method to do this.
You can also use the rs Utility to write a script. Here's a link to Scripting Deployment and Administrative Tasks