tomlm / Crazor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

image

Crazor

Crazor is a library which marries Razor Templating with Adaptive Cards to create a super productive coding environment focused 100% on building Adaptive Card based experiences.

All of the bot logic is implemented for you, all you do is make templates bound to your data and write the code behind. Really.

If you know ASP.NET then Crazor will feel crazy familiar and powerful to you.

Features

image

Crazor provides:

  • Razor based card templates - Define your Adaptive Card views using Razor templating markup with logic, leveraging all of the years of tooling built into Visual Studio to make it super productive to author your experience:
    • Strong-Typing - you can refactor and get build errors when working with your models
    • Intellisense - Visual studio shows errors and auto-completion
    • Debugger - Visual studio debugging allows you to set breakpoints in your templates, etc.
  • No need to understand bots - Crazor comes with the all of the bot protocol implemented, you just write cards.
  • Automatic state management - no need to worry about the complexity of coming up with a persistence model
  • Rich Data Binding and Validation - Rich data binding and attribute based validation support.
  • Built-in Navigation Model - Crazor implements a navigation model allowing you to do nested calls between screens
  • Built-in Teams integrations - Your card application can be unfurled via a link, pop up as a Task Module, a Tab etc. Just register your app with teams and it just works.
  • Built-in Card hosting - Your card application is also hosted automatically in your web site, giving people a normal HTTP link they can view and interact with the card.

Documentation

Quick Start

  • Quick Start - Quick start to creating a new Crazor.Blazor App Server
  • Crazor.Blazor - templating using .razor files using Blazor semantics.

Archicture

  • Architecture - Describes overall structure of Crazor application

Concepts

  • Card Apps - How to create a CardApp class to define state and operations against state.
  • Card Views - General information about Card Views
  • Card App Memory - Information on persistence and memory
  • Card Routing - Information on customizing urls to support deep linking into cards
  • Writing Unit tests - Writing unit tests for your cards.

Advanced topics

Setting up your service

Visual Studio Extension

Installing an extension for Visual Studio

image

About

License:MIT License


Languages

Language:C# 85.1%Language:HTML 12.1%Language:JavaScript 1.6%Language:CSS 1.3%Language:Batchfile 0.0%