Consider more than 2 .net applications running in IIS Server, They may be running on either Targeted .NET framework Version (If It is available in Server Machine) or later .net Version. Is there any way to Get the .NET version of Each app running on the IIS Server in a single shot
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.
I start working on new Web App and still doing the research about the framework to pick. One of the requirements: the app will be deployed to IIS on Windows Server 2008 that has SSL3 certificate. Also the app will be deployed to newer Windows Server with TLS certificate. So the issue I'm facing is similar to this question.
Will .Net Core ASP.Net MVC support both SSL3 and TLS* or Should I go with standard .Net Framework?
If not, What version of .Net Framework to pick?
I could be wrong here, but SSL3 is very old and has succeeded by replaced by TLS 1.2.
If the server is running Windows Server 2008 R2 SP1 (release 2, service pack 1) or greater then I would recommending going with .NET Core.
However, if the server is Windows Server 2008 without R2 then you will need to use an older version of the .NET Framework say 4.6.1.
Before jumping in you should sit down with the decision makers point out that developing a solution on legacy infrastructure holds serious security and business risks.
I have developed an asp.net web application in Visual Studio 2008
with dotnet framework 2.
I hosted this application.
I tried to run this application on client machine(through browser)
which has windows 8, but my application failed to run.
Things i did to resolve the above issue:
On my client machine i installed dotnet framework 2.0, my application started
working.
But as this is not a genuine soltion as i cant install the framework on all the client machines.
Now, again I uninstalled the dotnet framework 2.0 from the same machine, the application
was still working fine(running through the browser)
If assume that some depandant files are not uninstalled by the Operating system itself.
Then i upgraded my application to framework 4.5. Still i found that application is not working
on windows 8.
So is there still some dependancy on framework 2.0?
do i need to add some additional dlls when i host the application so that it runs on
windows 8 without any dependancy on the system configuration?
Do i need to make any specific changes in the web.config?
Also note that, on the same client machine which as windows 8, i installed Visual Studio 2013,
have source code there, and when i run the same application through visual studio runtime,
my application runs just fine.
I have been playing around deploying my .NET Core application on several Operating Systems using self-contained and portable platforms.
As expected, this runs fine on Windows 8.1, Windows 10 and OSX.
I also have a 2008 Windows Server with IIS7 and this is causing a few issues. I have tried to run the self-contained executable but returns procedure entry point kernel32.dll error which apparently means that I have selected the wrong runtime in my project.json file.
Where can I get a list of compatible ASP.NET Core runtimes?
I believe portable .NET Core apps are NOT compatible with IIS7 as AspNetCoreModules requires IIS7.5, is this correct?
The article Publishing to IIS on ASP.NET Core docs says that Windows Server 2008 R2 is required.
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.