Coder Social home page Coder Social logo

websub.net's Introduction

WebSub.NET

WebSub.NET is a set of libraries which aim at providing WebSub (a common mechanism for communication between publishers and subscribers of Web content) support for .NET platform.

WebSub.NET Subscriber Preview

WebSub.NET Subscriber is currently in preview.

  • The WebSub subscriber preview package is available on NuGet and MyGet.
  • The ASP.NET WebHooks WebSub subscriber receiver is available on NuGet and MyGet.
  • The ASP.NET Core WebHooks WebSub subscriber receiver is available on MyGet.

In order to use packages from MyGget you need to add a NuGet.Config to your app with the following content:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <packageSources>
        <clear />
        <add key="dotnet-core.myget.org" value="https://dotnet.myget.org/F/dotnet-core/api/v3/index.json" />
        <add key="websubdotnet.myget.org" value="https://www.myget.org/F/websubdotnet/api/v3/index.json" />
        <add key="nuget.org" value="https://api.nuget.org/v3/index.json" />
    </packageSources>
</configuration>

Donating

My blog and open source projects are result of my passion for software development, but they require a fair amount of my personal time. If you got value from any of the content I create, then I would appreciate your support by buying me a coffee.

Copyright and License

Copyright © 2018 - 2021 Tomasz Pęczek

Licensed under the MIT License

websub.net's People

Contributors

tpeczek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

websub.net's Issues

Implement correct discovery priority

When perfoming discovery, subscribers MUST implement all three discovery mechanisms in the following order, stopping at the first match:

  1. Issue a GET or HEAD request to retrieve the topic URL. Subscribers MUST check for HTTP Link headers first.
  2. In the absence of HTTP Link headers, and if the topic is an XML based feed or an HTML page, subscribers MUST check for embedded link elements.

Remove WebSub.AspNetCore.WebHooks.Receivers.Subscriber.Services.Abstractions

Library WebSub.AspNetCore.WebHooks.Receivers.Subscriber.Services.Abstractions is not necessary as it only introduces an opinionated way of creating an initialized WebSubSubscription.

Following changes are needed:

  • Exposing GetWebSubWebHookUrl as a HttpRequest extension method in WebSub.AspNetCore.WebHooks.Receivers.Subscriber
  • Splitting WebSub.AspNetCore.WebHooks.Receivers.Subscriber.Services.EntityFrameworkCore into WebSub.WebHooks.Receivers.Subscriber.Services.EntityFrameworkCore and WebSub.AspNetCore.WebHooks.Receivers.Subscriber.Services.EntityFrameworkCore, where WebSub.AspNetCore.WebHooks.Receivers.Subscriber.Services.EntityFrameworkCore contains only WebSubServiceCollectionExtensions

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.