Alfresco 5.1.x community edition integration with PHP Application - alfresco

I am new to alfresco i created workflow process using eclipse acitiviti kickstart in the workflow i need to pass value to external PHP application get response from PHP Application append into workflow form is this possible? and how ?

Related

Deploying ASP.NET Core solution with class library to Azure

I'm working in VS2015 and have a ASP.NET Core solution with two projects - an API Web Project and a Class Library that holds all the data entities, context and Entity Framework migrations. The API project references the class library and all works well on my local machine.
I now want to deploy the solution to Azure and this is where I'm hitting the problem. If I right click on the API project and go through the Azure App Service publish wizard, on the Settings tab I expand Databases and the message is "No databases found for this project" - which I'm guessing is because it can't find a context as it's not in this project.
If I do the same on the CL project though, there is no Azure App Service deployment option, the only option is File System and clearly there's no option to create the database there either.
So, in summary, my question is how I can deploy this type of solution to Azure and have the database created and migrations applied?
I think you need to create the DB first in the azure and then try to publish your application through the wizard. The database is on your local machine and the application will work just fine on your local environment. But on the cloud you have to first create the database on Azure SQL. Then you need to get the SQL connection string from the portal and update your config file accordingly. Once this is done you can then publish your application from Visual Studio. Please note that the wizard will still not show you the databases, but the application, when configured properly will run fine.

How to Web Deploy ASP.NET 5 to AWS IIS using VS2015?

The Publish Web wizard in Visual Studio 2015 no longer allows you to create a new profile and specify the connection parameters. You can see what it looks like in the official docs here.
As such there appears to be no way to use the Web Deploy to publish to AWS other than publishing to the file system and manually copying that across yourself.
How can I publish a ASP.NET 5 MVC 6 website directly to an EC2 AWS instace using Web Deploy now?
Looks like you need to import the publish profile until they make improvements in the next preview version:
We are working on simplifying the experience for the next version.
I haven't tried but I assume you could create the profile file yourself using the specification:
Generate a Profile XML File

Stop application if db version is wrong

I have an web application that runs in JBoss and i use FlyWay in command line mode to migrate between database versions.
I want integrate Flyway in to my application using Spring Framework and only stop the deployment in to the web server if the db version is wrong. Is this possible?
First of all, I strongly recommend migrating the database on application startup so a mismatch can never occur.
If this is not an option, you can implement custom logic to check the results of Flyway.info() against the desired version.

ASP.NET MVC 4 and Web API in Azure - No HTTP resource was found

Using Visual Studio 2012, I created a simple Windows Azure Project (Cloud project) for which contains a ASP.NET MVC 4 website. I didn't change anything to the template and I simply try to deploy it using Azure Website. I imported the "publishing profile" from Windows Azure Dashboard into my project and deployed (using Visual Studio).
At the very end of the deployment process I am getting the following message: "failed to open 'http://mysite.azurewebsite.net'. Exception:Class not registered". I can only click "Ok" on that dialog. Any idea why I am seeing this message?
When I look at the Output Window, I see that the deployment succedded. I go the a Web API url and I am getting "No HTTP resource was found that matches the request URI 'http://mysite.azurewebsites.net/api/values'". What puzzle me is that I can access that same url on my local environment.
What am I missing? Thanks!
I could access using my Azure website using ASP.NET Web API. If you use default MVC4 Web API template, please access "http://[yoursite].azurewebsites.net/api/Values/".
My Environment is below.
- Visual Studio 2012
- ASP.NET MVC4
You don't need to create a cloud project to use Azure Websites. You can simply create an MVC app and then use git deploy or even FTP to push the site to Azure
Make sure that you referenced the latest version of WindowsAzure related assemblies in your project.
Microsoft.WindowsAzure.Diagnostics 2.0 (and not 1.8)
Microsoft.WindowsAzure.ServiceRuntime 2.0 (and not 1.8)

SDL Tridion : How do I schedule a page to publish recurrently?

I have to schedule a page to publish automatically once a week. I don't see any out if the box feature to schedule it. How can this be achieved using the SDL Tridion 2011 APIs.
Your best bet would be to write a small command line or power shell script which uses the SDL Tridion Core Service, then schedule it to run using the Windows Task Scheduler. Once you have created a Core Service client (there are lots of examples here on SO), you can then call the publish method as follows:
_client.Publish(pageId, publishInstruction, targets, priority, readOptions);
If you need further details please download the CoreService API from the following URL and search for "ICoreService2011.Publish":
https://www.sdltridionworld.com/downloads/documentation/SDLTridion2011SP1/index.aspx

Resources