OSLC4Net.Client
0.3.0-alpha
See the version list below for details.
dotnet add package OSLC4Net.Client --version 0.3.0-alpha
NuGet\Install-Package OSLC4Net.Client -Version 0.3.0-alpha
<PackageReference Include="OSLC4Net.Client" Version="0.3.0-alpha" />
<PackageVersion Include="OSLC4Net.Client" Version="0.3.0-alpha" />
<PackageReference Include="OSLC4Net.Client" />
paket add OSLC4Net.Client --version 0.3.0-alpha
#r "nuget: OSLC4Net.Client, 0.3.0-alpha"
#addin nuget:?package=OSLC4Net.Client&version=0.3.0-alpha&prerelease
#tool nuget:?package=OSLC4Net.Client&version=0.3.0-alpha&prerelease
Welcome to the OSLC4Net project
What is OSLC4NET?
OSLC4Net is an SDK and sample applications to help the .NET community to adopt OSLC (Open Services for Lifecycle Collaboration) and build OSLC-compliant tools.
The current content of the project is the source for a .NET SDK written in C#. The SDK allows developers to create OSLC providers or consumers by adding OSLC annotations to .NET objects to allow them to be represented as OSLC resources. It includes a library based on the dotNetRDF package which assists with representing these resources as RDF/XML and which helps parse RDF/XML documents into OSLC .NET objects.
The ASP.NET MVC 4 library can be used to assist with creating consumer REST requests or to help create a provider which can process OSLC REST requests.
The project currently contains the SDK and a sample OSLC Change Management client. A sample provider using the SDK is one of the top priorities for the project.
Getting started
If you do not have a .NET development environment, start by downloading Visual Studio 2017 Community and SQL Server 2016 Express. Make sure to install ASP.NET-related options for Visual Studio and LocalDB for SQL Server.
Running the sample StockQuote provider
OSLC4Net.StockQuoteSample
is a sample OSLC provider which implements one resource type, a StockQuote. This resource is not defined by an OSLC specification, it shows how OSLC4Net can be used to create an experimental OSLC provider.
- Build the
OSLC4Net_SDK\OSLC4Net.Core.sln
solution - Right click the
OSLC4Net.StockQuoteSample
project and run it via Debug->Start new instance
You'll see a web page created - that is currently just a skeleton provided by ASP.NET. You can close it. Try performing a GET request on the follwing URLs in a tool like Poster or Advanced REST Client (make sure to set the Accept
header to application/rdf+xml
:
- http://localhost:7077/api/stockquote - returns all StockQuotes
- http://localhost:7077/api/stockquote?getShape=true - returns the StockQuote OSLC resource shape
- http://localhost:7077/api/stockquote/nasdaq_goog - returns an individual StockQuote
A request to the first URL using Fiddler should have the following response:
More information on OSLC
- See the OSLC site for more details on OSLC specifications and community activities.
- See the Eclipse Lyo site for information on OSLC SDKs and samples for other technologies.
OSLC4Net License
OSLC4Net is licensed under the Eclipse Public License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net48 is compatible. net481 was computed. |
-
.NETFramework 4.8
- DotNetOpenAuth.Core (>= 4.3.4.13329)
- DotNetOpenAuth.OAuth.Common (>= 4.3.4.13329)
- DotNetOpenAuth.OAuth.Consumer (>= 4.3.4.13329)
- dotNetRDF (>= 1.0.13)
- log4net (>= 2.0.15)
- Microsoft.AspNet.WebApi.Client (>= 5.2.9)
- Newtonsoft.Json (>= 13.0.3)
- NuGet.Build.Tasks.Pack (>= 5.2.0)
- OSLC4Net.Core (>= 0.3.0-alpha)
- OSLC4Net.Core.DotNetRdfProvider (>= 0.3.0-alpha)
- OSLC4Net.Core.JsonProvider (>= 0.3.0-alpha)
- OSLC4Net.Core.Query (>= 0.3.0-alpha)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
0.6.0-preview.1 | 28 | 5/24/2025 |
0.5.0 | 199 | 4/13/2025 |
0.5.0-preview.1 | 139 | 4/13/2025 |
0.4.7-preview.4 | 66 | 12/7/2024 |
0.4.7-preview.3 | 58 | 12/6/2024 |
0.4.7-preview.2 | 66 | 12/6/2024 |
0.4.7-preview.1 | 57 | 12/6/2024 |
0.4.6 | 125 | 11/15/2024 |
0.4.5 | 128 | 10/19/2024 |
0.4.5-preview.3 | 66 | 10/19/2024 |
0.4.3 | 133 | 10/19/2024 |
0.4.2 | 111 | 10/9/2024 |
0.3.0-alpha | 162 | 4/29/2023 |