473,499 Members | 1,609 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What is the version of the Integrated Server (VS Studio 2008 SP1)

Hi,

I'm looking for URL Routing or URL Rewriting solutions...
I've read someplaces that using IIS7 can easy the usage of those tools.

I'm developing locally, does anyone knows if the VS integrated servers are
IIS7 based or anything?
If I modify the webServer portion of the web.config, will the intergrated
server take those configs into account?

I'm using Visual Studio 2K8 SP1 (version Pro at work, version Express at
home)

Thanks!
Oct 14 '08 #1
10 983
With VS2008 SP1 (or .NET 3.5 SP1) there is are routing bits included, which
you can include in your project. You can use this without MVC (which is
where it was incubated), but you have to have fairly strict set up for your
page to avoid having to create tons of routing rules.

I have not dinked enough with IIS 7 to see if there is anything built in,
but I don't remember anything declarative that automagically routes or URL
rewrites.

With .NET, in general, you can create an HTTP Handler to intercept the call
from a user friendly url to your page(s). It requires a bit of programming
to do it.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"Mike Gleason jr Couturier" <no****@invalidhost.comwrote in message
news:e3**************@TK2MSFTNGP03.phx.gbl...
Hi,

I'm looking for URL Routing or URL Rewriting solutions...
I've read someplaces that using IIS7 can easy the usage of those tools.

I'm developing locally, does anyone knows if the VS integrated servers are
IIS7 based or anything?
If I modify the webServer portion of the web.config, will the intergrated
server take those configs into account?

I'm using Visual Studio 2K8 SP1 (version Pro at work, version Express at
home)

Thanks!
Oct 14 '08 #2
iis 7.0 support .net native filters, so they work with any content type.

the vs2008 dev webserver is not iis 7.0 compatiable. if you want to do iis
7.0 developent your dev box must have iis 7.0 installed (vista or
server2008). then you just configure vs2008 to use iis rather than the dev
webserver.

-- bruce (sqlwork.com)
"Cowboy (Gregory A. Beamer)" wrote:
With VS2008 SP1 (or .NET 3.5 SP1) there is are routing bits included, which
you can include in your project. You can use this without MVC (which is
where it was incubated), but you have to have fairly strict set up for your
page to avoid having to create tons of routing rules.

I have not dinked enough with IIS 7 to see if there is anything built in,
but I don't remember anything declarative that automagically routes or URL
rewrites.

With .NET, in general, you can create an HTTP Handler to intercept the call
from a user friendly url to your page(s). It requires a bit of programming
to do it.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"Mike Gleason jr Couturier" <no****@invalidhost.comwrote in message
news:e3**************@TK2MSFTNGP03.phx.gbl...
Hi,

I'm looking for URL Routing or URL Rewriting solutions...
I've read someplaces that using IIS7 can easy the usage of those tools.

I'm developing locally, does anyone knows if the VS integrated servers are
IIS7 based or anything?
If I modify the webServer portion of the web.config, will the intergrated
server take those configs into account?

I'm using Visual Studio 2K8 SP1 (version Pro at work, version Express at
home)

Thanks!

Oct 14 '08 #3
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMa écrit
dans le message de news: O5**************@TK2MSFTNGP04.phx.gbl...
With VS2008 SP1 (or .NET 3.5 SP1) there is are routing bits included,
which you can include in your project. You can use this without MVC (which
is where it was incubated), but you have to have fairly strict set up for
your page to avoid having to create tons of routing rules.
Yes I followed a tutorial on Chris Cavanagh's blog
(http://chriscavanagh.wordpress.com/2...url-rewriting/)
and I can't get it to work on VS Studio 2K8 (both Express and Pro).

The Routing handler never gets called to handle the request...
If I'm downloading his solution, I'm able to run it with VS 2K5 though.. but
he's linking System.Web.Routing manually with a downloaded DLL.

I'm really confused... I want to use URL routing!
I have not dinked enough with IIS 7 to see if there is anything built in,
but I don't remember anything declarative that automagically routes or URL
rewrites.
I've read that hand made URL Rewriters inside .NET apps can only work on
..aspx extensions. If you want to handle anything else you can't. With IIS7
it seems you can pipe your handle through the IIS handling chain... (I read
something like that!)

With .NET, in general, you can create an HTTP Handler to intercept the
call from a user friendly url to your page(s). It requires a bit of
programming to do it.
Yes that's why I want to use the elegant URL Routing mechanism!
>
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA
Thanks!
Oct 14 '08 #4
The built in server is not IIS by any means. ;-)

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"bruce barker" <br*********@discussions.microsoft.comwrote in message
news:4B**********************************@microsof t.com...
iis 7.0 support .net native filters, so they work with any content type.

the vs2008 dev webserver is not iis 7.0 compatiable. if you want to do iis
7.0 developent your dev box must have iis 7.0 installed (vista or
server2008). then you just configure vs2008 to use iis rather than the dev
webserver.

-- bruce (sqlwork.com)
"Cowboy (Gregory A. Beamer)" wrote:
>With VS2008 SP1 (or .NET 3.5 SP1) there is are routing bits included,
which
you can include in your project. You can use this without MVC (which is
where it was incubated), but you have to have fairly strict set up for
your
page to avoid having to create tons of routing rules.

I have not dinked enough with IIS 7 to see if there is anything built in,
but I don't remember anything declarative that automagically routes or
URL
rewrites.

With .NET, in general, you can create an HTTP Handler to intercept the
call
from a user friendly url to your page(s). It requires a bit of
programming
to do it.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"Mike Gleason jr Couturier" <no****@invalidhost.comwrote in message
news:e3**************@TK2MSFTNGP03.phx.gbl...
Hi,

I'm looking for URL Routing or URL Rewriting solutions...
I've read someplaces that using IIS7 can easy the usage of those tools.

I'm developing locally, does anyone knows if the VS integrated servers
are
IIS7 based or anything?
If I modify the webServer portion of the web.config, will the
intergrated
server take those configs into account?

I'm using Visual Studio 2K8 SP1 (version Pro at work, version Express
at
home)

Thanks!

Oct 14 '08 #5

"Mike Gleason jr Couturier" <no****@invalidhost.comwrote in message
news:uv*************@TK2MSFTNGP06.phx.gbl...
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMa écrit
dans le message de news: O5**************@TK2MSFTNGP04.phx.gbl...
....
I've read that hand made URL Rewriters inside .NET apps can only work on
.aspx extensions. If you want to handle anything else you can't. With IIS7
it seems you can pipe your handle through the IIS handling chain... (I
read something like that!)
native .NET url rewriters can rewrite anything that makes it into the
asp.net pipeline.
You can have IIS selectively pass on any requests to your site ( .aspx .htm
..html .css .js .jpg .gif ...you name it ) to asp.net by setting up the
proper application mappings in IIS.

Oct 14 '08 #6
You are trying to get around the need to write an ISAPI filter?

I would look at Bruce's answer, as he might be on to something. I know they
extended IIS for PHP, which might use something similar to what you are
looking for. It is out of my league for the moment. Good luck!

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://feeds.feedburner.com/GregoryBeamer#

or just read it:
http://feeds.feedburner.com/GregoryBeamer

********************************************
| Think outside the box! |
********************************************
"Mike Gleason jr Couturier" <no****@invalidhost.comwrote in message
news:uv*************@TK2MSFTNGP06.phx.gbl...
"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMa écrit
dans le message de news: O5**************@TK2MSFTNGP04.phx.gbl...
>With VS2008 SP1 (or .NET 3.5 SP1) there is are routing bits included,
which you can include in your project. You can use this without MVC
(which is where it was incubated), but you have to have fairly strict set
up for your page to avoid having to create tons of routing rules.
Yes I followed a tutorial on Chris Cavanagh's blog
(http://chriscavanagh.wordpress.com/2...url-rewriting/)
and I can't get it to work on VS Studio 2K8 (both Express and Pro).

The Routing handler never gets called to handle the request...
If I'm downloading his solution, I'm able to run it with VS 2K5 though..
but he's linking System.Web.Routing manually with a downloaded DLL.

I'm really confused... I want to use URL routing!
>I have not dinked enough with IIS 7 to see if there is anything built in,
but I don't remember anything declarative that automagically routes or
URL rewrites.
I've read that hand made URL Rewriters inside .NET apps can only work on
.aspx extensions. If you want to handle anything else you can't. With IIS7
it seems you can pipe your handle through the IIS handling chain... (I
read something like that!)

>With .NET, in general, you can create an HTTP Handler to intercept the
call from a user friendly url to your page(s). It requires a bit of
programming to do it.
Yes that's why I want to use the elegant URL Routing mechanism!
>>
--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Thanks!
Oct 14 '08 #7

"gerry" <ge***@newsgroup.nospama écrit dans le message de news:
%2****************@TK2MSFTNGP05.phx.gbl...
>
"Mike Gleason jr Couturier" <no****@invalidhost.comwrote in message
news:uv*************@TK2MSFTNGP06.phx.gbl...
>"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMa écrit
dans le message de news: O5**************@TK2MSFTNGP04.phx.gbl...
...
>I've read that hand made URL Rewriters inside .NET apps can only work on
.aspx extensions. If you want to handle anything else you can't. With
IIS7 it seems you can pipe your handle through the IIS handling chain...
(I read something like that!)

native .NET url rewriters can rewrite anything that makes it into the
asp.net pipeline.
You can have IIS selectively pass on any requests to your site ( .aspx
.htm .html .css .js .jpg .gif ...you name it ) to asp.net by setting up
the proper application mappings in IIS.
Ok cool...

I don't want to touch the IIS configuration to stay "web server
independent", so I guess I must use a .NET application handler... I'll
re-try to make work the URL Routing handler explained in the previous
link...

Too bad I couldn't make it work before, after following the instructions 3
times!!

Thanks guys


Oct 14 '08 #8
Yes I followed a tutorial on Chris Cavanagh's blog
(http://chriscavanagh.wordpress.com/2...url-rewriting/)
and I can't get it to work on VS Studio 2K8 (both Express and Pro).

Wow I found why it did not work....

The directory where my website is, had a "." in it!!

I removed the dot and the URL Routing is working... wow

Thanks anyone
Oct 14 '08 #9
to map images to asp.net will require iis reconfiguratuion. you will
need to update the mapping in virtual directory. you will also pay a
performnace hit for asp.net serving static pages.

-- bruce (sqlwork.com)

Mike Gleason jr Couturier wrote:
"gerry" <ge***@newsgroup.nospama écrit dans le message de news:
%2****************@TK2MSFTNGP05.phx.gbl...
>"Mike Gleason jr Couturier" <no****@invalidhost.comwrote in message
news:uv*************@TK2MSFTNGP06.phx.gbl...
>>"Cowboy (Gregory A. Beamer)" <No************@comcast.netNoSpamMa écrit
dans le message de news: O5**************@TK2MSFTNGP04.phx.gbl...
...
>>I've read that hand made URL Rewriters inside .NET apps can only work on
.aspx extensions. If you want to handle anything else you can't. With
IIS7 it seems you can pipe your handle through the IIS handling chain...
(I read something like that!)
native .NET url rewriters can rewrite anything that makes it into the
asp.net pipeline.
You can have IIS selectively pass on any requests to your site ( .aspx
.htm .html .css .js .jpg .gif ...you name it ) to asp.net by setting up
the proper application mappings in IIS.

Ok cool...

I don't want to touch the IIS configuration to stay "web server
independent", so I guess I must use a .NET application handler... I'll
re-try to make work the URL Routing handler explained in the previous
link...

Too bad I couldn't make it work before, after following the instructions 3
times!!

Thanks guys

Oct 15 '08 #10
note: to use this feature .net 3.5 sp1 must be installed on the iis
server. you iis will also have to setup to allow module/handler
replacement in the web.config (turned off by default on iis 7.0)

-- bruce (sqlwork.com)
Mike Gleason jr Couturier wrote:
>Yes I followed a tutorial on Chris Cavanagh's blog
(http://chriscavanagh.wordpress.com/2...url-rewriting/)
and I can't get it to work on VS Studio 2K8 (both Express and Pro).


Wow I found why it did not work....

The directory where my website is, had a "." in it!!

I removed the dot and the URL Routing is working... wow

Thanks anyone

Oct 15 '08 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
1341
by: Tom | last post by:
Hi all, i just wanted to ask how i could find out what version of .net i have installed on my computer. I just purchased a laptop off a firend and he already has it installed. thx
0
1757
by: fiona | last post by:
Reading, Berkshire, UK 05 June 2007 - Crainiate Software make details available of the release of Objecto Framework 2.0, an upgrade to their enterprise business component framework, designed to...
2
3980
by: Nikolay Belyh | last post by:
1. Why does Visual Studio 2008 started ignoring //{NO_DEPENDENCIES} in resource.h? If I edit file "resource.h" _manually_, it rebuilds the whole solution. It worked just fine with Visual Studio...
0
2904
by: Fakher Halim | last post by:
Does someone know any place to get working examples of inherence implemented in Entity Framework using Visual Studio 2008 SP1. I could only implement just one table per hierarchy (...
4
12671
by: =?Utf-8?B?TWlrZSBHYWxl?= | last post by:
VS 2008 initially didn't debug classic ASP. SP1 fixes this in some ways. You can debug if you select the debug option to "Start Without Debugging, then either attach the debugger manually or...
0
863
by: =?iso-8859-1?B?S2VyZW0gR/xtcvxrY/w=?= | last post by:
Hi, available for download in different languages: http://www.microsoft.com/downloads/details.aspx?FamilyID=7bbe5eda-5062-4ebb-83c7-d3c5ff92a373 Regards
5
5295
by: CAM | last post by:
Hello, I am using SQL Server Express 2008 for my database and Visual Studios 2008 - Visual Basic.Net for my forms. I Gone into VS 2008 and specify the source of data using the Data Sources...
2
5529
by: blogman | last post by:
I am getting a Visual studio 2008 IDE application R6034 runtime error. This means that the IDE application is raising the error not the application I am building. This means that Microsoft did not...
0
7180
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7229
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6905
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4921
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4609
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3108
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3103
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1429
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
667
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.