Create an account

Very important

  • To access the important data of the forums, you must be active in each forum and especially in the leaks and database leaks section, send data and after sending the data and activity, data and important content will be opened and visible for you.
  • You will only see chat messages from people who are at or below your level.
  • More than 500,000 database leaks and millions of account leaks are waiting for you, so access and view with more activity.
  • Many important data are inactive and inaccessible for you, so open them with activity. (This will be done automatically)


Thread Rating:
  • 618 Vote(s) - 3.51 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Design a CMS site using ASP.NET MVC 5

#1
I'm building a site which mainly has **articles** and I'm using **ASP.NET MVC 5** framework. I want to have an admin page where I can add, edit these article content.

I'm having a problem with designing the structure of this project.
I'm thinking of having a controller class called '`adminController`', where I handle all the requests related to content management.

Is that approach conceptually correct in **ASP.NET MVC**? Because If this was an ASP web forms project, I would simply have two different projects called Public and Admin in a single solution.

I'm quite new to ASP.NET MVC framework and I'd appreciate any help.
Reply

#2
You can do 2 separate projects and can do one.

Since **ASP.NET MVC 4** whe have `Areas` and i suggest you to use it if you want structure your project and separate admin logic from public.

[Here is a tutorial][1] that you can check that explain whar `areas` is and how you can work with them.


[1]:

[To see links please register here]

Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

©0Day  2016 - 2023 | All Rights Reserved.  Made with    for the community. Connected through