Is it possible to develop a website in ASP.NET with C# as the coding Language and MySQL as the database and then deploy the same on Linux server?
I am talking about a full frontal website like forums or discussion board.
Thanks.
ASP.NET can run on both Windows servers and Linux servers. So, don&'t feel confined to a Windows host, although Windows hosting services will be optimized for ASP.NET websites and applications. Your host will need an SQL server database, such as MySQL, to be able to host applications built using ASP.NET.
NET works well on their Linux distributions. Support is provided by those distributions. You can still open issues at dotnet/core if you run into problems.
Copy the ASP.NET Core app to the server using a tool that integrates into the organization's workflow (for example, SCP, SFTP). It's common to locate web apps under the vardirectory (for example, var/www/helloapp).
Running & deploying ASP.NET Core applications on Linux machines (Ubuntu Linux on Amazon EC2 VM using Apache server reverse proxy). I am writing this article as a result of my learning for deploying ASP.NET Core web applications on Linux boxes. There is a lot of information available on writing these apps, scattered all around the web.
In a browser, navigate to http://<serveraddress>:<port>to verify the app works on Linux locally. Configure a reverse proxy server A reverse proxy is a common setup for serving dynamic web apps. A reverse proxy terminates the HTTP request and forwards it to the ASP.NET Core app. Use a reverse proxy server
Java web applications (.jsp and servlets) can run on many server platforms. Question: Will a .NET web application be able to run in a Linux based server? Considering the scenario of not being able to use a Windows server for hosting a web app.
It's possible using Mono. Please have a look on the Homepage for further details.
You could always try Mono's implementation of ASP.NET and C#. Personally I've had no issues with it but I haven't tried doing something that complex but from my experience it's pretty close to the standard .NET C#.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With