Skip to content

Commit

Permalink
docs & nuspec cleanup (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
kshyju authored Jan 2, 2024
1 parent 9347676 commit 2855032
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
8 changes: 3 additions & 5 deletions docs/azfunc/readme.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@

# BrowserDetector
# Shyjus.BrowserDetector.AzureFunctions

Browser detection capabilities for Azure functions .NET Isolated model.



This library does

1. Browser detection
Expand Down Expand Up @@ -37,7 +35,7 @@ host.Run();
````
**Step 3:** Inject `IBrowserDetector` to your function class e and access the `Browser` property.

### Example usage in controller code
### Example usage

```csharp
public class Function1
Expand All @@ -64,7 +62,7 @@ public class Function1



### Example usage in custom middleware
### Example usage in functions middleware

You can get instance of the `IBrowserDetector` from FunctionContext.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@
<Authors>Shyju Krishnankutty</Authors>
<Description>Browser detection, device detection and operating system detection capabilities in Azure Functions .NET Isolated model.</Description>
<RepositoryUrl>https://github.com/kshyju/BrowserDetector</RepositoryUrl>
<PackageTags>BrowserDetection BrowserCapabilities BrowserDetectionAzureFunction HttpContext.Request.Browser DeviceDetection</PackageTags>
<PackageTags>BrowserDetection BrowserCapabilities BrowserDetectionAzureFunction .NET Isolated DeviceDetection</PackageTags>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>1.0.0-preview1</Version>
<PackageReadmeFile>readme.md</PackageReadmeFile>
</PropertyGroup>
<PropertyGroup>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\docs\readme.md" Pack="true" PackagePath="\"></None>
<None Include="..\..\docs\azfunc\readme.md" Pack="true" PackagePath="\"></None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Azure.Functions.Worker.Core" Version="1.16.0" />
Expand Down

0 comments on commit 2855032

Please sign in to comment.