Asp.net MVC cms,将页面添加到cms [英] Asp.net MVC cms , add pages to cms

查看:62
本文介绍了Asp.net MVC cms,将页面添加到cms的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

So i have i questions , i saw this course https://www.udemy.com/aspnet-mvc-5-project-cms-and-shopping-cart-with-paypal/ , at the 4th minute of the video it shows how to add pages dynamically to CMS ,ofc in the admin panel or by admin role ,  can you provide me any source code / tutorial / help how can i achieve that ?!

I am building a simple cms in asp.net mvc5 , so i finished the News Part , Now i am working with PageConfig Controller , and this is the PageConfig Class :


//------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated from a template.
//
//     Manual changes to this file may cause unexpected behavior in your application.
//     Manual changes to this file will be overwritten if the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
 
namespace CMSFC.Models
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.Web.Mvc;
 
    [Bind(Exclude = "Id")]
    public partial class PageConfig
    {
 
        [ScaffoldColumn(false)]
        public int Id { get; set; }
        public string PageId { get; set; }
        public string Control { get; set; }
        public string Content { get; set; }
        public string Placeholder { get; set; }
        public Nullable<int> NrOfRecords { get; set; }
    }
}




I would be very thankful for any help.

Regards.





我的尝试:



我刚刚描述了上面的问题。



What I have tried:

I just described the question above.

推荐答案

在这个课程上提出这个问题,Udemy让学生向他们提问各自的教师 - 这就是你付钱的原因。问问题,他们必须回复,因为他们已经付了这么多。



你没有付钱给我们,那个课程也没有在CodeProject上,这是为什么这个问题偏离主题。对不起。



如何使用Q& A - Udemy [ ^ ]
Ask this question on that course, Udemy offers students to ask questions to their respective instructors — that is why you are paying them. Ask the question and they must respond, because they have been paid to do so.

You did not pay us, and that course was also not on CodeProject, which is why this question is off-topic. Sorry.

How to Use the Q&A – Udemy[^]


这篇关于Asp.net MVC cms,将页面添加到cms的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆