Activities of "enisn"

That document is about replacing provider for existing projects. If you follow that document properly, your project will work without any problem. Also you may prefer to create a project with requested provider instead of replacing it after creation.

You can use --dbms <db-provider> parameter while creating a new project in CLI.

For example, creating project with MySQL will be like example below.

abp new BookStore --dbms mysql

It'll create a new project with MySQL provider, so you don't need to add or remove anything from your project.

Firstly I'm sorry about my first mismatching answer to you. It has been posted by a mistake to this thread.


I am going to call api of different modules, and I saw there is RequestVerificationToken on swagger API, like /api/file-management/file-descriptor/content API

If you send requests via using client proxies, you don't need to get any of token manually. Client proxy handles them.

I find that when I login to admin account, token is valid but
When I logoff, token is invalid that cannot get response.

If your endpoint requires authentication, you won't be able to access that endpoint when you logged out.

Can you share more info about which endpoint you are trying to access with token?

Hi @jjlbj

It's not related with ABP. You can do it configuring Serilog like below: https://stackoverflow.com/a/28334074/7200126

Hi @LawrenceKwan

It's not related with ABP. You can do it configuring Serilog like below: https://stackoverflow.com/a/28334074/7200126

This is an unexpected behavior in the modal.

It's a bug and we'll work on. Thanks for your feedback @krushnakant

Hi,

Have tried to configure your web.config like following topic: https://stackoverflow.com/a/44473484/7200126

Answer

Hi, I investigated your situation, It's a unexpected behavior. We'll change that behavior, if there is no item to show, that menu won't be visible.

Also your credit is refunded

You have to create into your project Pages/Public/CmsKit/Pages/Index.cshtml.cs and Pages/Public/CmsKit/Pages/Index.cshtml with content which I presented

If I do have the cmsKit module source code, can I do it? If yes, I have created the class and page but the model is missing, MyIndexModel. What's Next?

I've just write it as MyIndexModel as a sample. You can name it whatever you want. And don't miss to add 'using' namespace of that model.

For the second question, yes you can directly make changes in source code of cmskit.

You have to create into your project Pages/Public/CmsKit/Pages/Index.cshtml.cs and Pages/Public/CmsKit/Pages/Index.cshtml with content which I presented

Hello @LawrenceKwan

You can learn more about customizing pages with following documentation: https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface


You can place following page into your project to replacement

Create following class into exact path under your Web project:

  • Pages/Public/CmsKit/Pages/Index.cshtml.cs
 public class MyIndexModel : CommonPageModel
{
    [BindProperty(SupportsGet = true)] 
    public string Slug { get; set; }

    protected IPagePublicAppService PagePublicAppService { get; }

    public PageDto Page { get; set; }

    public string YourParameter { get; set; }

    public IndexModel(IPagePublicAppService pagePublicAppService)
    {
        PagePublicAppService = pagePublicAppService;
    }

    public async Task<IActionResult> OnGetAsync()
    {
        Page = await PagePublicAppService.FindBySlugAsync(Slug);

        YourParameter = "Some result from request";
        
        if (Page == null)
        {
            return NotFound();
        }

        return Page();
    }
}

Then add following page into exact path under your Web project:

  • Pages/Public/CmsKit/Pages/Index.cshtml
@page
@using Microsoft.AspNetCore.Mvc.Localization
@using Volo.CmsKit.Localization
@using Volo.CmsKit.Public.Web.Pages.CmsKit.Shared.Components.Pages

@* ** Don't forget to Update Model from here: ** *@
@model MyIndexModel

@inject IHtmlLocalizer<CmsKitResource> L

@section styles{
    
    <abp-style src="/Pages/Public/CmsKit/Pages/index.css" />

    <style>
        @Html.Raw(Model.Page.Style)
    </style>
}

@section scripts{
    <script>
        @Html.Raw(Model.Page.Script)
    </script>
}

@* ** You can render anything before or after page content ** *@
<h1>@Model.YourParameter</h1>

@await Component.InvokeAsync(typeof(DefaultPageViewComponent),
    new
    {
        pageId = Model.Page.Id,
        title = Model.Page.Title,
        content = Model.Page.Content
    })
Showing 751 to 760 of 823 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.