Solved

what is the best way?

Posted on 2008-10-27
4
195 Views
Last Modified: 2013-11-07
anybody have any expirence using web site with FileSystem?
what is the best approach IIS vs FileSystem (pros/cons)

note: please respond only if you know!
thanks.
0
Comment
Question by:nisarkhan
  • 2
4 Comments
 
LVL 37

Expert Comment

by:samtran0331
ID: 22815296
FileSystem is really only meant for development purposes and running the site through Visual Studio (and its internal "web server")...you cannot run an ASP.Net application (or any language web that has server code such as PHP or CFM) without using  real "web server" software such as IIS or Apache etc.
0
 
LVL 7

Author Comment

by:nisarkhan
ID: 22815525
what i'm trying to is to find out what is the best way IIS ? or FileSystem ? and i need to pros and cons of both.

we are ms development shop so we dont develop any-other language except MS.

we were using IIS but suddenly we shift to using FileSystem which i personally don't like to use and i need to come-up with a reason and i know few reason but i need more to make point.

thanks.
0
 
LVL 13

Expert Comment

by:TechTiger007
ID: 22816055
To run an web site you have to install it in IIS (or other web server)

"File system" option is introduced with asp.net 2.0 for development only. It works only with Visual Studio. It cannot be used as a web server for your site. So rule out this option.

It is always better to create and test your application in IIS since it is going to be served from IIS finally you will be able to catch some issues during your early development phases (like web.config settings etc)
0
 
LVL 37

Accepted Solution

by:
samtran0331 earned 500 total points
ID: 22816080
>>we are ms development shop so we dont develop any-other language except MS.

I was only trying to make the point that running a web site that has server code requires a web server.
It doesn't matter what language/platform.

Using filesystem to run a web site is *not* the same as running it in a "real" web server environment.

When you're running an app under filesystem, the security and permissions can be completely different than when it gets into IIS....

The two can't really even be compared to say that one is "best"....it would be like testing how a car performs in a closed indoor track where the road is consistent and smooth... as opposed to how the car performs driving across the country in open and changing weather and road conditions...

Filesystem is like the indoor track...it's not a realistic guage of how things are going to work in the real world.

Running the app in IIS will make it a little closer to the real world when the app is in production so you will be able to find issues/bugs faster because it is in a server-like environment.

However, if you have a test server in place...for example:
1. Developer develops and test using a filesystem app in VS.
2. Developer hands off application to be installed on an IIS web server.
3. QA debugs the app that is running on IIS.

Then, it's perfectly fine to use a filesystem as the developer.
If you as the developer are running the app in IIS, you will probably catch certain problems before QA gets a hold of it.
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How to reference objects of the calling class without passing them as parameters 29 176
daypilot scheduler 3 27
Deploying to Azure 3 29
Expression Evaluater 3 25
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question