Re: Is this possible with Routing

2009-02-12 Thread Daniel Pupek

We have the parenthisese now. With the old routing. Tried it without...no luck

On 2/12/09, Jimmy Shimizu jimmy.shim...@gmail.com wrote:
 why the parentheses?

 I assume your url is:

 /someGroupName/images/Banner800x600.png

 just skip the parentheses and it will work I believe.

 On 12 feb 2009, at 03:20, Daniel Pupek wrote:

 Ok, I have tested this and so far it doesn't seem to work but I
 wanted to see if anyone had a suggestion:

 new PatternRoute(/groupName/images/Banner(widthxheight).png)
.DefaultForArea().IsEmpty
.DefaultForAction().Is(Show)
.DefaultForController().Is(Images)

 I am trying to extract the height and width for the image.

 thanks,
 Dan


 Checkout my blog @ http://blog.agilejedi.com
 Checkout my homepage @ http://www.agilejedi.com

 


 


-- 
Sent from my mobile device



Checkout my blog @ http://blog.agilejedi.com
Checkout my homepage @ http://www.agilejedi.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Castle Project Users group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send email to 
castle-project-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~--~~~~--~~--~--~---



Re: Is this possible with Routing

2009-02-12 Thread Daniel Pupek

Just no match.

I use /groupname/images/banner(100x100).png



On 2/12/09, Jimmy Shimizu jimmy.shim...@gmail.com wrote:

 Well, try to explain what happens, no match? What url are you trying
 etc... exceptions?

 Daniel Pupek wrote:
 We have the parenthisese now. With the old routing. Tried it without...no
 luck

 On 2/12/09, Jimmy Shimizu jimmy.shim...@gmail.com wrote:

 why the parentheses?

 I assume your url is:

 /someGroupName/images/Banner800x600.png

 just skip the parentheses and it will work I believe.

 On 12 feb 2009, at 03:20, Daniel Pupek wrote:


 Ok, I have tested this and so far it doesn't seem to work but I
 wanted to see if anyone had a suggestion:

 new PatternRoute(/groupName/images/Banner(widthxheight).png)
.DefaultForArea().IsEmpty
.DefaultForAction().Is(Show)
.DefaultForController().Is(Images)

 I am trying to extract the height and width for the image.

 thanks,
 Dan


 Checkout my blog @ http://blog.agilejedi.com
 Checkout my homepage @ http://www.agilejedi.com






 


-- 
Sent from my mobile device



Checkout my blog @ http://blog.agilejedi.com
Checkout my homepage @ http://www.agilejedi.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Castle Project Users group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send email to 
castle-project-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~--~~~~--~~--~--~---



Re: Is this possible with Routing

2009-02-12 Thread Jimmy Shimizu

I'm not sure if the routing is case sensitive... but you have banner
in your url and Banner in your route.

Daniel Pupek wrote:
 Just no match.

 I use /groupname/images/banner(100x100).png



 On 2/12/09, Jimmy Shimizu jimmy.shim...@gmail.com wrote:
   
 Well, try to explain what happens, no match? What url are you trying
 etc... exceptions?

 Daniel Pupek wrote:
 
 We have the parenthisese now. With the old routing. Tried it without...no
 luck

 On 2/12/09, Jimmy Shimizu jimmy.shim...@gmail.com wrote:

   
 why the parentheses?

 I assume your url is:

 /someGroupName/images/Banner800x600.png

 just skip the parentheses and it will work I believe.

 On 12 feb 2009, at 03:20, Daniel Pupek wrote:


 
 Ok, I have tested this and so far it doesn't seem to work but I
 wanted to see if anyone had a suggestion:

 new PatternRoute(/groupName/images/Banner(widthxheight).png)
.DefaultForArea().IsEmpty
.DefaultForAction().Is(Show)
.DefaultForController().Is(Images)

 I am trying to extract the height and width for the image.

 thanks,
 Dan


 Checkout my blog @ http://blog.agilejedi.com
 Checkout my homepage @ http://www.agilejedi.com


   
   

   

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Castle Project Users group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send email to 
castle-project-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~--~~~~--~~--~--~---



Re: Is this possible with Routing

2009-02-11 Thread eyal

use this to extract image h and w

HttpPostedFile image

Bitmap sourceImage = new Bitmap(image.InputStream,
false);
int width = sourceImage.Width;
int height = sourceImage.Height;

On Feb 11, 6:20 pm, Daniel Pupek d...@agilejedi.com wrote:
 Ok, I have tested this and so far it doesn't seem to work but I wanted to
 see if anyone had a suggestion:

 new PatternRoute(/groupName/images/Banner(widthxheight).png)
                .DefaultForArea().IsEmpty
                .DefaultForAction().Is(Show)
                .DefaultForController().Is(Images)

 I am trying to extract the height and width for the image.

 thanks,
 Dan

 Checkout my blog @http://blog.agilejedi.com
 Checkout my homepage @http://www.agilejedi.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Castle Project Users group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send email to 
castle-project-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~--~~~~--~~--~--~---



Re: Is this possible with Routing

2009-02-11 Thread Jimmy Shimizu
why the parentheses?

I assume your url is:

/someGroupName/images/Banner800x600.png

just skip the parentheses and it will work I believe.

On 12 feb 2009, at 03:20, Daniel Pupek wrote:

 Ok, I have tested this and so far it doesn't seem to work but I  
 wanted to see if anyone had a suggestion:

 new PatternRoute(/groupName/images/Banner(widthxheight).png)
.DefaultForArea().IsEmpty
.DefaultForAction().Is(Show)
.DefaultForController().Is(Images)

 I am trying to extract the height and width for the image.

 thanks,
 Dan


 Checkout my blog @ http://blog.agilejedi.com
 Checkout my homepage @ http://www.agilejedi.com

 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
Castle Project Users group.
To post to this group, send email to castle-project-users@googlegroups.com
To unsubscribe from this group, send email to 
castle-project-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/castle-project-users?hl=en
-~--~~~~--~~--~--~---