OpenRiaServices.Hosting.AspNetCore
0.3.0
Prefix Reserved
See the version list below for details.
dotnet add package OpenRiaServices.Hosting.AspNetCore --version 0.3.0
NuGet\Install-Package OpenRiaServices.Hosting.AspNetCore -Version 0.3.0
<PackageReference Include="OpenRiaServices.Hosting.AspNetCore" Version="0.3.0" />
paket add OpenRiaServices.Hosting.AspNetCore --version 0.3.0
#r "nuget: OpenRiaServices.Hosting.AspNetCore, 0.3.0"
// Install OpenRiaServices.Hosting.AspNetCore as a Cake Addin #addin nuget:?package=OpenRiaServices.Hosting.AspNetCore&version=0.3.0 // Install OpenRiaServices.Hosting.AspNetCore as a Cake Tool #tool nuget:?package=OpenRiaServices.Hosting.AspNetCore&version=0.3.0
This software will allow existing applications written for OpenRiaServices or WCF RIA Services to run on net6 and kestrel, making them future proof and improving their performance.
Hopefully it will allow you as a consumer to make large savings in development time, weeks or even man years, by not having to rewrite your application as well as allowing rapid development.
The software is provided free of charge, but I urge you to use some of the money saved by using this software to support Ukraine The civilian suffering due to the Russian invasion, the attacks on hospitals and other war crimes are enormous.
TERM OF USE
By using this project or its source code, for any purpose and in any shape or form, you grant your agreement to all the following statements:
- You condemn Russia and its military aggression against Ukraine
- You recognize that Russia is an occupant that unlawfully invaded a sovereign state
- You support Ukraine's territorial integrity, including its claims over temporarily occupied territories of Crimea and Donbas
- You do not support the Russian invasion or contribute to its propaganda'
This excludes usage by the Russian state, Russian state-owned companies, Russian education who spread propaganda instead of truth, anyone who work with the filtration camps, or finance the war by importing Russian oil or gas.
- You allow anonymized telemetry to collected and sent during the preview releases to gather feedback about usage
PREVIEW
The package is currently in preview, please look at TODO in project's folder for more details. Only use if you feel competent and have the time to debug and troubleshoot issues yourself.
Public API will change before 1.0.0 release
There is no documentation yet, please see AspNetCoreWebsite project in repository for usage. Code generation is not tested and will probably not work with this package.
Getting Started
Create a new dotnet 6 web application
dotnet new web
or similarAdd a reference to OpenRiaServices.Hosting.AspNetCore
dotnet add package OpenRiaServices.Hosting.AspNetCore
Add a reference to OpenRiaServices.Server 5.1.0-preview.6 OR LATER
Add one or more domainservices
[EnableClientAccess]
public class CityDomainService : DomainService
{
/* ..... */
}
For more documentation see https://openriaservices.gitbook.io/openriaservices/ee707348/ee707373 or samples https://github.com/OpenRIAServices/OpenRiaServices/blob/086ea8c8fcb115000749be6b2b01cd43bb95bf80/docs/gg602754.md#add-the-poco-class
- Setup hosting integration
Minimal program:
using OpenRiaServices.Hosting.AspNetCore;
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddOpenRiaServices();
builder.Services.AddTransient<CityDomainService>();
var app = builder.Build();
app.MapOpenRiaServices(builder =>
{
builder.AddDomainService(typeof(CityDomainService));
});
app.Run();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- OpenRiaServices.Server (>= 5.3.1)
-
net7.0
- OpenRiaServices.Server (>= 5.3.1)
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 |
---|---|---|
1.3.1 | 308 | 11/18/2024 |
1.3.0 | 112 | 11/14/2024 |
1.2.0 | 208 | 6/13/2024 |
1.1.0 | 198 | 3/14/2024 |
1.1.0-ci.9 | 55 | 3/14/2024 |
1.0.0 | 219 | 1/11/2024 |
0.4.0 | 283 | 6/22/2023 |
0.4.0-preview.2 | 86 | 8/1/2023 |
0.3.0 | 184 | 5/26/2023 |
0.2.1 | 235 | 4/14/2023 |
0.2.1-tags-v-5-3-0.8 | 91 | 4/14/2023 |
0.2.0 | 378 | 11/25/2022 |
0.1.0 | 510 | 6/9/2022 |
For release notes see https://github.com/OpenRIAServices/OpenRiaServices/releases