Skip to content

Commit fda0190

Browse files
authored
release-v1.0.0
\r\n***PUBLISH_RELEASE***
2 parents df34163 + f262d1d commit fda0190

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+1602
-2003
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# Copyright (c) .NET Foundation and Contributors
2+
# See LICENSE file in the project root for full license information.
3+
4+
# This workflow will periodically check .NET nanoFramework dependencies and updates them in the repository it's running.
5+
6+
name: Daily update dependencies
7+
8+
on:
9+
schedule:
10+
# At 00:00 UTC every day.
11+
- cron: '00 00 * * *'
12+
repository_dispatch:
13+
types: update-dependencies
14+
15+
defaults:
16+
run:
17+
shell: pwsh
18+
19+
jobs:
20+
update-nuget-dependencies:
21+
name: Update .NET nanoFramework dependencies
22+
timeout-minutes: 26
23+
runs-on: windows-latest
24+
env:
25+
GITHUB_TOKEN: ${{ github.token }}
26+
steps:
27+
- name: Checkout
28+
uses: actions/checkout@v2
29+
- name: Update dependencies
30+
uses: nanoframework/nanodu@v1
31+
with:
32+
solutionsToCheck: 'nanoFramework.WebServer.sln'

.github_changelog_generator

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
user=nanoframework
2+
project=nanoFramework.WebServer
3+
issues=true
4+
add_issues_wo_labels=false
5+
add_pr_wo_labels=false
6+
add_issues_wo_labels=false
7+
filter_issues_by_milestone=false
8+
exclude_labels=Area: Config-and-Build,Area: Infrastructure-and-Organization,reverted
9+
enhancement_labels=Type: enhancement
10+
bug_labels=Type: bug
11+
merge_prefix=**Documentation and other chores:**
12+
unreleased_label=**Changes available only in 'Preview' NuGet packages:**
13+
author=false

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,3 +255,6 @@ paket-files/
255255

256256
#SoundCloud
257257
*.sonarqube/
258+
259+
#VSCode
260+
.vscode

CHANGELOG.md

Lines changed: 951 additions & 0 deletions
Large diffs are not rendered by default.

LICENSE renamed to LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) Laurent Ellerbach and Contributors
3+
Copyright (c) .NET Foundation and Contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

NuGet.Config

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<packageSources>
4+
<add key="NuGet" value="https://api.nuget.org/v3/index.json" protocolVersion="3" />
5+
<add key="Azure Artifacts nanoFramework dev" value="https://pkgs.dev.azure.com/nanoframework/feed/_packaging/sandbox/nuget/v3/index.json" protocolVersion="3" />
6+
</packageSources>
7+
</configuration>

README.md

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,25 @@
1-
# .NET nanoFramework WebServer
1+
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoframework.WebServer&metric=alert_status)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoframework.WebServer) [![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=nanoframework_lib-nanoframework.WebServer&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=nanoframework_lib-nanoframework.WebServer) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE) [![NuGet](https://img.shields.io/nuget/dt/nanoFramework.WebServer.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.WebServer/) [![#yourfirstpr](https://img.shields.io/badge/first--timers--only-friendly-blue.svg)](https://github.com/nanoframework/Home/blob/main/CONTRIBUTING.md) [![Discord](https://img.shields.io/discord/478725473862549535.svg?logo=discord&logoColor=white&label=Discord&color=7289DA)](https://discord.gg/gCyBu8T)
2+
3+
![nanoFramework logo](https://raw.githubusercontent.com/nanoframework/Home/main/resources/logo/nanoFramework-repo-logo.png)
4+
5+
-----
6+
7+
### Welcome to the .NET **nanoFramework** WebServer repository
8+
9+
## Build status
10+
11+
| Component | Build Status | NuGet Package |
12+
|:-|---|---|
13+
| nanoFramework.WebServer | [![Build Status](https://dev.azure.com/nanoframework/nanoFramework.WebServer/_apis/build/status/nanoframework.lib-nanoFramework.WebServer?branchName=main)](https://dev.azure.com/nanoframework/nanoFramework.WebServer/_build/latest?definitionId=65&branchName=main) | [![NuGet](https://img.shields.io/nuget/v/nanoFramework.WebServer.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.WebServer/) |
14+
| nanoFramework.WebServer (preview) | [![Build Status](https://dev.azure.com/nanoframework/nanoFramework.WebServer/_apis/build/status/nanoFramework.WebServer?repoName=nanoframework%2FnanoFramework.WebServer&branchName=develop)](https://dev.azure.com/nanoframework/nanoFramework.WebServer/_build/latest?definitionId=65&repoName=nanoframework%2FnanoFramework.WebServer&branchName=develop) | [![NuGet](https://img.shields.io/nuget/vpre/nanoFramework.WebServer.svg?label=NuGet&style=flat&logo=nuget)](https://www.nuget.org/packages/nanoFramework.WebServer/) |
15+
16+
## .NET nanoFramework WebServer
17+
18+
This library was coded by [Laurent Ellerbach](@Ellerbach) who generously offered it to the .NET **nanoFramework** project.
219

320
This is a simple nanoFramework WebServer. Features:
421

5-
- Handle multithread requests
22+
- Handle multi-thread requests
623
- Serve static files on any storage
724
- Handle parameter in URL
825
- Possible to have multiple WebServer running at the same time
@@ -83,7 +100,7 @@ There is a more advance example with simple REST API to get a list of Person and
83100

84101
## A simple GPIO controller REST API
85102

86-
You will find in simple [GPIO controller sample](./WebServer.GpioRest) REST API. The controller not case sensitive and is working like this:
103+
You will find in simple [GPIO controller sample](https://github.com/nanoframework/Samples/tree/main/samples/Webserver/WebServer.GpioRest) REST API. The controller not case sensitive and is working like this:
87104

88105
- To open the pin 2 as output: http://yoururl/open/2/output
89106
- To open pin 4 as input: http://yoururl/open/4/input
@@ -350,3 +367,26 @@ using (WebServer server = new WebServer(443, HttpProtocol.Https)
350367
> IMPORTANT: because the certificate above is not issued from a Certificate Authority it won't be recognized as a valid certificate. If you want to access the nanoFramework device with your browser, for example, you'll have to add the (CRT file)[WebServer.Sample\webserver-cert.crt] as a trusted one. On Windows, you just have to double click on the CRT file and then click "Install Certificate...".
351368

352369
You can of course use the routes as defined earlier. Both will work, event or route with the notion of controller.
370+
371+
## Feedback and documentation
372+
373+
For documentation, providing feedback, issues and finding out how to contribute please refer to the [Home repo](https://github.com/nanoframework/Home).
374+
375+
Join our Discord community [here](https://discord.gg/gCyBu8T).
376+
377+
## Credits
378+
379+
The list of contributors to this project can be found at [CONTRIBUTORS](https://github.com/nanoframework/Home/blob/main/CONTRIBUTORS.md).
380+
381+
## License
382+
383+
The **nanoFramework** WebServer library is licensed under the [MIT license](LICENSE.md).
384+
385+
## Code of Conduct
386+
387+
This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behaviour in our community.
388+
For more information see the [.NET Foundation Code of Conduct](https://dotnetfoundation.org/code-of-conduct).
389+
390+
### .NET Foundation
391+
392+
This project is supported by the [.NET Foundation](https://dotnetfoundation.org).

WebServer.GpioRest/ControllerGpio.cs

Lines changed: 0 additions & 165 deletions
This file was deleted.

0 commit comments

Comments
 (0)