
Starting a Visual Studio Project for a Sitefinity Application
Installing Nuget package to create a valid Sitefinity Application in Visual Studio
Building and Running your Nuget package based Sitefinity Application
Introduction to VSIX and CLI
Installing the CLI
Explore how a Sitefinity widget retrieves data via a model, connects to a controller, and renders with a resource syntax view, using action results like index.
The use of ControllerToolboxItem Attribute
Using the First Widget on a Page
Using a second widget on a page with HandleUnknownAction
Discover how Site Trinity widget designers automatically generate edit interfaces by reflecting public properties on the controller, saving and retrieving values without writing code.
Publish five properties in the widget controller and auto reflect them in the designer. See text, boolean, enum, and date fields, with automatic save and retrieval by Sitefinity.
Extend the index view by binding properties such as message, enum, and date number, displaying them in divs. Recompile cshtml when needed and publish to update the live page cache.
Demonstrates adding page, tag, and news selectors to designers by using a content-type attribute above a property declaration, enabling auto-populated selectors for pages, taxonomies, and news without extra UI.
Explore how Sitefinity Feather enables custom widget designers by creating your own designer view, overriding the automatic designer, and switching between simple HTML and advanced property editors.
Learn how to control widget priority and visibility in Sitefinity MVC by using per-view JSON files, setting priority and hidden flags, and conditionally exposing admin views.
Configure a json file for the widget designer with priority, hidden, and arrays for components and scripts, including fidelity provider, image selector, and video selector in the components array.
Angular persists public widget properties to the Sitefinity database via the properties collection, using ng-model bindings to energy model properties and JSON configuration.
Create a separate class library assembly for a Sitefinity MVC widget, drop the DLL into the bin folder for deployment across sites, and manage NuGet packages for .NET framework 4.8.
Upgrade a Sitefinity application from 14.17823 to 14.17824 by updating nuget packages, accepting licenses, overwriting changes, building, and performing the initial database upgrade.
Install and manage NuGet packages for the class library, matching Trinity Core and Feather Core versions, then link the My External Widget project so builds automatically include latest changes.
Use the Sitefinity CLI to generate a widget for a class library, create the MVC folders (controllers, models, views), and embed CSS and other resources as embedded resources.
Enable cshtml code completion in a class library by adding a web.config to feed the razor compiler, consolidating bin outputs, cleaning and building to reveal model properties.
Build and run a new Sitefinity MVC widget from a class library, compile and place it in bin, register it on the site, and edit via the widget designer.
Customize Sitefinity MVC widgets by changing the CSS class and SF MVC icon, inspect 50 by 30 pixel icons with dev tools, and re-register widgets via toolbox settings.
In addition to Sitefinity CMS built-in widgets, you can create new widgets from scratch and implement your own logic and customize widgets' built-in functionality. You also have the option of keeping the widgets in separate assemblies and deploy them independently of your project. You can then use your new widgets side by side with the built-in ones.
With Sitefinity CMS, you have the option to develop widgets in both the SitefinityWebApp project or in external assemblies. The underlying development concept is the same but the way you organize and manage your code differs between the two methods.
In this course you will learn the following:
Building a Sitefinity application from scratch using Nuget Packages in Visual Studio
Using the Sitefinity CLI to generate boiler plate code for Widgets
Understand the use of Controllers, Models and Views in the structure of a Sitefinity Widget
Learn about the Automatic Widget Designer in Sitefinity
Learn about the Property Attributes that facilitate the creation of complex UX in Widget Designers
Building Custom widget Designers and the use of Sitefinity Feather
Using JSON files to set the Priority, Visibility, Components and Scripts for a Designer
Using Angular to connect public properties to the Sitefinity database in Designers
Building Class Libraries to host external Sitefinity Widgets
Tips and tricks along the way to make Sitefinity MVC Widget Development fun and productive.