Skip to content

Commit 84ae6bd

Browse files
committed
Update docs and version
1 parent 4e7dc23 commit 84ae6bd

3 files changed

Lines changed: 27 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Sejil is a library that enables you to capture, view and filter your ASP.net cor
1616
1. Installing [Sejil](https://www.nuget.org/packages/Sejil/) package
1717

1818
```powershell
19-
dotnet add package Sejil --version 1.0.0-beta5
19+
dotnet add package Sejil --version 1.0.0-beta7
2020
```
2121
2222
2. Adding code
@@ -56,6 +56,30 @@ Sejil is a library that enables you to capture, view and filter your ASP.net cor
5656
}
5757
```
5858
59+
(Optional) To require authentication for viewing logs:
60+
61+
```csharp
62+
public void ConfigureServices(IServiceCollection services)
63+
{
64+
services.ConfigureSejil(options =>
65+
{
66+
options.AuthenticationScheme = /* Your authentication scheme */
67+
});
68+
}
69+
```
70+
71+
(Optional) To change the logs page title (Defaults to *Sejil* if not set):
72+
73+
```csharp
74+
public void ConfigureServices(IServiceCollection services)
75+
{
76+
services.ConfigureSejil(options =>
77+
{
78+
options.Title = "My title";
79+
});
80+
}
81+
```
82+
5983
3. Navigate to *http://your-app-url/sejil* to view your app's logs.
6084
6185
## Features and Screenshots

‎appveyor.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: '1.0.0-beta4.{build}'
1+
version: '1.0.0-beta7.{build}'
22
image: Visual Studio 2017
33

44
branches:

‎src/Sejil.Server/Sejil.csproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<PackageProjectUrl>https://github.com/alaatm/Sejil</PackageProjectUrl>
1212
<PackageLicenseUrl>http://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl>
1313
<TargetFrameworks>netstandard1.6;netstandard2.0</TargetFrameworks>
14-
<VersionPrefix>1.0.0-beta6</VersionPrefix>
14+
<VersionPrefix>1.0.0-beta7</VersionPrefix>
1515
<AssemblyName>Sejil</AssemblyName>
1616
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
1717
<DebugType>full</DebugType>

0 commit comments

Comments
 (0)