DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Newsletter
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • The Cutting Edge of Web Application Development: What To Expect in 2024
  • The Ultimate Guide To Building Front-End Web Applications From Scratch
  • Generative AI Models: Boosting Merchandising Analytics User Experience
  • How To Create a Crud App in OutSystems — A Low Code Development Platform

Trending

  • Introducing senro: A Pipeline Engine You Program in Go
  • How Kestra Unifies Enterprise Workflow Orchestration and Agentic AI
  • Member Spotlight: Shai Almong
  • OwlVigil Open-Sources Its Go SDK for Enterprise AI

Draft This article hasn't been published, so readers can't see it.

In moderation This article is waiting for review, so readers can't see it yet.

Deleted This article has been deleted, so readers can't see it.

Deploying An ASP.Net MVC Web Application To IIS7

By 
Kevin Miller user avatar
Kevin Miller
·
Oct. 08, 08 · News
Post on X (opens in a new tab) Share on LinkedIn (opens in a new tab)
29.7K Views

Join the DZone community Save articles, join the discussion, and download Refcards and Trend Reports with a free account.

Join for free Already a member? Log in

The next installment in my exciting series where I capture what I know about deploying Dovetail Mobile Agent which could be boiled down to How To Be a Web Server Administrator in the year 2008. Moving from IIS6 this time we take a look at getting an ASP.Net MVC application deployed to IIS7. Thankfully this is pretty easy.

To try out this experience I created a Vista SP1 Enterprise virtual machine and added the IIS 7 windows feature. I know. I know. Most enterprise customers will want to use Windows 2008 as their favorite IIS7 platform, I had to use Vista because I use VMWare Server v1.x which supports Vista not Windows 2008.

Revenge of the Basics

Install the .Net 3.5 Framework.

Add the Internet Information Services Windows Feature To Vista. In Windows 2008 this process is very similar in cases you will need to make sure the .NET Extensibility, ASP.NET, ISAPI Extensions, and ISAPI Filters features are added.

  • Open the Control Panel and type “Feature” in the search window. Look for something like “Turn Windows Features On or Off”
  • Make sure the appropriate Application Development Features are enabled.
[img_assist|nid=5380|title=|desc=|link=none|align=none|width=431|height=612]

Copy web application files to a directory on your web server.

Create a Web Application pointing to this directory.

Dovetail Mobile Centric Configuration

For Dovetail applications like Dovetail Mobile Agent that use the Dovetail SDK we recommend that you give the web application a dedicated Application Pool.

[img_assist|nid=5381|title=|desc=|link=none|align=none|width=320|height=287]

The Application Pool should be configured to use the .NET 2.0 Framework in Integrated pipeline mode.

[img_assist|nid=5382|title=|desc=|link=none|align=none|width=536|height=370]

You will also need to edit the web application configuration file named web.config :

  • To contain the desired database connection information.
  • The URL to the Dovetail Seeker search web service.

Test out your Web Application

Just making sure everything works...

[img_assist|nid=5383|title=|desc=|link=none|align=none|width=331|height=484]

mobile app Web application Web Service ASP.NET MVC

Published at DZone with permission of Kevin Miller. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • The Cutting Edge of Web Application Development: What To Expect in 2024
  • The Ultimate Guide To Building Front-End Web Applications From Scratch
  • Generative AI Models: Boosting Merchandising Analytics User Experience
  • How To Create a Crud App in OutSystems — A Low Code Development Platform

Partner Resources

×

Comments

Likes

Loading

The next likes didn't load. Please try again.

The likes didn't load

Please try again in a moment.

See who liked this

Log in or join DZone for free to see who liked this article.

Log in Join for free
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook