projects: .net core 2.0
server: windows server 2012 r2, IIS 8.5
.net core web API is slow on each request, Similar issue :
https://github.com/aspnet/AspNetCoreModule/issues/87
But it is fast when running visual studio debug mode.
Update:
it looks like a bug on IIS 8.5 with .net core, but there is no production version of IIS 10.
So I deploy my .net core to Ubuntu 16.04, and it run well.
Related
we are thinking in upgrading our new projects to start using ASP .NET Core 2.2 but our windows server is constantly running and hosting a lot of applications that are running and being used.
My fear is that if I install .NET Core 2.2 hosting bundle it will reset my IIS and all applications will go offline. How can I install the 2.2 module without affecting all the other applications?
We have got below error when we are accessing our ASP.NEt WebForms applications which is hosted in IIS 7 but the MVC Application is working though:
c:\windows\system32\inetsrv> "C:\Windows\Microsoft.NET\Framework64\v4.0.30319\vbc.exe
we already tried restarting our server and changing app pool current user but still no good result.
Ok what we did is below from Microsoft:
Known issue for security updates 3098779 and 3097997 for the .NET Framework 4.5.1 and 4.5.2 after you install the .NET Framework 4.6 on Windows 8.1, Windows RT 8.1, and Windows Server 2012 R2
What we did is the solution 2 which is to remove KB3098779 and KB3097997 in the windows update in our windows 2012 server and everything's back to normal.
I'm considering using ASP.Net 5 for a new project, but I need to know what the minimum IIS version will be to host and run this application.
According to ASP.Net 5 Home on Github you need at least Windows 7 or Server 2008 R2 and .NET 4.5.1 for hosting in IIS.
Windows 7 and Server 2008 comes with IIS 7.5.
Also, refer to .NET Framework System Requirements
I have got MVC website. based on .NET Framework 4.5.
I am trying to deploy the website on IIS 6.0
Here are the steps I have taken
Application Pool:
I have created application pool: Company.Attendance.
NOTE: Nowhere it asked me which .NET Version I am using?
Website
a. Create new website.
b. Description: company.attendance
c. IpAddress: Server Ip Address
d. Port: 80
e. Host Header for the website: [I left blank]
f. Path: ../../Views/Home/ [All views are defined here]
g. Permissions: Read, Run, Execute, Write
h. In the website properties, under tab Home Directory I have selected the application pool created above
i. In Home Directory TAB, under Configuration.
j. I inserted aspnet_iapi.dll
When I try to browse the application. I get the following error: Page cannot be found.
Can one tell me detailed steps to deploy mvc application [.Net Framework 4.5] on IIS 6.0 [Windows Server 2003].
Regards
I am trying to deploy the website on IIS 6.0
You can't. .NET Framework 4.5 requires Windows Server 2008 at least as can be seen in the System Requirements page:
System requirements
Supported Operating System
Windows 7 Service Pack 1
Windows Server 2008 R2 SP1
Windows Server 2008 Service Pack 2
Windows Vista Service Pack 2
Windows Vista SP2 (x86 and x64)
Windows 7 SP1 (x86 and x64)
Windows Server 2008 R2 SP1 (x64)
Windows Server 2008 SP2 (x86 and x64)
Hardware Requirements:
1 GHz or faster processor
512 MB of RAM
850 MB of available hard disk space (x86)
2 GB hard drive (x64)
The latest .NET framework version you could install on Windows Server 2003 is .NET 4.0.
You need at least IIS 7.0.
Here are the requirements for .NET 4.5 framework:
http://msdn.microsoft.com/en-us/library/8z6watww%28v=vs.110%29.aspx
You're going to have to use .NET 4.0, which porting your project over shouldn't be too painstaking.
Take your project and change compatibility to 4.0 for framework.
Fix some of the errors, and EF errors you may get, and repush to the IIS 6.0 server.
You need to ensure all the runtimes are installed, and the app is running on the
.NET 4.0 pool.
IIS 6 is part of Windows Server 2003 (and technically XP 64-bit).
.Net 4.5 cannot be installed on Windows Server 2003, thus IIS is not supported.
I have an MVC3 application, and I want to upgrade to MVC4 after its RTM.
But I don't have the right to change the production server environment. It's a Windows Server 2008 R2 with IIS7.5 and .NET4 installed.
Is it possible to upgrade to MVC4 without changing framework version and IIS?
Yes you can deploy MVC 4 application on a server with IIS 7.5 and .Net 4