Build Application Asp Net Framework
in Application set My Area
in controller call function
public ActionResult Index()
{
return View();
}
after this operation see a message
Error.
An error occurred while processing your request.
Application tree
-------
part code from the controller
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Pi_HarvestAspNet_WebFramework.Models;
namespace Pi_HarvestAspNet_WebFramework.Areas.ClinicArea.Controllers
{
public class ClinicsController : Controller
{
public ClinicsController()
{
}
// GET: ClinicArea/Clinics
public ActionResult Index()
{
return View();
}
Index.cshtml
@{
Layout = null;
}
3 Replies
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Nilesh ShahPosted Nov 29, 2017, 11:20 AM
Boris TokPosted Nov 29, 2017, 4:29 AM
Ramesh PalanivelPosted Nov 29, 2017, 3:54 AM