Is it possible to host an ASPX web site on Linux? - asp.net

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.

Related

Can I host a .Net Framework asp.net Website on Synology NAS

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.

Hosting an asp.net website in a windows 10 virtual machine

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.

System requirements for using ASP.NET

I consider to use ASP.NET for developing a real-time appication that will be shown on a browser (IE, FF, Chrome etc.).
I'm wondering what are the system requirements for the server side where the application will be deployed?
Do I have to use IIS or I'm free to choose any web server I want? If IIS only - does it part of any Windows installation (so users do not have to pay extra charge for that?)
Do I have to install .NET Framework?
anything else?
Thank you!
You don't have to use IIS, you could use Apache, nginx, or xsp, but doing so means you have to use mono which is an open source version of the .NET framework, it's a couple of versions behind the real thing, you can find out more info here: http://www.mono-project.com/ASP.NET
If you choose to use Windows/IIS, then IIS is a feature of Windows that can be installed free of charge. You will need to install the .NET framework in order to host an ASP.NET web application, like IIS, the .NET framework and ASP.NET are features of Windows Server 2008 and above that can be installed/uninstalled whenever you like, for free.

Setting up an ASP.NET MVC development enviornment with software from Dream Spark

I need help figuring out what programs I need to setup a development enviornemnt on my new Windows 7 laptop. I have a LAMP background and I have only used ASP.NET once. The first time using ASP.NET I installed all the nessassary software along with Visual Studio Express with one click from asp.net.
This time around I qualify for free software from Dream Spark. I'm not sure what programs I need to download in order to get eveything up and running correctly.
These are the programs I think I need and are available from Dream Spark:
Visual Studio 2010 Professional
Windows Server 2008R2 Standard
SQL Server 2008R2 Developer
I have a few questions:
Would this be correct?
Am I missing anything?
Should I use the Windows Server 2008R2 Standard in this way or should I save this key for use in a production enviornment?
PS: Main effort here is to get more aquainted with ASP.NET programming web applications but I would also like to dabble in Windows desktop application programming.
no, Windows Server 2008R2 Standard is not compulsory to install to use Visual Studio 2010 Professional & SQL Server 2008R2 Developer,
you can install both in any os ( windows 7 too ).

Installer App Asp.net 4.0 Cassini SQL Express

We have built an ASP.NET application in 4.0 (we can change it to 3.5 if necessary) with a SQL Server database.
I am looking to create an installation package (exe or msi) so that I can provide this file to my clients and they can install it on all of their laptops. This asp.net application will be running on laptops that don't have access to the internet.
Some of these laptops have XP Home, Win 7 Home, and other windows operating systems and not all of them have IIS installed. Is there some sort of simple application that I can use to create an Installer application where it will install IIS or some other web server, SQL Express, and .NET framework 4.0. If these applications are installed already, then it shouldn't install it. Any suggestions?
Thanks!
You could accomplish this using a Setup Project in Visual Studio.
I know about Web Deployment Packages. See if that helps in some way.
Check this extensive list of useful links:
Overview Post for Web Deployment in VS 2010
My company (Comet Way) makes a product that is designed for this: http://www.neokernel.com. Our customers use it when they need to access web databases offline on laptops. It's an assembly that you can distribute with your product without requiring a separate install, it works on any machine with .NET (or Mono), and it implements a full featured secure web server that runs any website that IIS will run.
Hope this helps,
Damien

Resources