Visual studio feeds

All Visual Studio blogs in one place


Enter your email address:

Delivered by FeedBurner

Increase your website traffic with



Anti-spam: How many eyes has a typical person?

Follow us on FB


Using Classic ASP, PHP and WebForm Pages in ASP.NET MVC Views

AddThis Social Bookmark Button

          The ASP.NET MVC framework is becoming more and more popular every day. With ASP.NET MVC 3(or upcoming ASP.NET MVC 4), you can build rich modern web applications. If you are developing an application in ASP.NET MVC then sometimes you may need to include a Classic ASP, PHP or WebForm page inside your ASP.NET MVC view for various reasons. For example, you may need to reuse the functionalities of an existing page, you may need to quickly convert a page into ASP.NET MVC, you may need to use a feature which is not directly available in ASP.NET MVC, you may need interoperability between ASP.NET MVC and other frameworks/languages, etc. In this
walk through, I will show you the possible options for including Classic ASP, PHP or WebForm page inside a ASP.NET MVC view.        Description:             This article assumes that you have already setup the IIS for running Classic ASP and PHP pages. For demonstration purpose, let's create a sample ASP.NET MVC 3 application. Next, add a HomeController with a default Index action method and a Index view in this application. Next, add a Classic ASP page(MyClassicASPPage.asp) and add the following lines inside this page,   <% Dim message message = "This is a Classic ASP Page." Response.Write (message) %>               Next, add a PHP page(MyPHPPage.php) and add the...(Read whole news on source site)

Home : Blog List : Imran Baloch's Blog : Using Classic ASP, PHP and WebForm Pages in ASP.NET MVC Views