Installer for .NET Framework WPF application [closed] - c#

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I have a .NET Framework 4.8 WPF application. (Maybe .NET 5 in the future) This is a business application to manage persons.
The application must connect to a web service to authenticate with a user and manage data.
The web service is deployed on the customer server.
Each customer has its own installation with its own server and database.
Before, it was a Silverlight application, so an installer was not necessary.
What I need :
Create an installer that will install the WPF client application
Deploy the installer when hosting the web service on the customer server (Ex. "intranet.mycustomer/myApp/ClientAppSetup.exe" )
If possible, keep the URL of the server during installation, so that the application can call the web service, without having to ask the user to enter the URL again.
The application must update automatically
Installation should be as simple as possible
If possible, do not be limited to windows 10
Bonus : Since not all clients may have the latest version of the application, it would be usefull to be able to install the application several times on the same machine, with different versions and connecting to different servers (to do remote support or connect to different test systems)
What technology should I use to best manage my needs?
ClickOnce
MSIX (compatible with .NET Framework ?)
Squirrel ?
Other ?
I find the information difficult to find and there is little official and up-to-date documentation.

I have worked with ClickOnce before and it is a very easy tool. You have an option to generate a page where users can easily install the application. every time users open the application, Clickones compares the server version and the client version, and if it is necessary ClickOnes will update the client application (you can customize this part if you want it), the application will be installed as a normal program on the user's computer.
take a look at this article: https://www.c-sharpcorner.com/uploadfile/37db1d/deploying-wpf-application-with-clickonce-deployment-techniques/

Related

Should i Use Docker to Deploy a Web API Project (Microservices) to Azure Web App [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I have several Microservices (not .net core) built using normal Web API.I need to deploy it to Web API on Azure.Docket support was not added by default ? Should i containerize the projects before deploying to Individual Azure Web Apps?
It's not mandatory to containerize your APIs if you really do not want to deploy using containers. You can directly build the code and publish to Azure App Service (WebApp) either directly from Visual Studio/Visual Studio Code or Azure Devops with ARM templates.
If you want to loon into other options of deployment, have a look at Choose an Azure compute service for your application
its not necessary , before you jumped into containerize platform check do you really need this or not. if you are really want to host it in cloud please find something similar like (AWS LAMBDA ) in Azure which is server less . that may help you. #

What to use instead of WCF in .NET Core? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 3 years ago.
Improve this question
Windows 10, .Net Core 3.1
How to do the processes communication on the same computer in .NET Core 3.1? I used WCF for these purposes when I used .NET Framwork earlier, but .NET Core hasn't WCF. I would not want to use the file system and FileSystemWatcher or write windows services for these purposes...
Currently gRPC is described as to be a way for wcf migration, you can communicate in half streaming, full streaming. But be careful that half streaming can interrupt to collect information but it will not interrupt all the process on the server side. From what i seen, on asp.net (there is a core version) the context. CancellationToken you will see on examples is called only when the client disconnect (closing by example), the most of time examples show how to interrupt reception from client, but if you launch an object by the grpc server with an infinite loop, it will continue to exist. It's important to make some tests before to really mastering this.
In the other case the double streaming is here to help you, with a simple word you can stop the duplex properly.
You must identify your needs.
What else... the service used on asp.net with grpc launch a new object to each request, you must keep it in memory.
For the while i don't know how to transmit an unknown object, but for known objects you will definite "class" used in the proto files, generate your project, and vs2019 create files for you. Currently to add this service to an existing project you must edit your project, or you will have some problems to add protobuf (*.proto) files "Sdk="Microsoft.NET.Sdk.Web" is required.
I hope it helped you.

Best way to store PC application data localy and sync with server database [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
Please, i have a question.
What is optimal way to store some settings and application data like tables or products info of my application localy. That means, data of my program is store on computer where application running.
But, If I want to use or work on this app on other computer it is problem because there aren´t same settings and data. So, I want to work on this app locally on my computer without internet. But, i want to synchoronizing tables and data with other computer if i want to.
I want to develop my personal application on desktop computer. It is like economical applicaton where are lots of products and peoples tables. I choose VS2015 C#.
Thank you very much for any reply.
One way that’s very popular right now is to use SQLite, which leverages the power of sql while being easily contained within your local file system. It’s a popular option used in both desktop and mobile applications currently.
https://www.sqlite.org/index.html - Project site
https://system.data.sqlite.org/index.html/doc/trunk/www/downloads.wiki - ADO.net providers.
Another option is to simply serialize collections of objects and write them to a file. You can then use LINQ (Language Integrated Query), to manage and select the data within your application as desired. However, SQLite would be my first choice.
I would also suggest upgrading to visual studio 2019 unless there are limitations within your system that prevent it. VS2019 is more widely supported by the latest library’s and 3rd party solutions. Many of the newer versions of DotNet, like DotNet Core, will not be supported in VS2015 (Though .net core 2.0 is supported in the 2017 version).

Best Azure service for app with custom HttpListener [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I have own relative complex app which implement own http server via HttpListener. Currently I looking for best way to deploy to Azure. But I ‘am new in Azure, so I don’t know which service is best for my app.
What I need:
Continued running (long start time)
Support for minimal Http interface via HttpListener (I really doesn’t need MVC WebApi)
I will be happy if it will be easy deployment (automatization with VSO)
Also i don't need to much mantain pure VM :)
From my research I think best will be WebJob but on some article I read it's for "RSS aggregation, File maintenance, such as aggregating or cleaning up log files etc.." And it's not look like best solution for relative complex app.
You can deploy this as a standard web app. Web apps support the full .net 4.6 stack so will run HTTPListener quite happily.
You can enable Always On to ensure that your site is kept active. You can do this from Application Settings within the Portal. (it can also be scripted)
Indicates that your web app needs to be loaded at all times. By default, web apps are unloaded after they have been idle. It is recommended that you enable this option when you have continuous web jobs running on the web app.
There is a good, though old now! article by Scott Guthrie at Microsoft that might be useful.

move asp.net web site from pc to server [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I finished my asp.net website ,I am using vs 2013 and sql data base I designed the web site on my pc and it is work on IIS 7 , now I want to move the web site to our server which include Sql server 2008 .for my database no problem I will move it .but now any thing required to move the web site to the server, I do not know if I need to install vs 2013 on the server??
*note:the web site include report viewer .
you do not need Visual studio for deployment but you need .NET Framework installed in the remote server. You need to have Internet Information Services installed and it is advisable to have web deployment tools. In large scale enterprise applications we do not use manual web deployment but it should be automated with MSBUILD. Have a look at [Deployment automation][1]. You can deploy your code to a remote server and have a look at Remote Deployment.

Categories