Official images for .NET Core for Linux and Windows Server 2016 Nano Server
I have a question about this docker image;
We have ASP.NET and VB.NET for our legacy apps and they're all running on IIS server.
I am wondering if the official microsoft image for .net core will only support the Windows Server 2016 Nano Server and NOT the IIS server? Sorry new to .net world.
I need to dockerize our ASP.NET and VB.NET apps running on IIS but not sure if that image is only for Windows Server 2016 Nano Server; will IIS server work with that official microsof image?
For traditional ASP.NET apps, running them on Docker requires the base image to be Windows Server Core,
More information can be found in my blog post,
https://blog.lextudio.com/traditional-asp-net-on-docker-images-1af3b72eeaaf
Related
I have written a website in Visual Studio using .Net Framework (4.7.2). (Note: it is not using .net Core)
It is an asp.net website that uses .aspx pages and uses a SQL Server Database on my laptop.
Is it possible to run this website on my Synology NAS and if so would it be able to connect to the database on my laptop (that is on the same network).
.Net framework app can only be run in Windows OS. But Synology is Linux based.
So if you want to run your app in Synology badly, you need to convert it to .Net Core app.
Here is my answer in another question explaining how to run .Net core app in Synology.
Publish Net Core Web API in NAS Synology
You need a full os running windows, and then you also need sql server installed, and you also need iis (internet services (the web server)) installed on that server.
So you need a windows os, and preferably a server based version of windows (such as windows server 2019).
Unless that server allows you to install and run windows software? Then no that will not work.
Is it possible and an acceptable solution to use a machine with windows os (not windows server) to host an asp.net website? Is all I need IIS regardless the os?
Yes it is possible. if your working with asp.net all you need is IIS witch is only integrated with Windows platforms. on the other hand if you're working with asp.net core it does not require IIS and can also be deployed to linux platforms.
In the build menu > Publish command, which options to I select to simply publish my Visual Basic 2015 VB.NET web app to IIS on my Azure Windows 2012 server R2 VM?
I'm not sure I want to publish to "Microsoft Azure Web Apps". Seems like that would skip my VM. On my VM I have other apps running that my web app will need to share files with.
I tried selecting "Custom", but what do I set "Server" , "Site name" , and Destination URL to?
Do I use my VM Deployment Name of Server?
You need to set up Webdeploy in the azure VM. it is same as an on-premises server.
Web Deploy Installation.. You need to install prerequisites - .net framework.
Configuring IIS 7 with webdeploy / Or with IIS8
Set up endpoints on azure vm to do webdeploy. Port 8172 for Webdeploy.
Then you can create a publish profile in Visual Studio 2012/13 to deploy to this endpoint. http://msdn.microsoft.com/en-us/library/dd465337(v=vs.110).aspx
or You can do it using Powershell scripts. sample- http://gallery.technet.microsoft.com/scriptcenter/Deploy-a-Web-App-to-Two-99f1a3bc
You need to setup web deploy on your VM:
Installing and Configuring Web Deploy on IIS 8.0 or Later.
Also yopu need to open TCP 8172 in Azure for your VM.
After doing this you can use Visual Studio to publish your app using Web Deploy option in wizard.
What are the steps for deploying the .Net Web Application on Linux & apache web server developed using .NET Framework using Visual Studio 2005?
Make sure you compiled/developed for .NET 2.0 (otherwise mono might complain)
Install mod_mono
Put the files on the linux server, they should run immedatly
See how slow it runs and buy a windows server
IMHO .NET Applications on Linux still have a long way to go until they are really useable.
We are trying to convert a lot of things at work over to Linux Red hat. Recently Windows Server 2003 was installed. We are currently hosting an asp .net web site on the windows server machine, what I'm wondering is if there is any software that will allow you to host the same web site on linux?
To a certain extent, yes. The Mono Project has support for ASP.NET 2.0 web sites.
You could consider running a windows virutal machine on a linux host using virtualization software like vmware. I don't know if this fits with what you're trying to do, but it is another option.