Giter Site home page Giter Site logo

kontent-ai / sample-app-razorpages Goto Github PK

View Code? Open in Web Editor NEW
6.0 19.0 7.0 1.08 MB

Sample .NET Core Razor Pages project using the Kontent.ai Delivery .NET SDK to retrieve content

Home Page: https://kontent.ai

License: MIT License

C# 8.85% HTML 4.76% CSS 20.11% JavaScript 41.93% PowerShell 0.04% Less 24.27% Shell 0.05%
razor-pages net-core sample-app sample-application dot-net-6 dotnet-6 dotnet6 kontent-ai net6 net60

sample-app-razorpages's Introduction

Build & Test

Kontent.ai sample ASP.NET Core Razor Pages web application

Sample .NET Core Razor Pages project using the Kontent.ai Delivery .NET SDK to retrieve content.

This application is meant for use with the Dancing Goat sample project within Kontent.ai. The project contains the home page and article content for Dancing Goat โ€“ an imaginary chain of coffee shops. If you don't have your own Sample Project, any administrator of a Kontent.ai subscription can generate one.

Application setup

Running the application

To run the app:

  1. Clone the app repository with your favorite GIT client
  2. Open the solution
  3. Run the app.

Connecting to your sample project

If you already have a Kontent.ai account, you can connect this sample Razor Pages application to your version of the Sample project.

  1. In Kontent.ai, choose Project settings from the app menu.

  2. Under Development, choose API keys and copy the Project ID.

  3. Open the \sample-app-razorpages\appsettings.json file.

  4. Use the values from your Kontent.ai project in the appsettings.json file:

    • Project ID: Insert your project ID into the ProjectId application setting.
    {
    "DeliveryOptions": {
      "ProjectId": "<your Kontent.ai project ID>"
    },
  }
  1. Save the changes.
  2. Run the application.

Content administration

  1. Navigate to https://app.kontent.ai in your browser.
  2. Sign in with your credentials.
  3. Manage content in the content administration interface of your sample project.

Learn more about content editing with Kontent.ai.

Content delivery

You can retrieve content either through the Kontent.ai Delivery SDK or the Kontent.ai Delivery API.

sample-app-razorpages's People

Contributors

ivankiral avatar kentico-michaelb avatar kontent-ai-bot avatar onyxprime avatar petrsvihlik avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sample-app-razorpages's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.