MVC Facebook application - dual template
Maybe this is a stupid question and I did not understand exactly how Facebook applications work but here it goes

I want to implement a small e-shop as a Facebook application and for the products to have like button. The application will be instaled on a business page. 

The problem is that the link for the like post on the wall will be to the actual eshop not to the facebook application on the business page.(or is it possible to make it to the application (eg. when you click the browser goes to the business page, selects the eshop tab, opens the product)?)

So actually I need to make a eshop site with 2 templates one for outside view and one for IFrame facebook view.

Is it possible to detect (from code-behind not in javascript) If the request is from the iframe or directly from outside?

Or the solution is more simple.. create a small version of the shop for browsing products only to be viewed in facebook and a full shop for outside view and the only relation between them is that when you click the like post from the first one you go to the second one?
MVC Facebook application - dual template
===

Maybe this is a stupid question and I did not understand exactly how Facebook applications work but here it goes

I want to implement a small e-shop as a Facebook application and for the products to have like button. The application will be instaled on a business page. 

The problem is that the link for the like post on the wall will be to the actual eshop not to the facebook application on the business page.(or is it possible to make it to the application (eg. when you click the browser goes to the business page, selects the eshop tab, opens the product)?)

So actually I need to make a eshop site with 2 templates one for outside view and one for IFrame facebook view.

Is it possible to detect (from code-behind not in javascript) If the request is from the iframe or directly from outside?

Or the solution is more simple.. create a small version of the shop for browsing products only to be viewed in facebook and a full shop for outside view and the only relation between them is that when you click the like post from the first one you go to the second one?