简体   繁体   中英

How Can I Create a Custom Kentico Module from an Angular Application?

I have a requirement to build a custom Kentico Module for a client, but I don't want to use the clunky, built-in Kentico framework. There's a lot of things that Kentico does right, but custom modules are not (in my opinion) one of them.

I'd like to use an embedded Angular app, but I don't see any documentation to explain how.

There are really a lot of options to achieve what you need.

Kentico is ASP.NET web site or web app (depending on your particular installation), so you could implement web api end point(s) to serve UI or simply use Kentico REST API .

Also solution would be different is you just want to add it on the live site page, or substitute Kentico native user interface for modules.

Anyway you'll need to create module along with its classes through Kentico, save generated classes (Info and Provider) and the rest is up to you. Again this is just asp.net app and you're free to use any approach that works better for you.

At the end I personally like custom modules as they allow to build CRUD interface for class' family fairly easily and quickly as well as provides a lot of options for extension, but that's just my preference.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM