Code Monkey home page Code Monkey logo

sitecoreblazor's Introduction

Time travel into the future - BLAZOR + SITECORE

Build Status

Let’s get going, we are gone hack this 3.5 inch floppy disc to the year 2005

For those still wondering what BLAZOR is, check out the Introduction to Blazor, from Microsoft

Want to find out more about blazor? Check out this great site, AWESOME BLAZOR - A collection of awesome Blazor resources.

This repo allows you to run Sitecore app's client-side. We are also following the HELIX concept, the clean way.

Demo/live: https://visionsblazor.z16.web.core.windows.net

Setup BLAZOR

To get started with Blazor and build your first Blazor web app check out Blazor's getting started guide.

Setup solution

Clone or fork this repo, build it and be happy πŸ™‚

UPDATE! Application can now run Server-side, Client-side

To run server-side:

Set SitecoreBlazorHosted.Server as StartUp project.

Select BlazorServer in Solution Configurations.

And run...

To run client-side:

Set SitecoreBlazorHosted.Client as StartUp project.

Select BlazorClient in Solution Configurations.

And run...

For now we have to disable/unload the Electron project. Because of breaking changes in the preview 3.2.0-preview1.20073.1, Asp Labs - Components.Electron needs to be upgraded.

To run Electron App:

Set SitecoreBlazorHosted.Electron as StartUp project.

Select BlazorElectron in Solution Configurations.

And run...

Blog posts

One solution (setup) to rule them all – Blazor Webassembly, Blazor Server, Blazor Electron

Make it all dynamic in BLAZOR – Routing, Pages and Components

Time travel into the future – BLAZOR + SITECORE + HELIX

Server-side is dead, long live client-side! BLAZOR + Sitecore = a match made in heaven

sitecoreblazor's People

Contributors

dependabot[bot] avatar goranhalvarsson avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

sitecoreblazor's Issues

Useless IF Statement

In TheRouter.cs file the if statement is never false, because you rewrite the context. Additionally in the App.razor file under Project.BlazorSite it will never render "Not Found"
<NotFound> <p>Sorry, there's nothing at this address.</p> </NotFound>
Line 105 TheRouter.cs
// Custom - Not valid route if (context.Handler == null || !LanguageService.HasValidLanguageInUrl(locationPath)) context = SetErrorContext(locationPath); **// THIS WILL NEVER BE FALSE BECAUSE OF THE CODE ABOVE** if (context.Handler != null)

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.