Home Backend Development C#.Net Tutorial How does IIS implement the method of deploying asp.net mvc website

How does IIS implement the method of deploying asp.net mvc website

Oct 14, 2017 am 10:01 AM
asp.net deploy

This article mainly introduces in detail the method of deploying asp.net mvc website with IIS. It has certain reference value. Interested friends can refer to

iis configuration of simple ASP.NET MVC website for your reference, the specific content is as follows

Compiler: VS 2013
Local IIS: IIS 7
Operating system: win 7
MVC version: ASP.NET MVC4
SQL server version: 2008 r2

Open VS 2013, create a new MVC project (Internet version), and then run the test locally, it should be OK. Then configure iis 7:

Look at the content under simple_mvc (if the configuration is not correct here, analyzer problems will occur!):

First configure the directory browsing:

Since it is an MVC project, we don’t need to configure the default document

Then we can browse it:

IIS configuration existing ASP.NET MVC project (proficient in projects in asp.net mvc 4)
This project is a SportStore website in <<Proficient in ASP.NET MVC4>>. First, you need to set up a sql server database locally.
Then let’s take a look at the structure of this project:

Three folders:

The first is related to the database, the second is the unit test module, and the third is the UI module. It should be noted here that when creating a new website in IIS, the physical path pointed to only needs to be the webUI folder in this project:

The rest are Same, the running result:

I successfully deployed it on my own server according to the steps of deploying on local IIS. Therefore, you can just follow this deployment. I I won’t give an example of deployment on the server, it’s the same.

The above is the detailed content of How does IIS implement the method of deploying asp.net mvc website. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

How to use Jenkins Pipeline to build a continuous packaging and deployment process for PHP programs? How to use Jenkins Pipeline to build a continuous packaging and deployment process for PHP programs? Jul 30, 2023 pm 07:41 PM

How to use Jenkins Pipeline to build a continuous packaging and deployment process for PHP programs?

How to deploy a trustworthy web interface on a Linux server? How to deploy a trustworthy web interface on a Linux server? Sep 09, 2023 pm 03:27 PM

How to deploy a trustworthy web interface on a Linux server?

Yolov10: Detailed explanation, deployment and application all in one place! Yolov10: Detailed explanation, deployment and application all in one place! Jun 07, 2024 pm 12:05 PM

Yolov10: Detailed explanation, deployment and application all in one place!

How to solve the problem of inaccessibility after Tomcat deploys war package How to solve the problem of inaccessibility after Tomcat deploys war package Jan 13, 2024 pm 12:07 PM

How to solve the problem of inaccessibility after Tomcat deploys war package

How to deploy web applications on Linux How to deploy web applications on Linux Jul 05, 2023 am 09:09 AM

How to deploy web applications on Linux

Gunicorn Deployment Guide for Flask Applications Gunicorn Deployment Guide for Flask Applications Jan 17, 2024 am 08:13 AM

Gunicorn Deployment Guide for Flask Applications

Best practices and common problem solutions for deploying web projects on Tomcat Best practices and common problem solutions for deploying web projects on Tomcat Dec 29, 2023 am 08:21 AM

Best practices and common problem solutions for deploying web projects on Tomcat

How to solve the problem of inaccessibility after Tomcat deploys war package How to solve the problem of inaccessibility after Tomcat deploys war package Jan 13, 2024 am 11:43 AM

How to solve the problem of inaccessibility after Tomcat deploys war package

See all articles