You must Sign In to post a response.
  • Category: ASP.Net MVC

    How to use Asp website in MVC ?

    Hi members,

    How to use Asp website in MVC ? This Mvc is used for printing the string. Razor engine working in MVC3. I want to run a website in MVC application. Please guide me.

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Web.Mvc;

    namespace MvcApplication2.Controllers
    {
    public class HomeController : Controller
    {
    //
    // GET: //

    public string Index()
    {
    return "This is ASP.Net MVC Filters Tutorial";
    }


    }
    }

    wds
    vramesh kumar
  • #769493
    Are you want to migrate your ASP.Net project into MVC ? Or you want to create the website in MVC ?
    If you want to create in MVC you just select the MVC option template while create the project and run the project with Controller with ActionName in url

    -----------------------------------------------------------------------------
    Regards,
    Gopi A.
    +91 9894315571
    Skype:gopi.net
    http://asaigopi-dotnet.blogspot.in/


  • Sign In to post your comments