ASP.NET MVC 4 IIS 7 Intranet Deployment - asp.net-mvc-4

I can't believe I am having such a hard time getting information on this. It seems almost all MS documentation is about deploying to Azure or in an "enterprise environment" etc.
I have a simple ASP.NET MVC 4 application that I want to deploy to IIS 7 on a server on our intranet. How can I do this?

I'd highly recommend using MsDeploy. It pretty much can do just about anything you need to deploy a website application to an IIS Server.

Related

Is there any way that I can host .net core API's or .net core web APP on "on premises" server

I wanted to host my .net core API in Go Daddy Linux Server and also .net Core Web APP is there any possibility to do that. Also I have seen lots of tutorials to make that happen in Linux server which is for cloud but doesnt work the same scenario for any another on premises server.
If anyone have this experience or can only suggest that if there is possibility for hosting in the go daddy linux server it will be really helpful
It seems that you need to ask them whether they have support .net core on their Linux hosting package. I ever worked with them in the past 8 years ago, I didn't like their support, but I don't know now, maybe they improve better. If you want to use .net core on Linux, Digital Ocean can be good option. I also .net user here but I always use Windows to deploy my .net. From Classic ASP until newest .net core project, I always use Windows Server.

Asp.Net Core 3.0 API app requires restart frequently on IIS Windows Server 2016

I have hosted my Asp.Net Core API project on IIS on Windows Server 2016 and also installed hosting bundle for Asp.Net core apps on that; have to restart my application after few hours. Please help me to solve this.
What is the problem? Is there any error message? You need to be more specific on your issue.

How to run vNext web api on IIS7

i'm getting started with asp.net vNext and i've found something that i cant understand if is a limitation on the DNX or if is something still not fixed.
When i'm publishing a simple webapi, as simply as the the default VS2015C template, my IIS 7 says:
IIS 7.5 or higher is required.
Is there some workarround or is really a limitation?
According to the latest community standup, the HELIOS integration between IIS and asp.net 5 was stopped. Ongoing the only server provided by MS is kestrel. You have to start and integrate kestrel into IIS by reverse proxying it.
This is quite normal in the Unix world and the .net team had to reduce the maintenance effort here.
Answering your question: Considering the Announcement I think practical usage in an Windows Environment via HttpPlatformHandler is only possible IIS8+.
ASP.NET 5 never has and never will support IIS 7 (Windows Vista and Windows 2008 both have IIS 7 only); IIS 7.5 and higher is actually required to bootstrap the dnx. If you want to work with ASP.NET 5 you must be running a Windows 7 or higher client OS or a Windows 2008 R2 or higher server OS.

Does Microsoft Application Insights support MVC 6 (.Net 5)

I'm trying to setup a prototype with an mvc 6 project and application insights. When selecting to monitor an mvc 6 website in IIS 7, it says it is monitoring but no server statistics are being sent to Azure. When I monitor any other sites on that server it works correctly. So my question is, does application insights support .Net 5 and MVC 6 running in IIS?
In the website I have installed Application Insights using the snippet of javascript provided by Microsoft Application Insights. This is working correctly and sending data to Azure.
The website is on a local Windows 2012 server. I have installed the Application Insights Status Monitor on the server and I have it pointed to the mvc 6 website. This part is not working. When I point the Server Tool to a site on the local server running a .Net 4.5 website it does submit the data correctly to Azure.
I did not add the AI part via nuget package because I am not submitting any custom alerts to Applications Insight. Right now I am just looking to get the server statistics. IE Memory, Processor usage, etc.
Asp.net vnext is not currently supported. But there are plans to support it in the near future.
There is ongoing work visible on it in github: https://github.com/Microsoft/ApplicationInsights-aspnetv5

Web Server to Host my MVC4 Web Application

Hi i'm trying to host an mvc4 web application on a web server and it is not working. Do i need to install something in particular so that it works? And what type of web server is the best for this type of situation?
You will need:
IIS, preferably IIS 7+
.Net installed on the server
make sure the framework is set correctly
Take a look here
if you have all this set up, let us know the error you are seeing.
1)IIS 7.5
2) MVC4 and Framework 4.5 should be installed
3) Also check that in ApplicationPools you set framawork 4.0 for your site (default is 2.0)
It would be better if you show a certain error you receive.
See the following Question... How to deploy an MVC 4 application to a Windows Web Server based dedicated hosting?
It seems incredabily relevant to what you are asking.
Also for future reference read https://stackoverflow.com/questions/how-to-ask before asking questions