Should i Use Docker to Deploy a Web API Project (Microservices) to Azure Web App [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 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. #

Related

Installer for .NET Framework WPF application [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 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/

How to send data from a C# MVC ASP.net Application to a C# WPF Application [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 5 years ago.
Improve this question
I am wondering how I can send information from a C# MVC Web Application to a C# Desktop Application.
For example, I want to be able to send some strings from my web application that is hosted on some server to a client's personal computer where they will have my desktop application executable somewhere on their local machine. Also, I am trying to avoid the client having to open the desktop application (that will be running in the background) to click anything. I am wanting the desktop application to constantly be checking for data coming in from the web application. I would probably have a while() loop checking for that information in the desktop application and then once it has received data from the web application I will do stuff with it on the desktop side.
Can anyone point me to some good examples of this or provide a simple example of this being done with some strings?
When thinking about this SignalR comes to mind, or perhaps implement in the MVC application a web hook and consume it in the WPF application.
A good starting point for Signalr you can find here.

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.

Is there a way to create a "Self-hosted" Web Site in .Net? [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 5 years ago.
Improve this question
Similar to WCF Self Hosting.
Is there a way to create a website that is "self-hosted" within a console application or dll?
Probably the wrong way to ask this question, but what i'd like to do is use this website to split results as web pages without creating the website within IIS.
Thanks.
A very basic HTTP server is implemented by the HttpListener Class in the .NET Framework.
If you need something more powerful, have a look at Microsoft Cassini, a simple HTTP server written in C# licensed under Ms-PL. It's basically a demo how to host the ASP.NET runtime.
If you have visual studio, here is an article I read a while back on how to basically snatch the VS built-in web server and use it for your own purposes:
http://www.codeproject.com/KB/aspnet/LightIIS.aspx
You can try Ultidev Cassini: http://ultidev.com/products/cassini/
Take a look at Open Web Interface for .NET (OWIN).

Categories