We have a web app published using Service Fabric App. My problem is I cannot immediately see my changes in client-side. I need to run "npm run build" and publish the Service Fabric again which takes more than 10 minutes.
Is there a way or a script that I can add so I can see my changes on the running web app (just refreshing the app will reflect it, like a normal web app not running on service fabric)?
Related
There is something that I cannot really understand during the AWS CodeStar development flow. Let's say I am developing a web app (MVC) locally, it works and now I want to test it remotely before deploying to the final production environment.
CodeStar has created a Git repository for pushing the changes and it automatically starts the building, testing and deployment tasks. I have few questions:
How can I deploy a change to verify that it works BEFORE doing any sort of commit (avoiding to put dirty commits in the case there are some errors) to the remote environment?
How can I DEBUG a remotely ASP.NET application (breakpoints, etc...)?
How can I tell the application to use a different development database (or any other AWS service) while it is in the development "status" ?
Thank you for your delucidations.
I have a Flutter web application that is hosted in Firebase.
I'm using the setup described here to load the correct firebase configurations depending on the Firebase environment the application is running in.
My trouble is now I want to be able to debug this locally in my IDE.
I can run the application locally using firebase serve, which starts the webapp (e.g. on localhost:5000) and serves the correct firebase config based on the environment/alias I'm using, that's all nice and good.
My question is whether it is now possible to debug that running application in Android Studio? I know there are ways to do this in Visual Studio code, but I'd rather find a setup that works with AS if possible.
I could also debug the application by clicking the debug button in Android studio, and that will try to launch the application, however it will fail to start since it wont be served the firebase config file correctly (since this is firebase serve does for us).
Is there a way to combine the debugging capabilities of Android Studio with the firebase serve command to give a working application that's debuggable in my IDE?
Thanks in advance,
Gary
We have an ASP .Net (not CORE) project. There is a different Azure project as startup that starts the Azure emulator and then the website via IISExpress. I want to write some UI tests against the website. How do I start the Azure project from the command line?
Also, I've tried launching the website directly with IISExpress in the command line and getting an error; so I'm trying to take the approach of launching the Azure project from the command line instead.
To invoke the ASP.NET Application using command line via IISExpress, you can use the below command and start IISExpress and then invoke the web request with specific URL and port. And if you are trying to publish the web app to azure , then try to invoke the web request with the Azure Web App URL.
Hope above information helps.
I have an web application (ASP.NET MVC) host on Azure web app service and an console application (C#) as http trigger locally. This Azure web app service will call the .exe once when it's running. They run well this way.
Now I'd like to move the .exe file to Azure and call it from Azure app service. But I only find Azure function app to execute a piece of code written using Azure portal. Is there a possible solution for me to simply upload this exe file to Azure and can be called by Azure app service ?
Thanks in advance.
It seems that you would call your console application as http trigger when web app run. If so, you may need to upload your console application as a Azure webjob.
You could right click your console app and choose "Publish as Azure Webjobs" to publish your console app to the Web app on Azure.
WebJobs is a feature of Azure App Service that enables you to run a program or script in the same context as a web app.
For more details about deploy webjobs you could refer to this article.
Also, if you are using console core application, you could refer to this blog to deploy it.
I have solution with startup project that have .ccproj format. This is an Azure project that require Azure SDK installed. By default i am able to run it using IIS Express with Azure storage emulator & Azure compute emulator. But when i make some changes i need to recompile entire solution and re-run it. How can i deploy it in IIS server ? Could you advise me alternative deploy method how to run it in simplest way ?
I want to re-compile and attach to process after make some changes in project without restarting IIS Express & Azure emulators, it takes a lot of time.
#DotNetGoose,
should be able to run on IIS but you will need to abstract all the calls that your code read content from RoleEnvironmental and direct them to read from Web.config, and have a copy of corresponding settings in your web.config.
once the abstraction is done, set your web app as default startup project, you should be able to run them as normal web app on iis or iisexpress.