Solved

what is the best way?

Posted on 2008-10-27
4
193 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

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…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now