Updating a self-contained application - qt

I have a self-contained application built against a static Qt library. One of the requirements is to update itself.
How updating is done:
To do this, it checks the application version against a web API and downloads update from a API link from a remote server.
There is a post that asks this question but doesn't provide useful information to my problem, or in general how to update an application.
How do I update a self-contained executable?

Related

cross-compile ASP.NET website to desktop?

Is there a way to cross-compile or port an ASP.NET based webpage to a native Windows GUI?
I am developing a web app, with an ASP.NET webservice doing much of the grunt work, and an ASP.NET webpage as the GUI. I would like to also offer an "offline" version of the app that doesn't require teaching random people how to manage IIS. Some of my target users will not have internet access consistently when they want to use the app; also, I like not having to rely on an active web connection myself because I'm an old fogey and this web 2.0 stuff is just a fad, right?
The core of the app logic is a library that is disassociated from everything else - the service just provides an API (which I want publicly available for others to use), and that I use for my own app. I could go ahead and design a new GUI in WPF or WinForms, import my libraries and there you go, but I'm lazy enough that I'm curious if there's an automated solution. Or even a semi-automated solution.
If I can target not-Windows as well, that would be nice. I already have a console interface that I used in development of the core library that directly accesses them, which I'm still testing but should relatively easy to make work in WINE but if I can offer more support for offline use to non-Windows users I'd feel better.
You could run that web application on .NET Core in a self-hosted way. That way you get the full IIS feature set and there is no need for the user to configure anything.
You can then use a WebBrowser control to show the application as a GUI app, or just open the web site in the users installed browser.
.NET Core runs on non-Windows as well.

Chances of a Desktop Bridge app getting published in the store

I am planning to create a UWP app which calls in a win32 exe for some tasks. Win32 exe will implement the functionalities which cannot be implemented with .net core.
Will such an app be published in the store?
I don't want to end up in a situation where I make the app and at the end the app is not allowed in the store.
You can submit your info here and then discuss your planned submission with a dedicated consultant from Microsoft:
https://developer.microsoft.com/en-us/windows/projects/campaigns/desktop-bridge
Also feel free to hit me up directly for any quick questions (swick at Microsoft.com)

Call a nodejs script from an asp.net Web API

We have a REST API currently built using ASP.NET Web API and it's hosted on Azure.
One of our methods needs to compile an email template using the MJML language. Only problem is that there isn't an asp.net compiler for MJML, it's written in Node.js and none of us here know anything about node except for having used it in gulp as part of our build process.
So I guess the question is, is there an easy way (preferably on Azure) to host the node script with an endpoint that can be called from our Web API and return the compiled template.
Just to be clear, I'm not asking how to use MJML or it's compiler, just how to host a script written in Node and easy send and receive data from it. To keep this inside of Azure would be a bonus.
Many thanks.

how can we integrate meteor application to simple web application runs on application server?

Is there any integration meteor application with application server.
I want to create a chat client which should be integrated with my web application, i have seen meteor example and i want to explore the possibility for my requirement.
Please suggest.
You could either use meteor for your web application or you could put the meteor chat application in an iframe on your web application.
It would be difficult to actually integrate your current web application into a seperate meteor instance because meteor includes its own webserver and the meteor code can't run on what your application server's stack might be (IIS/Apache,Thin,etc). You would have to look at a way of having meteor run on its own and then integrating this into your webpage with html/javascript
If you don't have a chat application on meteor yet, there's a very good example at:
https://github.com/AVGP/meteor.js-chat-example

Using Web Setup Project for multiple types of projects

I am trying to a create an installer for my web application. My solution contains several projects. They include:
Class library project (referenced by the web application)
Web Application
Windows Service
Web Services project
Database project (execute update script)
I also have an unmanaged dll (crystal reports) in my web application project, so I might have to do some editing of the registry.
I ideally want to be able to use a web setup project to install the whole solution. Can this be done? Is there a better method/solution?
The short answer is "Yes" it can be done.
Other better solution? Well, I'm not a huge fan of VS.NET's installer/setup, can be kind of bulky, 3rd parties could be better at a price. Having said that, it should be able to satisfy your requirements.

Resources