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
Over 2 million developers have joined DZone.
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

  • A Framework-Agnostic Approach to SSR for Microfrontends
  • TensorFlow vs PyTorch: The Real Difference Isn’t Accuracy
  • The Trust Surface: The Missing Complement to Attack Surface
  • This One Spring Data JPA Pattern Cleaned Up to 3 Years of Repository Debt

Deploying An ASP.Net MVC Web Application To IIS7

By 
Kevin Miller user avatar
Kevin Miller
·
Oct. 08, 08 · News
Likes (0)
Comment
Save
Tweet
Share
29.6K Views

Join the DZone community and get the full member experience.

Join For Free

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

The likes didn't load as expected. Please refresh the page and try again.

  • 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