Creating MVC Application with Visual Studio 2013

Kalin Penchev asked on December 2, 2015 09:35

Hello,

I'm very new in kentico and I'm following this help in order to create a new Visual Studio ASP.NET MVC project from scratch. The problem is that I'm not able to access the admin page (ex: http://localhost:58248/Admin/ or http://localhost:58248/Admin/cmsadministration.aspx), obviously because there is no such page. The installed example "Dancing Goat" has the administration page, because it contains Admin\CMSAdministration.aspx.

So either the tutorial is not well formulated or I missed something important. My impression is that every site has its own admin part, which is accessed via "/Admin/cmsadministration.aspx"

Thanks in advance,

Recent Answers


Brenden Kehren answered on December 2, 2015 13:57

The address http://localhost:58248/Admin is different for everyone. The port at the end 58248 varies by what is setup in Visual Studio. The port is added when you debug through Visual Studio. If you want to run it differently, set the site up in your local version of IIS. Then you can simply access it via http://localhost

0 votesVote for this answer Mark as a Correct answer

Roman Hutnyk answered on December 2, 2015 14:56 (last edited on December 2, 2015 14:59)

Kalin,

It seems that http://localhost:58248/ is URL of your MVC app - yes, there is no Admin page and this is correct. MVS is only a front end for whatever you have in Kentico.

You have to install Kentico CMS first. This will provide you with Admin interface. There you should create new site using MVC Blank Template. At this point you'll get database along with appropriate structure, and backend (Admin) for your application.

Only after this you are good to start building your MVC application. Make sure to connect it to Kentico database.

Hope this helps.

0 votesVote for this answer Mark as a Correct answer

Johirul Islam answered on August 23, 2016 18:05

Hi I am going to develop a website with Kentico 9 MVC document and the Video Document. I have some issue can any one help me what is wrong. My domain is cd.localhost. Same problem I cannot login into admin page.

After develop the MVC how do i implement into site. Like i upload the view file and dll file into web root folder but cannot see the content. Any document any tips for me.

Thank you Johirul

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.