Академический Документы
Профессиональный Документы
Культура Документы
Nomenclature
Backend overview
Content Overview
Layout Overview
Create a new page, new Template
Thunder Overview
Making a User Control and registering it using Thunder
Using User Control in Page
Standard and Fluent API overview
Registering UC from Backend
Creating a new designer for a UC
Using MVC to access a lists created in backend
CReating a module and adding items using Module Builder
(Videos)
----------------------------------------------------
---------------------------------------------
Sitefinity Thunder:
Install Sitefinity Thunder.
Install Sitefinity Thunder module in each project. (Telerik -> Install Sitefinity
Thunder Module)
Thunder Templates: Proj -> Add New Item -> Sitefinity tab -> sitefinity website
template
-----------------------------------------------
Sitefinity API:
Install Widget(user control)
Standard API's: Managers (PageManager, NewsManager)
var manager = NewsManager.GetManager()
manager.Create...
-------------------------------------------------------
--------------------------------------------------
Sitefinity Widgets
Instead of registering using the blue icon, we can also register from admin ->
settings -> advanced settings.
select neccessary content and set the properties
Widgets in Assemblies: How to create a user control and use it in another project.
Create a project of type Web User Control.
----------------------------------------------------------
Sitefinity Modules:
Sitefinity API:
1) Creating Pages:
PageData: Title and Properties
PageNode: Actual instance of page
2) Content Items: Getmanager -> ContentManager knows how to perform basic CRUD ops.
Manager obj has a Get() method that returns IQueryable<T>
Localization: you can programmatically translate pages and content. The key
is to change the UICulture property of the page before modifying PageData
properties
5) Sitefinity Web Services: If you need your web site to "Talk to the outside
world", then Sitefinity web services are the tool you're looking for.
Anatomy of a Web Service:
1) make a web request, passing the URL of the service method.
2) Set the request method
3) Add the claims token to the request header
4) Optionally set the request content type.
5) Add any POST or PUT data as a stream of bytes to request
6) Get the response
7) Reda the reponse stream and consume the results.
Claims Authentication:
Logging In: Logging in using claims authentication is a two stage process: finding
out where the security token service is and then actually authenticating through
the service
6) Widgets:
A user control is easier to build using Visual Studio support but does not
allow Sitefinity design time support and is not designed to be deployed across
multiple web sites. A custom control is slightly more difficult to build, but does
allow design time support and can be deployed as a single .DLL across multiple web
sites.
User Control: Web User Control in the SF project
Custom Control: Create a Class Library and add a layout template (ascx file).
Rename class1.cs to MyCustomControl and inherit it from SimpleView.
Designer: UI for custom properties. JS file for interaction
between designer and custom control.
7) Sitefinity Thunder:
8) MVC in Sitefinity: Classic: the MVC application does not interact with
Sitefinity, so you are not able to manage content on pages or controllers using the
Sitefinity Administration
Mobile App Builder: The Sitefinity Mobile App Builder allows you
to present your custom module content (created with the Module Builder) to your
users in a native application by generating a hybrid application that is
publishable in the app stores and installable directly on user devices.
--------------------------------------------------------------------------
ADMINISTRATORS