How do I publish my project on Azure websites containing executable files - executable

In my project I'm using Rotativa.dll to generate my PDF reports, it turns out that running the project locally everything works fine, but when I publish my site on Azure WebSites'm not getting. How do I publish an executable file in Azure?
Is there some setting for this?

You can publish any executable you want to an azure site. There is no limitation on the type of assembly you publish.
However there are some APIs that you can't call from an Azure Website for example GDI APIs.
I am not familiar with Rotativa.dll but since you say it's for PDF processing there is a very good chance it's using GDI APIs.

Related

How to automate web app upload to cumlocity using the azure devOps

We have developed an web application using the angular 6 and uploading it manually using the adamos --> "Add application" option in administration Page.
We want to automate the process of building & deploying the application to the adamos.
Currently we are using Azure devOps, for building the angular App and creating a dist folder. Now how do i automate the process of uploading my web app in adamos.
Please let me know, any possibility is there now?
Thanks
Not knowing the Azure devOps you usually use the CLI provided by Cumulocity (via npm) for build & deploy. That is usually also the approach for other CI like Jenkins.
The deploy process itself is just containing REST calls (like the UI also does). So that part you could do also easily without the CLI tool.

Set up Application Insights for Older WCF Library

I've "setup" AI through the context menu in VS 2017 when selecting the "Configure Application Insights" option. It doesn't set up like ASP.NET sites. it didn't add AI dll's and there isn't a ApplicationInsights.config
But it does state I've connected to the AI i created in Azure. yet i don't see the instrumentation Key anywhere. Also When I rum the WCF service noting gets logged. is there a specific way we need to set up AI for this? I couldn't find articles on how to do this. The only files that were generated was in the Connected Services AI folder and ConnectedService.json
I figured out the issue, of TFS for some reason it didn't allow checkout of project file so it created the files but couldn't add it to the project. I checkout the project manually and delete the files. Then added AI and it worked as expected.

SAP Netweaver hot deployment

I am completely new to SAP netweaver in fact SAP. I am working in a project which is based on Java/J2ee(JSF, Icefaces) and SAP netweaver combination. Currently, we are building/deploying the application using ant, for every small change in jspx file or some html file, we have do re-build.
Just wanted to know, if I can browse the deployment location like other application servers(Jboss,tomcat,weblogic) and manually deploy the respective changed file. Any possibility.
Does it have hot deployment. I am using SAP J2EE engine/7.00.
Any ideas or approach to make it quickly deploy.
You can update JSPs, html, and those type of resources by copying them directly into the web app's working directory. Mine, for example, is /usr/sap/(sid)/J00/j2ee/cluster/apps/(vendor)/(appname)/servlet_jsp/(webapp_root)/root/(your jsps are here).
Note, however, that you will lose those changes if you restart the app server instance because it will reload your application from the database.

How to deploy a web site on IIS by using .dll file

I want to deploy on IIS my web site but I do not want to take whole project. I just need to take .dll file. Is their any way to do so.
I do not want to use visual studio only .dll file from the project to deploy.
The basic steps for deploying to IIS on windows server are as follows:
log onto the machine that is or will be hosting your application.
Use IIS Manager to create a new website for your application.
Create a new application in that site. I believe this also will automatically create an application pool with the same name for you and use it by default.
Specify the virtual directory for your application. This is going to tell IIS where to look for your mvc application. For this case lets assume it is C:\myApp
On your own machine Build the application however you build it with the correct solution configuration (i.e. Release mode). Let say the result of your build is located at C:\MyProject\bin
Copy C:\MyProject\bin from your machine onto your hosting machine at C:\myApp
You should be able to search these steps and find a step by step guide of how to accomplish them. Here is a link to some info on what sites, applications and app pools are to help you better understand.
http://www.iis.net/learn/get-started/planning-your-iis-architecture/understanding-sites-applications-and-virtual-directories-on-iis
Based on your sites requirements there will be some additional steps to set up security and alter bindings if you need to change them.
You don't need to deploy your entire website if you only make a change in a single assembly. You could copy the .DLL assembly directly to the bin folder of your website. This will trigger the Application Pool to be recycled in IIS and the changes will be taken into effect on the next request.

RAD publishing the application to IHS and WAS

We are developing a Dynamic Web project using RAD which will run on WAS 7.0. We have configured WAS 7.0 within RAD to run the application directly from RAD. We also have
a web server setup and we need the static files in our Dynamic Web project to be served from Web server.
Unfortunately when we run the application from RAD, it doesn't add the information in plugin.xml file of web server. So we checked this in <WebApplication_Name>/Manage Modules section
in WAS Admin console. We are not able specify the web server target also there.
Is there anything that we can do to tell RAD to publish the application both to WAS and IHS? Could you please assist?
I am afraid this cannot be done using the RAD IDE out-of-the-box, as it just publishes your appication to WAS.
A solution to this would be to build and publish the application using a tool like Ant and place in your build script an extra step to appropriately change the plugin-cfg file.