Skip to content

Commit 3659f71

Browse files
committed
chore: Scaffold dotnet plugin project.
1 parent 899ce8a commit 3659f71

File tree

7 files changed

+171
-0
lines changed

7 files changed

+171
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
**/bin
2+
**/obj
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.0.31903.59
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LaunchDarkly.Observability", "src\LaunchDarkly.Observability\LaunchDarkly.Observability.csproj", "{EFEF5623-E551-4085-AB85-1711BD6EA731}"
7+
EndProject
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LaunchDarkly.Observability.Tests", "test\LaunchDarkly.Observability.Tests\LaunchDarkly.Observability.Tests.csproj", "{85022F8E-D264-44F4-A8AF-1117D8202FBD}"
9+
EndProject
10+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{25034066-05A5-47F9-9FF3-9213B17E689C}"
11+
ProjectSection(SolutionItems) = preProject
12+
README.md = README.md
13+
EndProjectSection
14+
EndProject
15+
Global
16+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
17+
Debug|Any CPU = Debug|Any CPU
18+
Release|Any CPU = Release|Any CPU
19+
EndGlobalSection
20+
GlobalSection(SolutionProperties) = preSolution
21+
HideSolutionNode = FALSE
22+
EndGlobalSection
23+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
24+
{EFEF5623-E551-4085-AB85-1711BD6EA731}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
25+
{EFEF5623-E551-4085-AB85-1711BD6EA731}.Debug|Any CPU.Build.0 = Debug|Any CPU
26+
{EFEF5623-E551-4085-AB85-1711BD6EA731}.Release|Any CPU.ActiveCfg = Release|Any CPU
27+
{EFEF5623-E551-4085-AB85-1711BD6EA731}.Release|Any CPU.Build.0 = Release|Any CPU
28+
{85022F8E-D264-44F4-A8AF-1117D8202FBD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
29+
{85022F8E-D264-44F4-A8AF-1117D8202FBD}.Debug|Any CPU.Build.0 = Debug|Any CPU
30+
{85022F8E-D264-44F4-A8AF-1117D8202FBD}.Release|Any CPU.ActiveCfg = Release|Any CPU
31+
{85022F8E-D264-44F4-A8AF-1117D8202FBD}.Release|Any CPU.Build.0 = Release|Any CPU
32+
EndGlobalSection
33+
EndGlobal
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
LaunchDarkly Observability Plugin for .Net
2+
===========================
3+
4+
[//]: # (These can be uncommented once the links are live.)
5+
[//]: # ([![Actions Status][dotnetplugin-sdk-ci-badge]][dotnetplugin-sdk-ci])
6+
[//]: # ([![Documentation](https://img.shields.io/static/v1?label=GitHub+Pages&message=API+reference&color=00add8)][o11y-docs-link])
7+
[//]: # ([![NuGet][dotnetplugin-nuget-badge]][dotnetplugin-nuget-link])
8+
9+
# Early Access Preview️
10+
11+
**NB: APIs are subject to change until a 1.x version is released.**
12+
13+
## Install
14+
15+
```shell
16+
dotnet add package LaunchDarkly.Observability
17+
```
18+
19+
Install the plugin when configuring your LaunchDarkly SDK.
20+
21+
```csharp
22+
// TODO: Add example.
23+
```
24+
25+
LaunchDarkly overview
26+
-------------------------
27+
[LaunchDarkly](https://www.launchdarkly.com) is a feature management platform that serves trillions of feature flags daily to help teams build better software, faster. [Get started](https://docs.launchdarkly.com/home/getting-started) using LaunchDarkly today!
28+
29+
[![Twitter Follow](https://img.shields.io/twitter/follow/launchdarkly.svg?style=social&label=Follow&maxAge=2592000)](https://twitter.com/intent/follow?screen_name=launchdarkly)
30+
31+
## Contributing
32+
33+
We encourage pull requests and other contributions from the community. Check out our [contributing guidelines](CONTRIBUTING.md) for instructions on how to contribute to this SDK.
34+
35+
## About LaunchDarkly
36+
37+
* LaunchDarkly is a continuous delivery platform that provides feature flags as a service and allows developers to iterate quickly and safely. We allow you to easily flag your features and manage them from the LaunchDarkly dashboard. With LaunchDarkly, you can:
38+
* Roll out a new feature to a subset of your users (like a group of users who opt-in to a beta tester group), gathering feedback and bug reports from real-world use cases.
39+
* Gradually roll out a feature to an increasing percentage of users, and track the effect that the feature has on key metrics (for instance, how likely is a user to complete a purchase if they have feature A versus feature B?).
40+
* Turn off a feature that you realize is causing performance problems in production, without needing to re-deploy, or even restart the application with a changed configuration file.
41+
* Grant access to certain features based on user attributes, like payment plan (eg: users on the ‘gold’ plan get access to more features than users in the ‘silver’ plan). Disable parts of your application to facilitate maintenance, without taking everything offline.
42+
* LaunchDarkly provides feature flag SDKs for a wide variety of languages and technologies. Check out [our documentation](https://docs.launchdarkly.com/docs) for a complete list.
43+
* Explore LaunchDarkly
44+
* [launchdarkly.com](https://www.launchdarkly.com/ "LaunchDarkly Main Website") for more information
45+
* [docs.launchdarkly.com](https://docs.launchdarkly.com/ "LaunchDarkly Documentation") for our documentation and SDK reference guides
46+
* [apidocs.launchdarkly.com](https://apidocs.launchdarkly.com/ "LaunchDarkly API Documentation") for our API documentation
47+
* [launchdarkly.com/blog](https://launchdarkly.com/blog/ "LaunchDarkly Blog Documentation") for the latest product updates
48+
49+
[dotnetplugin-sdk-ci-badge]: https://github.com/launchdarkly/observability-sdk/actions/workflows/dotnet-plugin.yml/badge.svg
50+
[dotnetplugin-sdk-ci]: https://github.com/launchdarkly/observability-sdk/actions/workflows/dotnet-plugin.yml
51+
[o11y-docs-link]: https://launchdarkly.github.io/observability-sdk/sdk/@launchdarkly/observability-dotnet/
52+
[dotnetplugin-nuget-badge]: https://img.shields.io/nuget/v/LaunchDarkly.Observability.svg?style=flat-square
53+
[dotnetplugin-nuget-link]: https://www.nuget.org/packages/LaunchDarkly.Observability/
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace LaunchDarkly.Observability
2+
{
3+
public class Class1
4+
{
5+
6+
}
7+
}
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<!--x-release-please-start-version-->
5+
<Version>0.0.0</Version>
6+
<!--x-release-please-end-->
7+
<Nullable>disable</Nullable>
8+
<!-- The BUILDFRAMEWORKS variable allows us to override the target frameworks with a
9+
single framework that we are testing; this allows us to test with older SDK
10+
versions that would error out if they saw any newer target frameworks listed
11+
here, even if we weren't running those. -->
12+
<BuildFrameworks Condition="'$(BUILDFRAMEWORKS)' == ''">netstandard2.0;net471;net8.0</BuildFrameworks>
13+
<TargetFrameworks>$(BUILDFRAMEWORKS)</TargetFrameworks>
14+
<LangVersion>7.3</LangVersion>
15+
16+
<Description>LaunchDarkly Observability for Server-Side .NET SDK</Description>
17+
<Authors>LaunchDarkly</Authors>
18+
<Owners>LaunchDarkly</Owners>
19+
<Company>LaunchDarkly</Company>
20+
<Copyright>Copyright 2025 Catamorphic, Co</Copyright>
21+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
22+
<PackageProjectUrl>https://github.com/launchdarkly/observability-sdk</PackageProjectUrl>
23+
<RepositoryUrl>https://github.com/launchdarkly/observability-sdk</RepositoryUrl>
24+
25+
<!-- fail if XML comments are missing or invalid -->
26+
<WarningsAsErrors>1570,1571,1572,1573,1574,1580,1581,1584,1591,1710,1711,1712</WarningsAsErrors>
27+
</PropertyGroup>
28+
29+
<!-- Allow the testing project to access internals. -->
30+
<ItemGroup Condition="'$(Configuration)'!='Release'">
31+
<InternalsVisibleTo Include="LaunchDarkly.Observability.Tests" />
32+
</ItemGroup>
33+
34+
<PropertyGroup Condition="'$(Configuration)'=='Release' And '$(SKIP_SIGNING)'!='true'">
35+
<AssemblyOriginatorKeyFile>../../../../../LaunchDarkly.snk</AssemblyOriginatorKeyFile>
36+
<SignAssembly>true</SignAssembly>
37+
</PropertyGroup>
38+
</Project>
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net8.0</TargetFramework>
5+
<Nullable>disable</Nullable>
6+
7+
<IsPackable>false</IsPackable>
8+
<IsTestProject>true</IsTestProject>
9+
<RootNamespace>LaunchDarkly.Observability.Test</RootNamespace>
10+
<LangVersion>7.3</LangVersion>
11+
</PropertyGroup>
12+
13+
<ItemGroup>
14+
<PackageReference Include="coverlet.collector" Version="6.0.0"/>
15+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0"/>
16+
<PackageReference Include="NUnit" Version="3.14.0"/>
17+
<PackageReference Include="NUnit.Analyzers" Version="3.9.0"/>
18+
<PackageReference Include="NUnit3TestAdapter" Version="4.5.0"/>
19+
</ItemGroup>
20+
</Project>
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
using NUnit.Framework;
2+
3+
namespace LaunchDarkly.Observability.Test
4+
{
5+
public class Tests
6+
{
7+
[SetUp]
8+
public void Setup()
9+
{
10+
}
11+
12+
[Test]
13+
public void Test1()
14+
{
15+
Assert.Pass();
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)