├── .github
└── workflows
│ └── dotnet-desktop.yml
├── README.md
└── src
├── GitLogService.sln
├── GitLogService
├── App.config
├── GitLogManager.cs
├── GitLogService.csproj
├── LogController.cs
├── Program.cs
├── Properties
│ └── AssemblyInfo.cs
├── RestService.cs
├── Startup.cs
├── WelcomeController.cs
└── packages.config
└── packages
├── Microsoft.AspNet.WebApi.Client.5.2.3
├── .signature.p7s
├── Microsoft.AspNet.WebApi.Client.5.2.3.nupkg
└── lib
│ ├── net45
│ ├── System.Net.Http.Formatting.dll
│ └── System.Net.Http.Formatting.xml
│ └── portable-wp8+netcore45+net45+wp81+wpa81
│ ├── System.Net.Http.Formatting.dll
│ └── System.Net.Http.Formatting.xml
├── Microsoft.AspNet.WebApi.Core.5.2.3
├── .signature.p7s
├── Content
│ └── web.config.transform
├── Microsoft.AspNet.WebApi.Core.5.2.3.nupkg
└── lib
│ └── net45
│ ├── System.Web.Http.dll
│ └── System.Web.Http.xml
├── Microsoft.AspNet.WebApi.Owin.5.2.3
├── .signature.p7s
├── Microsoft.AspNet.WebApi.Owin.5.2.3.nupkg
└── lib
│ └── net45
│ ├── System.Web.Http.Owin.dll
│ └── System.Web.Http.Owin.xml
├── Microsoft.AspNet.WebApi.OwinSelfHost.5.2.3
├── .signature.p7s
└── Microsoft.AspNet.WebApi.OwinSelfHost.5.2.3.nupkg
├── Microsoft.Owin.2.0.2
├── .signature.p7s
├── Microsoft.Owin.2.0.2.nupkg
└── lib
│ ├── net40
│ ├── Microsoft.Owin.XML
│ └── Microsoft.Owin.dll
│ └── net45
│ ├── Microsoft.Owin.XML
│ └── Microsoft.Owin.dll
├── Microsoft.Owin.Host.HttpListener.2.0.2
├── .signature.p7s
├── Microsoft.Owin.Host.HttpListener.2.0.2.nupkg
└── lib
│ ├── net40
│ ├── Microsoft.Owin.Host.HttpListener.dll
│ └── Microsoft.Owin.Host.HttpListener.xml
│ └── net45
│ ├── Microsoft.Owin.Host.HttpListener.dll
│ └── Microsoft.Owin.Host.HttpListener.xml
├── Microsoft.Owin.Hosting.2.0.2
├── .signature.p7s
├── Microsoft.Owin.Hosting.2.0.2.nupkg
└── lib
│ ├── net40
│ ├── Microsoft.Owin.Hosting.XML
│ └── Microsoft.Owin.Hosting.dll
│ └── net45
│ ├── Microsoft.Owin.Hosting.XML
│ └── Microsoft.Owin.Hosting.dll
├── Newtonsoft.Json.6.0.4
├── .signature.p7s
├── Newtonsoft.Json.6.0.4.nupkg
├── lib
│ ├── net20
│ │ ├── Newtonsoft.Json.dll
│ │ └── Newtonsoft.Json.xml
│ ├── net35
│ │ ├── Newtonsoft.Json.dll
│ │ └── Newtonsoft.Json.xml
│ ├── net40
│ │ ├── Newtonsoft.Json.dll
│ │ └── Newtonsoft.Json.xml
│ ├── net45
│ │ ├── Newtonsoft.Json.dll
│ │ └── Newtonsoft.Json.xml
│ ├── netcore45
│ │ ├── Newtonsoft.Json.dll
│ │ └── Newtonsoft.Json.xml
│ ├── portable-net40+sl5+wp80+win8+wpa81
│ │ ├── Newtonsoft.Json.dll
│ │ └── Newtonsoft.Json.xml
│ └── portable-net45+wp80+win8+wpa81
│ │ ├── Newtonsoft.Json.dll
│ │ └── Newtonsoft.Json.xml
└── tools
│ └── install.ps1
├── Owin.1.0
├── .signature.p7s
├── Owin.1.0.nupkg
└── lib
│ └── net40
│ └── Owin.dll
└── Topshelf.3.2.0
├── .signature.p7s
├── Topshelf.3.2.0.nupkg
└── lib
├── net35
└── Topshelf.dll
└── net40-full
└── Topshelf.dll
/.github/workflows/dotnet-desktop.yml:
--------------------------------------------------------------------------------
1 | # This workflow uses actions that are not certified by GitHub.
2 | # They are provided by a third-party and are governed by
3 | # separate terms of service, privacy policy, and support
4 | # documentation.
5 |
6 | # This workflow will build, test, sign and package a WPF or Windows Forms desktop application
7 | # built on .NET Core.
8 | # To learn how to migrate your existing application to .NET Core,
9 | # refer to https://docs.microsoft.com/en-us/dotnet/desktop-wpf/migration/convert-project-from-net-framework
10 | #
11 | # To configure this workflow:
12 | #
13 | # 1. Configure environment variables
14 | # GitHub sets default environment variables for every workflow run.
15 | # Replace the variables relative to your project in the "env" section below.
16 | #
17 | # 2. Signing
18 | # Generate a signing certificate in the Windows Application
19 | # Packaging Project or add an existing signing certificate to the project.
20 | # Next, use PowerShell to encode the .pfx file using Base64 encoding
21 | # by running the following Powershell script to generate the output string:
22 | #
23 | # $pfx_cert = Get-Content '.\SigningCertificate.pfx' -Encoding Byte
24 | # [System.Convert]::ToBase64String($pfx_cert) | Out-File 'SigningCertificate_Encoded.txt'
25 | #
26 | # Open the output file, SigningCertificate_Encoded.txt, and copy the
27 | # string inside. Then, add the string to the repo as a GitHub secret
28 | # and name it "Base64_Encoded_Pfx."
29 | # For more information on how to configure your signing certificate for
30 | # this workflow, refer to https://github.com/microsoft/github-actions-for-desktop-apps#signing
31 | #
32 | # Finally, add the signing certificate password to the repo as a secret and name it "Pfx_Key".
33 | # See "Build the Windows Application Packaging project" below to see how the secret is used.
34 | #
35 | # For more information on GitHub Actions, refer to https://github.com/features/actions
36 | # For a complete CI/CD sample to get started with GitHub Action workflows for Desktop Applications,
37 | # refer to https://github.com/microsoft/github-actions-for-desktop-apps
38 |
39 | name: .NET Core Desktop
40 |
41 | on:
42 | push:
43 | branches: [ "main" ]
44 | pull_request:
45 | branches: [ "main" ]
46 |
47 | jobs:
48 |
49 | build:
50 |
51 | strategy:
52 | matrix:
53 | configuration: [Debug, Release]
54 |
55 | runs-on: windows-latest # For a list of available runner types, refer to
56 | # https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on
57 |
58 | env:
59 | Solution_Name: your-solution-name # Replace with your solution name, i.e. MyWpfApp.sln.
60 | Test_Project_Path: your-test-project-path # Replace with the path to your test project, i.e. MyWpfApp.Tests\MyWpfApp.Tests.csproj.
61 | Wap_Project_Directory: your-wap-project-directory-name # Replace with the Wap project directory relative to the solution, i.e. MyWpfApp.Package.
62 | Wap_Project_Path: your-wap-project-path # Replace with the path to your Wap project, i.e. MyWpf.App.Package\MyWpfApp.Package.wapproj.
63 |
64 | steps:
65 | - name: Checkout
66 | uses: actions/checkout@v4
67 | with:
68 | fetch-depth: 0
69 |
70 | # Install the .NET Core workload
71 | - name: Install .NET Core
72 | uses: actions/setup-dotnet@v4
73 | with:
74 | dotnet-version: 8.0.x
75 |
76 | # Add MSBuild to the PATH: https://github.com/microsoft/setup-msbuild
77 | - name: Setup MSBuild.exe
78 | uses: microsoft/setup-msbuild@v2
79 |
80 | # Execute all unit tests in the solution
81 | - name: Execute unit tests
82 | run: dotnet test
83 |
84 | # Restore the application to populate the obj folder with RuntimeIdentifiers
85 | - name: Restore the application
86 | run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
87 | env:
88 | Configuration: ${{ matrix.configuration }}
89 |
90 | # Decode the base 64 encoded pfx and save the Signing_Certificate
91 | - name: Decode the pfx
92 | run: |
93 | $pfx_cert_byte = [System.Convert]::FromBase64String("${{ secrets.Base64_Encoded_Pfx }}")
94 | $certificatePath = Join-Path -Path $env:Wap_Project_Directory -ChildPath GitHubActionsWorkflow.pfx
95 | [IO.File]::WriteAllBytes("$certificatePath", $pfx_cert_byte)
96 |
97 | # Create the app package by building and packaging the Windows Application Packaging project
98 | - name: Create the app package
99 | run: msbuild $env:Wap_Project_Path /p:Configuration=$env:Configuration /p:UapAppxPackageBuildMode=$env:Appx_Package_Build_Mode /p:AppxBundle=$env:Appx_Bundle /p:PackageCertificateKeyFile=GitHubActionsWorkflow.pfx /p:PackageCertificatePassword=${{ secrets.Pfx_Key }}
100 | env:
101 | Appx_Bundle: Always
102 | Appx_Bundle_Platforms: x86|x64
103 | Appx_Package_Build_Mode: StoreUpload
104 | Configuration: ${{ matrix.configuration }}
105 |
106 | # Remove the pfx
107 | - name: Remove the pfx
108 | run: Remove-Item -path $env:Wap_Project_Directory\GitHubActionsWorkflow.pfx
109 |
110 | # Upload the MSIX package: https://github.com/marketplace/actions/upload-a-build-artifact
111 | - name: Upload build artifacts
112 | uses: actions/upload-artifact@v3
113 | with:
114 | name: MSIX Package
115 | path: ${{ env.Wap_Project_Directory }}\AppPackages
116 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ⚙️Git Log Service
2 | This is a RESTful API Windows service program that statistically returns Git Log to json. (without express)
3 |
4 |
5 |
6 |
7 | ## 📢 [Overview]
8 | - It operates as a Windows background service and runs without the need to log in to a Windows user session.
9 | - Statistics in the Git Log operate as of the date you set config.
10 |
11 |
12 | ## 🛠️ Stacks
13 |

14 |
15 | - RESTful API Consumer Repository (https://github.com/ahnshy/GitStatisticsGraph)
16 |

17 |
18 | ## 🚩 [Objective]
19 | - What would you do with the evaluation of a hard-working developer and a cheated developer?
20 | - Use it as an indicator of fair evaluation within the organization.
21 | - I've worked hard, but the results aren't always good. So, if you refer to documents, ALM, Red mime, Jira, WIKI, etc. in addition to Git Log, you will be able to conduct a more accurate developer evaluation.
22 |
23 |
24 | ## 🛠️ [Technologies]
25 | - **C#**: Object-oriented programming languages announced with the Microsoft .NET project.
26 | - **Windows Service**: Windows service runs when the Microsoft Windows operating system is started and does not require user interference, and runs in background mode as long as Windows is running.
27 | - **RESTful API**: It is an application development interface that provides access to resources based on HTTP and URI.
28 | - **JSON**: JavaScript Object Notation (JSON) is a character-based standard format for representing structured data in JavaScript object grammar.
29 | - **Microsoft.AspNet.WebApi.OwinSelfHost**: Open Web Interface for .NET (OWIN) defines the abstraction between .NET web servers and web applications. OWIN separates web applications from servers, making OWIN ideal for self-hosting web applications in user-specific processes outside of IIS (https://learn.microsoft.com/ko-kr/aspnet/web-api/overview/hosting-aspnet-web-api/use-owin-to-self-host-web-api)
30 | Deploy from NuGet package (https://www.nuget.org/packages/Microsoft.AspNet.WebApi.OwinSelfHost)
31 | - Git Log statistics using this service will be implemented additionally with html5, css3, and vue3.js.
32 | - Please refer to the following for the corresponding repertoire, it is currently being implemented.(https://github.com/ahnshy/GitStatisticsGraph)
33 |
34 |
35 | ## ⚙️ [Instructions]
36 |
37 | [Register Window Service]
38 | ```bash
39 | sc create "Git Log service" binPath= "C:\Program Files (x86)\GitLogService\GitLogService.exe"
40 | ```
41 |
42 | [Run]
43 | ```bash
44 | NET START "Git Log service"
45 | ```
46 |
47 | [Remove Window Service]
48 | ```bash
49 | NET STOP "Git Log service"
50 | sc delete "Git Log service"
51 | ```
52 |
53 |
54 | ## 📌 [Advanced Features]
55 | * It is recommended to automatically post Git Log statistics once a week in conjunction with the JIRA API to publish and disclose them periodically.
56 | * It is better to send mail registered with the SMTP protocol to mail registered with the publication.
57 | * Git Log should be reviewed. Some developers artificially uploaded statistics with gaps or annotation for performance.
58 |
59 |
60 | ## 💻 [Demo and Preview]
61 | >
62 | > [Notice]
63 | >The service is being implemented.
64 | >
65 | > Once completed, we will demonstrate the demo by capturing the screen.
66 | >
67 | >
68 | >
69 |
70 |
71 |
72 |
73 |
--------------------------------------------------------------------------------
/src/GitLogService.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio Version 16
4 | VisualStudioVersion = 16.0.33130.400
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "GitLogService", "GitLogService\GitLogService.csproj", "{ED88B706-850A-4BD7-9BB5-6716CA0E3F3F}"
7 | EndProject
8 | Global
9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 | Debug|Any CPU = Debug|Any CPU
11 | Release|Any CPU = Release|Any CPU
12 | EndGlobalSection
13 | GlobalSection(ProjectConfigurationPlatforms) = postSolution
14 | {ED88B706-850A-4BD7-9BB5-6716CA0E3F3F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {ED88B706-850A-4BD7-9BB5-6716CA0E3F3F}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {ED88B706-850A-4BD7-9BB5-6716CA0E3F3F}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {ED88B706-850A-4BD7-9BB5-6716CA0E3F3F}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | GlobalSection(ExtensibilityGlobals) = postSolution
23 | SolutionGuid = {76127E78-0D00-4316-8642-7F0224A28629}
24 | EndGlobalSection
25 | EndGlobal
26 |
--------------------------------------------------------------------------------
/src/GitLogService/App.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/src/GitLogService/GitLogManager.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Diagnostics;
4 | using System.Linq;
5 | using System.Text;
6 | using System.Threading.Tasks;
7 |
8 | namespace GitLogService
9 | {
10 | class GitLogManager
11 | {
12 | public void GetLog(ref Dictionary dictonary)
13 | {
14 | string repositoryPath = @"F:\Git\V-Ceph";
15 | //string gitLogCommand = "git log --pretty=format:\"%h %an %s %ad\" --date=short"; // // 개인별 통계 + 해쉬
16 | //string gitLogCommand = "git log --date=format:\"%Y-%m-%d\" --pretty=\"%ad : %s\" --since=\"2024-01-01\" --before=\"2024-12-31\" --no-merges"; // 개인별 통계
17 | string gitLogCommand = "git shortlog -sn --no-merges --since=\"2024-01-01\"";
18 |
19 | string output = RunGitCommand(repositoryPath, gitLogCommand);
20 | string[] lines = output.Split('\n');
21 | foreach (string line in lines)
22 | {
23 | string[] items = line.Split('\t');
24 | if (items.Length <= 1 || string.IsNullOrEmpty(items[1].Trim()))
25 | continue;
26 |
27 | dictonary.Add(items[1].Trim(), Int32.Parse(items[0].Trim()));
28 | }
29 | }
30 |
31 | static string RunGitCommand(string workingDirectory, string command)
32 | {
33 | ProcessStartInfo startInfo = new ProcessStartInfo
34 | {
35 | FileName = "cmd.exe",
36 | Arguments = $"/c cd {workingDirectory} && {command}",
37 | RedirectStandardOutput = true,
38 | UseShellExecute = false,
39 | CreateNoWindow = true
40 | };
41 |
42 | using (Process process = Process.Start(startInfo))
43 | {
44 | using (System.IO.StreamReader reader = process.StandardOutput)
45 | {
46 | return reader.ReadToEnd();
47 | }
48 | }
49 | }
50 | }
51 | }
52 |
--------------------------------------------------------------------------------
/src/GitLogService/GitLogService.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {ED88B706-850A-4BD7-9BB5-6716CA0E3F3F}
8 | Exe
9 | Properties
10 | GitLogService
11 | GitLogService
12 | v4.5.2
13 | 512
14 | true
15 |
16 | 게시\
17 | true
18 | Disk
19 | false
20 | Foreground
21 | 7
22 | Days
23 | false
24 | false
25 | true
26 | 0
27 | 1.0.0.%2a
28 | false
29 | false
30 | true
31 |
32 |
33 | AnyCPU
34 | true
35 | full
36 | false
37 | bin\Debug\
38 | DEBUG;TRACE
39 | prompt
40 | 4
41 |
42 |
43 | AnyCPU
44 | pdbonly
45 | true
46 | bin\Release\
47 | TRACE
48 | prompt
49 | 4
50 |
51 |
52 |
53 | ..\packages\Microsoft.Owin.2.0.2\lib\net45\Microsoft.Owin.dll
54 | True
55 |
56 |
57 | ..\packages\Microsoft.Owin.Host.HttpListener.2.0.2\lib\net45\Microsoft.Owin.Host.HttpListener.dll
58 | True
59 |
60 |
61 | ..\packages\Microsoft.Owin.Hosting.2.0.2\lib\net45\Microsoft.Owin.Hosting.dll
62 | True
63 |
64 |
65 | ..\packages\Newtonsoft.Json.6.0.4\lib\net45\Newtonsoft.Json.dll
66 | True
67 |
68 |
69 | ..\packages\Owin.1.0\lib\net40\Owin.dll
70 | True
71 |
72 |
73 |
74 |
75 |
76 | ..\packages\Microsoft.AspNet.WebApi.Client.5.2.3\lib\net45\System.Net.Http.Formatting.dll
77 | True
78 |
79 |
80 |
81 | ..\packages\Microsoft.AspNet.WebApi.Core.5.2.3\lib\net45\System.Web.Http.dll
82 | True
83 |
84 |
85 | ..\packages\Microsoft.AspNet.WebApi.Owin.5.2.3\lib\net45\System.Web.Http.Owin.dll
86 | True
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
95 | ..\packages\Topshelf.3.2.0\lib\net40-full\Topshelf.dll
96 | True
97 |
98 |
99 |
100 |
101 |
102 |
103 |
104 |
105 |
106 |
107 |
108 |
109 |
110 |
111 |
112 |
113 |
114 | False
115 | Microsoft .NET Framework 4.5.2%28x86 및 x64%29
116 | true
117 |
118 |
119 | False
120 | .NET Framework 3.5 SP1
121 | false
122 |
123 |
124 |
125 |
132 |
--------------------------------------------------------------------------------
/src/GitLogService/LogController.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Linq;
3 | using System.Web.Http;
4 |
5 | namespace GitLogService
6 | {
7 | public class LogController : ApiController
8 | {
9 | public IEnumerable Get()
10 | {
11 | GitLogManager manager = new GitLogManager();
12 | Dictionary logList = new Dictionary();
13 | manager.GetLog(ref logList);
14 |
15 | return logList.Select(item => $"{item.Key}:{item.Value}");
16 | }
17 |
18 | // GET api/values/5
19 | public string Get(int id)
20 | {
21 | return "value";
22 | }
23 |
24 | // POST api/values
25 | public void Post([FromBody] string value)
26 | {
27 | }
28 |
29 | // PUT api/values/5
30 | public void Put(int id, [FromBody] string value)
31 | {
32 | }
33 |
34 | // DELETE api/values/5
35 | public void Delete(int id)
36 | {
37 | }
38 |
39 | // GET api/values
40 | //public IEnumerable Get()
41 | //{
42 | // return new string[] { "value1", "value2" };
43 | //}
44 | }
45 | }
46 |
--------------------------------------------------------------------------------
/src/GitLogService/Program.cs:
--------------------------------------------------------------------------------
1 | using System.Collections.Generic;
2 | using System.Configuration;
3 | using Topshelf;
4 |
5 | namespace GitLogService
6 | {
7 | public class Program
8 | {
9 | public static void Main(string[] args)
10 | {
11 | HostFactory.Run(service =>
12 | {
13 | service.Service(item =>
14 | {
15 | item.ConstructUsing(() => new RestService());
16 | item.WhenStarted(rest => rest.Start());
17 | item.WhenStopped(rest => rest.Stop());
18 | item.WhenShutdown(rest => rest.Stop());
19 | });
20 | service.RunAsLocalSystem();
21 | service.StartAutomatically();
22 |
23 | service.SetServiceName(ConfigurationManager.AppSettings["ServiceName"]);
24 | service.SetDisplayName(ConfigurationManager.AppSettings["ServiceDisplayName"]);
25 | service.SetDescription(ConfigurationManager.AppSettings["ServiceDescription"]);
26 | });
27 | }
28 | }
29 | }
30 |
--------------------------------------------------------------------------------
/src/GitLogService/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.InteropServices;
3 |
4 | [assembly: AssemblyTitle("GitLogService")]
5 | [assembly: AssemblyProduct("GitLogWindowsService")]
6 | [assembly: AssemblyCopyright("Copyright © 2024 ahnshy@gmail.com (https://www.github.com/ahnshy/)")]
7 | [assembly: ComVisible(false)]
8 | [assembly: Guid("ed88b706-850a-4bd7-9bb5-6716ca0e3f3f")]
9 | [assembly: AssemblyVersion("1.0.0.0")]
10 | [assembly: AssemblyFileVersion("1.0.0.0")]
11 |
--------------------------------------------------------------------------------
/src/GitLogService/RestService.cs:
--------------------------------------------------------------------------------
1 | using Microsoft.Owin.Hosting;
2 | using System;
3 | using System.Configuration;
4 | using System.Linq;
5 |
6 | namespace GitLogService
7 | {
8 | public class RestService
9 | {
10 | private IDisposable _app;
11 |
12 | public void Start()
13 | {
14 | string protocol = "http";
15 | if (ConfigurationManager.AppSettings["UseHttps"].Contains(("true")) == true)
16 | protocol = "https";
17 |
18 | string address = String.Format("{0}://{1}:{2}", protocol, ConfigurationManager.AppSettings["BaseAddress"], ConfigurationManager.AppSettings["Port"]);
19 | Console.WriteLine(address);
20 |
21 | _app = WebApp.Start(address);
22 | }
23 |
24 | public void Stop()
25 | {
26 | if (_app != null)
27 | _app.Dispose();
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/src/GitLogService/Startup.cs:
--------------------------------------------------------------------------------
1 | using Owin;
2 | using System.Web.Http;
3 |
4 | namespace GitLogService
5 | {
6 | public class Startup
7 | {
8 | public void Configuration(IAppBuilder app)
9 | {
10 | var config = ConfigureApi();
11 | app.UseWebApi(config);
12 | }
13 |
14 | private HttpConfiguration ConfigureApi()
15 | {
16 | var config = new HttpConfiguration();
17 | config.Routes.MapHttpRoute(
18 | "DefaultApi",
19 | "api/{controller}/{id}",
20 | new { id = RouteParameter.Optional });
21 | return config;
22 | }
23 | }
24 | }
25 |
--------------------------------------------------------------------------------
/src/GitLogService/WelcomeController.cs:
--------------------------------------------------------------------------------
1 | using System.Web.Http;
2 |
3 | namespace GitLogService
4 | {
5 | public class WelcomeController : ApiController
6 | {
7 | public string Get()
8 | {
9 | return "hi. ahnshy Welcome controller";
10 | }
11 | }
12 | }
13 |
--------------------------------------------------------------------------------
/src/GitLogService/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/src/packages/Microsoft.AspNet.WebApi.Client.5.2.3/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.AspNet.WebApi.Client.5.2.3/.signature.p7s
--------------------------------------------------------------------------------
/src/packages/Microsoft.AspNet.WebApi.Client.5.2.3/Microsoft.AspNet.WebApi.Client.5.2.3.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.AspNet.WebApi.Client.5.2.3/Microsoft.AspNet.WebApi.Client.5.2.3.nupkg
--------------------------------------------------------------------------------
/src/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/net45/System.Net.Http.Formatting.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/net45/System.Net.Http.Formatting.dll
--------------------------------------------------------------------------------
/src/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/portable-wp8+netcore45+net45+wp81+wpa81/System.Net.Http.Formatting.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.AspNet.WebApi.Client.5.2.3/lib/portable-wp8+netcore45+net45+wp81+wpa81/System.Net.Http.Formatting.dll
--------------------------------------------------------------------------------
/src/packages/Microsoft.AspNet.WebApi.Core.5.2.3/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.AspNet.WebApi.Core.5.2.3/.signature.p7s
--------------------------------------------------------------------------------
/src/packages/Microsoft.AspNet.WebApi.Core.5.2.3/Content/web.config.transform:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/src/packages/Microsoft.AspNet.WebApi.Core.5.2.3/Microsoft.AspNet.WebApi.Core.5.2.3.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.AspNet.WebApi.Core.5.2.3/Microsoft.AspNet.WebApi.Core.5.2.3.nupkg
--------------------------------------------------------------------------------
/src/packages/Microsoft.AspNet.WebApi.Core.5.2.3/lib/net45/System.Web.Http.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.AspNet.WebApi.Core.5.2.3/lib/net45/System.Web.Http.dll
--------------------------------------------------------------------------------
/src/packages/Microsoft.AspNet.WebApi.Owin.5.2.3/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.AspNet.WebApi.Owin.5.2.3/.signature.p7s
--------------------------------------------------------------------------------
/src/packages/Microsoft.AspNet.WebApi.Owin.5.2.3/Microsoft.AspNet.WebApi.Owin.5.2.3.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.AspNet.WebApi.Owin.5.2.3/Microsoft.AspNet.WebApi.Owin.5.2.3.nupkg
--------------------------------------------------------------------------------
/src/packages/Microsoft.AspNet.WebApi.Owin.5.2.3/lib/net45/System.Web.Http.Owin.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.AspNet.WebApi.Owin.5.2.3/lib/net45/System.Web.Http.Owin.dll
--------------------------------------------------------------------------------
/src/packages/Microsoft.AspNet.WebApi.Owin.5.2.3/lib/net45/System.Web.Http.Owin.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | System.Web.Http.Owin
5 |
6 |
7 |
8 | Provides extension methods for the class.
9 |
10 |
11 | Gets the OWIN context for the specified request.
12 | The OWIN environment for the specified context, if available; otherwise .
13 | The HTTP request message.
14 |
15 |
16 | Gets the OWIN environment for the specified request.
17 | The OWIN environment for the specified request, if available; otherwise .
18 | The HTTP request message.
19 |
20 |
21 | Sets the OWIN context for the specified request.
22 | The HTTP request message.
23 | The OWIN context to set.
24 |
25 |
26 | Sets the OWIN environment for the specified request.
27 | The HTTP request message.
28 | The OWIN environment to set.
29 |
30 |
31 | Represents an authentication attribute that authenticates via OWIN middleware.
32 |
33 |
34 | Initializes a new instance of the class.
35 | The authentication type of the OWIN middleware to use.
36 |
37 |
38 |
39 |
40 | Gets the authentication type of the OWIN middleware to use.
41 |
42 |
43 |
44 | Represents an authentication filter that authenticates via OWIN middleware.
45 |
46 |
47 | Initializes a new instance of the class.
48 | The authentication type of the OWIN middleware to use.
49 |
50 |
51 | Gets a value indicating whether the filter allows multiple authentication.
52 | true if the filter allows multiple authentication; otherwise, false.
53 |
54 |
55 | Asynchronously authenticates the request.
56 | The task that completes the authentication.
57 | The authentication context.
58 | The cancellation token.
59 |
60 |
61 | Gets the authentication type of the OWIN middleware to use.
62 | The authentication type of the OWIN middleware to use.
63 |
64 |
65 | Asynchronously challenges an authentication.
66 | The task that completes the challenge.
67 | The context.
68 | The cancellation token.
69 |
70 |
71 | Provides extension methods for the class.
72 |
73 |
74 | Enables suppression of the host's default authentication.
75 | The server configuration.
76 |
77 |
78 | Represents an OWIN component that submits requests to an when invoked.
79 |
80 |
81 | Initializes a new instance of the class.
82 | The next component in the pipeline.
83 | The to submit requests to.
84 | The that determines whether or not to buffer requests and responses.
85 |
86 |
87 | Initializes a new instance of the class.
88 | The next component in the pipeline.
89 | The options to configure this adapter.
90 |
91 |
92 | Gets the cancellation token that triggers cleanup of this component.
93 | The cancellation token.
94 |
95 |
96 | Gets the that determines whether or not to buffer requests and responses.
97 | The that determines whether or not to buffer requests and responses.
98 |
99 |
100 | Releases all resources used by the current instance of the class.
101 |
102 |
103 | Releases unmanaged and optionally managed resources.
104 | true to release both managed and unmanaged resources; false to release only unmanaged resources.
105 |
106 |
107 | Gets the to use to process unhandled exceptions.
108 | The to use to process unhandled exceptions.
109 |
110 |
111 | Gets the to use to log unhandled exceptions.
112 | The to use to log unhandled exceptions.
113 |
114 |
115 | Returns .
116 |
117 |
118 | Gets the to submit requests to.
119 | The to submit requests to.
120 |
121 |
122 | Represents the options for configuring an .
123 |
124 |
125 | Initializes a new instance of the class.
126 |
127 |
128 | Gets or sets the that triggers cleanup of the .
129 | The that triggers cleanup of the .
130 |
131 |
132 | Gets or sets the that determines whether or not to buffer requests and responses.
133 | The that determines whether or not to buffer requests and responses.
134 |
135 |
136 | Gets or sets the to use to process unhandled exceptions.
137 | The to use to process unhandled exceptions.
138 |
139 |
140 | Gets or sets the to use to log unhandled exceptions.
141 | The to use to log unhandled exceptions.
142 |
143 |
144 | Gets or sets the to submit requests to.
145 | The to submit requests to.
146 |
147 |
148 | Provides the default implementation of used by the OWIN Web API adapter.
149 |
150 |
151 | Initializes a new instance of the class.
152 |
153 |
154 | Determines whether the host should buffer the HttpRequestMessage entity body.
155 | true if buffering should be used; otherwise a streamed request should be used.
156 | The host context.
157 |
158 |
159 | Determines whether the host should buffer the HttpResponseMessage entity body.
160 | true if buffering should be used; otherwise a streamed response should be used.
161 | The response.
162 |
163 |
164 | Provides the catch blocks used within this assembly.
165 |
166 |
167 | Gets the catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.BufferContent.
168 | The catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.BufferContent.
169 |
170 |
171 | Gets the catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.BufferError.
172 | The catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.BufferError.
173 |
174 |
175 | Gets the catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.ComputeContentLength.
176 | The catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.ComputeContentLength.
177 |
178 |
179 | Gets the catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.StreamContent.
180 | The catch block in System.Web.Http.Owin.HttpMessageHandlerAdapter.StreamContent.
181 |
182 |
183 | Represents a message handler that treats all OWIN authentication middleware as passive.
184 |
185 |
186 | Initializes a new instance of the class.
187 |
188 |
189 | Asynchronously sends a message request.
190 | The task that completes the asynchronous operation.
191 | The message request.
192 | The cancellation token.
193 |
194 |
195 |
--------------------------------------------------------------------------------
/src/packages/Microsoft.AspNet.WebApi.OwinSelfHost.5.2.3/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.AspNet.WebApi.OwinSelfHost.5.2.3/.signature.p7s
--------------------------------------------------------------------------------
/src/packages/Microsoft.AspNet.WebApi.OwinSelfHost.5.2.3/Microsoft.AspNet.WebApi.OwinSelfHost.5.2.3.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.AspNet.WebApi.OwinSelfHost.5.2.3/Microsoft.AspNet.WebApi.OwinSelfHost.5.2.3.nupkg
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.2.0.2/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.Owin.2.0.2/.signature.p7s
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.2.0.2/Microsoft.Owin.2.0.2.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.Owin.2.0.2/Microsoft.Owin.2.0.2.nupkg
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.2.0.2/lib/net40/Microsoft.Owin.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.Owin.2.0.2/lib/net40/Microsoft.Owin.dll
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.2.0.2/lib/net45/Microsoft.Owin.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.Owin.2.0.2/lib/net45/Microsoft.Owin.dll
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.Host.HttpListener.2.0.2/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.Owin.Host.HttpListener.2.0.2/.signature.p7s
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.Host.HttpListener.2.0.2/Microsoft.Owin.Host.HttpListener.2.0.2.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.Owin.Host.HttpListener.2.0.2/Microsoft.Owin.Host.HttpListener.2.0.2.nupkg
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.Host.HttpListener.2.0.2/lib/net40/Microsoft.Owin.Host.HttpListener.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.Owin.Host.HttpListener.2.0.2/lib/net40/Microsoft.Owin.Host.HttpListener.dll
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.Host.HttpListener.2.0.2/lib/net40/Microsoft.Owin.Host.HttpListener.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Microsoft.Owin.Host.HttpListener
5 |
6 |
7 |
8 |
9 | Provided as a down-level stub for the 4.5 AssemblyMetaDataAttribute class.
10 | All released assemblies should define [AssemblyMetadata("Serviceable", "True")].
11 |
12 |
13 |
14 |
15 | This class is used to wrap other streams and convert some exception types.
16 |
17 |
18 |
19 |
20 | This wraps HttpListenerRequest's WebHeaderCollection (NameValueCollection) and adapts it to
21 | the OWIN required IDictionary surface area. It remains fully mutable, but you will be subject
22 | to the header validations performed by the underlying collection.
23 |
24 |
25 |
26 |
27 | This wraps HttpListener and exposes it as an OWIN compatible server.
28 |
29 |
30 |
31 |
32 | Creates a listener wrapper that can be configured by the user before starting.
33 |
34 |
35 |
36 |
37 | These are merged as one call because they should be swapped out atomically.
38 | This controls how many requests the server attempts to process concurrently.
39 |
40 | The maximum number of pending request receives.
41 | The maximum number of active requests being processed.
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 | Starts the listener and request processing threads.
53 |
54 |
55 |
56 |
57 | Shuts down the listener and disposes it.
58 |
59 |
60 |
61 |
62 | The HttpListener instance wrapped by this wrapper.
63 |
64 |
65 |
66 |
67 | This wraps an HttpListenerRequest and exposes it as an OWIN environment IDictionary.
68 |
69 |
70 |
71 |
72 | Initializes a new instance of the class.
73 | Uses the given request object to populate the OWIN standard keys in the environment IDictionary.
74 | Most values are copied so that they can be mutable, but the headers collection is only wrapped.
75 |
76 |
77 |
78 |
79 | This wraps an HttpListenerResponse, populates it with the given response fields, and relays
80 | the response body to the underlying stream.
81 |
82 |
83 |
84 |
85 | Initializes a new instance of the class.
86 | Sets up the Environment with the necessary request state items.
87 |
88 |
89 |
90 |
91 | A strongly-typed resource class, for looking up localized strings, etc.
92 |
93 |
94 |
95 |
96 | Returns the cached ResourceManager instance used by this class.
97 |
98 |
99 |
100 |
101 | Overrides the current thread's CurrentUICulture property for all
102 | resource lookups using this strongly typed resource class.
103 |
104 |
105 |
106 |
107 | Looks up a localized string similar to The key '{0}' is already present in the dictionary..
108 |
109 |
110 |
111 |
112 | Looks up a localized string similar to App errors on disconnect notification..
113 |
114 |
115 |
116 |
117 | Looks up a localized string similar to Exception during request processing..
118 |
119 |
120 |
121 |
122 | Looks up a localized string similar to Unable to resolve handles. Disconnect notifications will be ignored..
123 |
124 |
125 |
126 |
127 | Looks up a localized string similar to Unexpected exception..
128 |
129 |
130 |
131 |
132 | Implements the Katana setup pattern for the OwinHttpListener server.
133 |
134 |
135 |
136 |
137 | Advertise the capabilities of the server.
138 |
139 |
140 |
141 |
142 |
143 | Creates an OwinHttpListener and starts listening on the given URL.
144 |
145 | The application entry point.
146 | The addresses to listen on.
147 | The OwinHttpListener. Invoke Dispose to shut down.
148 |
149 |
150 |
151 |
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.Host.HttpListener.2.0.2/lib/net45/Microsoft.Owin.Host.HttpListener.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.Owin.Host.HttpListener.2.0.2/lib/net45/Microsoft.Owin.Host.HttpListener.dll
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.Host.HttpListener.2.0.2/lib/net45/Microsoft.Owin.Host.HttpListener.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Microsoft.Owin.Host.HttpListener
5 |
6 |
7 |
8 |
9 | This class is used to wrap other streams and convert some exception types.
10 |
11 |
12 |
13 |
14 | This wraps HttpListenerRequest's WebHeaderCollection (NameValueCollection) and adapts it to
15 | the OWIN required IDictionary surface area. It remains fully mutable, but you will be subject
16 | to the header validations performed by the underlying collection.
17 |
18 |
19 |
20 |
21 | This wraps HttpListener and exposes it as an OWIN compatible server.
22 |
23 |
24 |
25 |
26 | Creates a listener wrapper that can be configured by the user before starting.
27 |
28 |
29 |
30 |
31 | These are merged as one call because they should be swapped out atomically.
32 | This controls how many requests the server attempts to process concurrently.
33 |
34 | The maximum number of pending request receives.
35 | The maximum number of active requests being processed.
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 | Starts the listener and request processing threads.
47 |
48 |
49 |
50 |
51 | Shuts down the listener and disposes it.
52 |
53 |
54 |
55 |
56 | The HttpListener instance wrapped by this wrapper.
57 |
58 |
59 |
60 |
61 | This wraps an HttpListenerRequest and exposes it as an OWIN environment IDictionary.
62 |
63 |
64 |
65 |
66 | Initializes a new instance of the class.
67 | Uses the given request object to populate the OWIN standard keys in the environment IDictionary.
68 | Most values are copied so that they can be mutable, but the headers collection is only wrapped.
69 |
70 |
71 |
72 |
73 | This wraps an HttpListenerResponse, populates it with the given response fields, and relays
74 | the response body to the underlying stream.
75 |
76 |
77 |
78 |
79 | Initializes a new instance of the class.
80 | Sets up the Environment with the necessary request state items.
81 |
82 |
83 |
84 |
85 | A strongly-typed resource class, for looking up localized strings, etc.
86 |
87 |
88 |
89 |
90 | Returns the cached ResourceManager instance used by this class.
91 |
92 |
93 |
94 |
95 | Overrides the current thread's CurrentUICulture property for all
96 | resource lookups using this strongly typed resource class.
97 |
98 |
99 |
100 |
101 | Looks up a localized string similar to The key '{0}' is already present in the dictionary..
102 |
103 |
104 |
105 |
106 | Looks up a localized string similar to App errors on disconnect notification..
107 |
108 |
109 |
110 |
111 | Looks up a localized string similar to Exception during request processing..
112 |
113 |
114 |
115 |
116 | Looks up a localized string similar to Unable to resolve handles. Disconnect notifications will be ignored..
117 |
118 |
119 |
120 |
121 | Looks up a localized string similar to Unexpected exception..
122 |
123 |
124 |
125 |
126 | Implements the Katana setup pattern for the OwinHttpListener server.
127 |
128 |
129 |
130 |
131 | Advertise the capabilities of the server.
132 |
133 |
134 |
135 |
136 |
137 | Creates an OwinHttpListener and starts listening on the given URL.
138 |
139 | The application entry point.
140 | The addresses to listen on.
141 | The OwinHttpListener. Invoke Dispose to shut down.
142 |
143 |
144 |
145 | Standard keys and values for use within the OWIN interfaces
146 |
147 |
148 |
149 |
150 |
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.Hosting.2.0.2/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.Owin.Hosting.2.0.2/.signature.p7s
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.Hosting.2.0.2/Microsoft.Owin.Hosting.2.0.2.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.Owin.Hosting.2.0.2/Microsoft.Owin.Hosting.2.0.2.nupkg
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.Hosting.2.0.2/lib/net40/Microsoft.Owin.Hosting.XML:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Microsoft.Owin.Hosting
5 |
6 |
7 |
8 |
9 | Provided as a down-level stub for the 4.5 AssemblyMetaDataAttribute class.
10 | All released assemblies should define [AssemblyMetadata("Serviceable", "True")].
11 |
12 |
13 |
14 |
15 | Locates the startup class based on the following convention:
16 | AssemblyName.Startup, with a method named Configuration
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 | Allows for a fallback loader to be specified.
27 |
28 |
29 |
30 |
31 |
32 | Allows for a fallback loader and a Dependency Injection activator to be specified.
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 | Executes the loader, searching for the entry point by name.
48 |
49 | The name of the assembly and type entry point
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 |
59 |
60 |
61 |
62 | A default fallback loader that does nothing.
63 |
64 |
65 |
66 |
67 | A placeholder method that always returns null.
68 |
69 |
70 |
71 | null.
72 |
73 |
74 |
75 | A singleton instance of the NullLoader type.
76 |
77 |
78 |
79 |
80 | A strongly-typed resource class, for looking up localized strings, etc.
81 |
82 |
83 |
84 |
85 | Returns the cached ResourceManager instance used by this class.
86 |
87 |
88 |
89 |
90 | Overrides the current thread's CurrentUICulture property for all
91 | resource lookups using this strongly typed resource class.
92 |
93 |
94 |
95 |
96 | Looks up a localized string similar to For the app startup parameter value '{0}', the assembly '{1}' was not found..
97 |
98 |
99 |
100 |
101 | Looks up a localized string similar to For the app startup parameter value '{0}', the class '{1}' was not found in assembly '{2}'..
102 |
103 |
104 |
105 |
106 | Looks up a localized string similar to The OwinStartup attribute discovered in assembly '{0}' referencing startup type '{1}' conflicts with the attribute in assembly '{2}' referencing startup type '{3}' because they have the same FriendlyName '{4}'. Remove or rename one of the attributes, or reference the desired type directly..
107 |
108 |
109 |
110 |
111 | Looks up a localized string similar to The discovered startup type '{0}' conflicts with the type '{1}'. Remove or rename one of the types, or reference the desired type directly..
112 |
113 |
114 |
115 |
116 | Looks up a localized string similar to The OwinStartupAttribute.FriendlyName value '{0}' does not match the given value '{1}' in Assembly '{2}'..
117 |
118 |
119 |
120 |
121 | Looks up a localized string similar to No '{0}' method was found in class '{1}'..
122 |
123 |
124 |
125 |
126 | Looks up a localized string similar to No assembly found containing a Startup or [AssemblyName].Startup class..
127 |
128 |
129 |
130 |
131 | Looks up a localized string similar to No assembly found containing an OwinStartupAttribute..
132 |
133 |
134 |
135 |
136 | Looks up a localized string similar to The OwinStartupAttribute.StartupType value is empty in Assembly '{0}'..
137 |
138 |
139 |
140 |
141 | Looks up a localized string similar to The type '{0}' referenced from assembly '{1}' does not define a property 'StartupType' of type 'Type'..
142 |
143 |
144 |
145 |
146 | Looks up a localized string similar to The given type or method '{0}' was not found. Try specifying the Assembly..
147 |
148 |
149 |
150 |
151 | Looks up a localized string similar to The '{0}' method on class '{1}' does not have the expected signature 'void {0}(IAppBuilder)'..
152 |
153 |
154 |
155 |
156 | Used to instantiate the server factory.
157 |
158 |
159 |
160 |
161 | Used to instantiate the server factory.
162 |
163 |
164 |
165 |
166 | Instantiate an instance of the given type.
167 |
168 |
169 |
170 |
171 |
172 |
173 |
174 |
175 |
176 |
177 |
178 |
179 | Instantiate an instance of the given type.
180 |
181 |
182 |
183 |
184 |
185 |
186 | Located and loads the server factory.
187 |
188 |
189 |
190 |
191 | Used to locate and load the named server factory.
192 |
193 |
194 |
195 |
196 | Used to locate and load the named server factory.
197 |
198 |
199 |
200 |
201 |
202 |
203 | Allows for a Dependency Injection activator to be specified.
204 |
205 |
206 |
207 |
208 |
209 | Executes the loader, searching for the server factory by name.
210 | Acceptable inputs:
211 | - Assembly.Name. Look for type Assembly.Name.ServerFactory in the assembly Assembly.Name.
212 | - Assembly.Name.FactoryName. Look for type Assembly.Name.FactoryName in the assembly Assembly.Name.
213 |
214 | The name of the assembly and type of the server factory
215 |
216 |
217 |
218 |
219 | The basic ServerFactory contract.
220 |
221 |
222 |
223 |
224 | An optional method that allows the server factory to specify its capabilities.
225 |
226 |
227 |
228 |
229 |
230 | Starts a server with the given app instance.
231 |
232 |
233 |
234 |
235 |
236 |
237 | Attempts to find the entry point for an app.
238 |
239 |
240 |
241 |
242 | Attempts to find the entry point for an app.
243 |
244 |
245 |
246 |
247 | Attempts to find the entry point for a given configuration string.
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 |
256 |
257 |
258 |
259 |
260 |
261 | Attempts to find the entry point for a given configuration string.
262 |
263 |
264 |
265 |
266 |
267 |
268 |
269 | A strongly-typed resource class, for looking up localized strings, etc.
270 |
271 |
272 |
273 |
274 | Returns the cached ResourceManager instance used by this class.
275 |
276 |
277 |
278 |
279 | Overrides the current thread's CurrentUICulture property for all
280 | resource lookups using this strongly typed resource class.
281 |
282 |
283 |
284 |
285 | Looks up a localized string similar to The following errors occurred while attempting to load the app..
286 |
287 |
288 |
289 |
290 | Looks up a localized string similar to Failed to resolve an instance of {0} from the IServiceProvider..
291 |
292 |
293 |
294 |
295 | Looks up a localized string similar to The '{0}' Create method must take two parameters..
296 |
297 |
298 |
299 |
300 | Looks up a localized string similar to The '{0}' Create method must have a second parameter of type IDictionary<string,object>..
301 |
302 |
303 |
304 |
305 | Looks up a localized string similar to The server factory could not be located for the given input: {0}.
306 |
307 |
308 |
309 |
310 | The basic ServerFactory contract.
311 |
312 |
313 |
314 |
315 | Creates a wrapper around the given server factory instance.
316 |
317 |
318 |
319 |
320 |
321 | Creates a wrapper around the given server factory type.
322 |
323 |
324 |
325 |
326 |
327 |
328 | Calls the optional Initialize method on the server factory.
329 | The method may be static or instance, and may accept either
330 | an IAppBuilder or the IAppBuilder.Properties IDictionary<string, object>.
331 |
332 |
333 |
334 |
335 |
336 | Calls the Create method on the server factory.
337 | The method may be static or instance, and may accept the AppFunc and the
338 | IAppBuilder.Properties IDictionary<string, object>.
339 |
340 |
341 |
342 |
343 |
344 |
345 | Helper code for the various activator services.
346 |
347 |
348 |
349 |
350 | Retrieve an instance of the given type from the service provider. If one is not found then instantiate it directly.
351 |
352 |
353 |
354 |
355 |
356 |
357 |
358 | Instantiate an object of the given type, using constructor service injection if possible.
359 |
360 |
361 |
362 |
363 |
364 |
365 |
366 | Creates a factory to instantiate a type using constructor service injection if possible.
367 |
368 |
369 |
370 |
371 |
372 |
373 | Used to instantiate the application entry point. e.g. the Startup class.
374 |
375 |
376 |
377 |
378 | Used to instantiate the application entry point. e.g. the Startup class.
379 |
380 |
381 |
382 |
383 | Instantiate an instance of the given type.
384 |
385 |
386 |
387 |
388 |
389 |
390 | Creates a new AppActivator.
391 |
392 |
393 |
394 |
395 |
396 | Instantiate an instance of the given type, injecting any available services.
397 |
398 |
399 |
400 |
401 |
402 |
403 | Provides an IAppBuilder instance based on Microsoft.Owin.Builder.AppBuilder.
404 |
405 |
406 |
407 |
408 | Provides an IAppBuilder instance.
409 |
410 |
411 |
412 |
413 | Create a new IAppBuilder instance.
414 |
415 |
416 |
417 |
418 |
419 | Create a new IAppBuilder instance based on Microsoft.Owin.Builder.AppBuilder.
420 |
421 |
422 |
423 |
424 |
425 | Initializes a new app loader.
426 |
427 |
428 |
429 |
430 | Initializes a new app loader.
431 |
432 |
433 |
434 |
435 | Create a new chained app loader.
436 |
437 |
438 |
439 |
440 |
441 |
442 | Not currently used.
443 |
444 |
445 |
446 |
447 |
448 |
449 |
450 |
451 |
452 |
453 | Create a new chained app loader.
454 |
455 |
456 |
457 |
458 |
459 |
460 | Not currently used.
461 |
462 |
463 |
464 |
465 | Create a default ServiceProvider with input from a variety or sources.
466 |
467 |
468 |
469 |
470 | Create a default ServiceProvider with the given settings.
471 |
472 |
473 |
474 |
475 |
476 |
477 |
478 | Create a default ServiceProvider with the given settings file.
479 |
480 |
481 |
482 |
483 |
484 |
485 |
486 | Create a default ServiceProvider.
487 |
488 |
489 |
490 |
491 |
492 |
493 | Create a default ServiceProvider with the given settings.
494 |
495 |
496 |
497 |
498 |
499 |
500 | Create a default ServiceProvider with the given settings file.
501 |
502 |
503 |
504 |
505 |
506 |
507 | Create a default ServiceProvider.
508 |
509 |
510 |
511 |
512 |
513 | Enumerate the default service types with the given settings overrides.
514 |
515 |
516 |
517 |
518 |
519 |
520 | Enumerate the default service types with the given settings file overrides.
521 |
522 |
523 |
524 |
525 |
526 |
527 | Enumerate the default service types.
528 |
529 |
530 |
531 |
532 |
533 | Loads settings from various locations.
534 |
535 |
536 |
537 |
538 | Load settings from the AppSettings section of the config file.
539 |
540 |
541 |
542 |
543 |
544 | Load settings from the AppSettings section of the config file.
545 |
546 |
547 |
548 |
549 |
550 | Load settings from a flat text file.
551 |
552 |
553 |
554 |
555 |
556 |
557 | Load settings from a flat text file.
558 |
559 |
560 |
561 |
562 |
563 |
564 | Extension methods for IServiceProvider.
565 |
566 |
567 |
568 |
569 | Retrieve a service of type T from the IServiceProvider.
570 |
571 |
572 |
573 |
574 |
575 |
576 |
577 | The default IServiceProvider.
578 |
579 |
580 |
581 |
582 |
583 |
584 |
585 |
586 |
587 | Gets the service object of the specified type.
588 |
589 |
590 |
591 |
592 |
593 |
594 | Remove all occurrences of the given type from the provider.
595 |
596 |
597 |
598 |
599 |
600 |
601 | Remove all occurrences of the given type from the provider.
602 |
603 |
604 |
605 |
606 |
607 |
608 | Add an instance of type TService to the list of providers.
609 |
610 |
611 |
612 |
613 |
614 |
615 |
616 | Add an instance of the given type to the list of providers.
617 |
618 |
619 |
620 |
621 |
622 |
623 |
624 | Specify that services of the type TService should be fulfilled by the type TImplementation.
625 |
626 |
627 |
628 |
629 |
630 |
631 |
632 | Specify that services of the type serviceType should be fulfilled by the type implementationType.
633 |
634 |
635 |
636 |
637 |
638 |
639 |
640 | Specify that services of the given type should be created with the given serviceFactory.
641 |
642 |
643 |
644 |
645 |
646 |
647 |
648 | Opens a stream writer for the given file.
649 |
650 |
651 |
652 |
653 | Used to create the trace output.
654 |
655 |
656 |
657 |
658 | Used to create the trace output.
659 |
660 |
661 |
662 |
663 |
664 |
665 | Opens a stream writer for the given file.
666 |
667 |
668 |
669 |
670 |
671 |
672 | Instantiates instances of the IHostingStarter.
673 |
674 |
675 |
676 |
677 | Instantiates instances of the IHostingStarter.
678 |
679 |
680 |
681 |
682 | Instantiates instances of the IHostingStarter.
683 |
684 |
685 |
686 |
687 |
688 |
689 |
690 |
691 |
692 |
693 |
694 |
695 | Instantiates instances of the IHostingStarter.
696 |
697 |
698 |
699 |
700 |
701 |
702 | Executes the IHostingEngine without making any changes to the current execution environment.
703 |
704 |
705 |
706 |
707 | Performs any necessary environment setup prior to executing the IHostingEngine.
708 |
709 |
710 |
711 |
712 | Performs any necessary environment setup prior to executing the IHostingEngine.
713 |
714 |
715 |
716 |
717 |
718 |
719 |
720 |
721 |
722 |
723 |
724 |
725 | Executes the IHostingEngine without making any changes to the current execution environment.
726 |
727 |
728 |
729 |
730 |
731 |
732 | Used for executing the IHostingEngine in a new AppDomain.
733 |
734 |
735 |
736 |
737 | Registers a fallback assembly resolver that looks in the given directory.
738 |
739 |
740 |
741 |
742 |
743 | Executes the IHostingEngine in a new AppDomain.
744 |
745 |
746 |
747 |
748 |
749 |
750 |
751 |
752 |
753 |
754 |
755 |
756 |
757 |
758 |
759 |
760 | Renews the given lease for 5 minutes.
761 |
762 |
763 |
764 |
765 |
766 |
767 | Creates a new AppDomain to run the IHostingEngine in.
768 |
769 |
770 |
771 |
772 | Creates a new AppDomain to run the IHostingEngine in.
773 |
774 |
775 |
776 |
777 |
778 |
779 | This attribute is used to identify custom hosting starters that may be loaded at runtime.
780 |
781 |
782 |
783 |
784 |
785 |
786 |
787 |
788 |
789 |
790 |
791 |
792 |
793 |
794 |
795 | Creates a IHostingStarter for the given identifier.
796 |
797 |
798 |
799 |
800 | Creates a IHostingStarter for the given identifier.
801 |
802 |
803 |
804 |
805 |
806 |
807 | Selects from known hosting starters, or detects additional providers via convention.
808 |
809 |
810 |
811 |
812 |
813 |
814 |
815 |
816 |
817 |
818 | Selects from known hosting starters, or detects additional providers via convention.
819 |
820 |
821 |
822 |
823 |
824 |
825 | These methods are used to load, assemble, and start a web app.
826 |
827 |
828 |
829 |
830 | Start a web app using default settings and the given url and entry point.
831 | e.g. Discover the ServerFactory and run at the given url.
832 |
833 | An IDisposible instance that can be called to shut down the web app.
834 |
835 |
836 |
837 | Start a web app using the given settings and entry point, using defaults for items not specified.
838 |
839 | An IDisposible instance that can be called to shut down the web app.
840 |
841 |
842 |
843 | Start a web app using default settings and the given url and entry point type.
844 | e.g. Discover the ServerFactory and run at the given url.
845 |
846 | An IDisposible instance that can be called to shut down the web app.
847 |
848 |
849 |
850 | Start a web app using the given settings and entry point type, using defaults for items not specified.
851 |
852 | An IDisposible instance that can be called to shut down the web app.
853 |
854 |
855 |
856 | Start a web app using the given settings and entry point type, using defaults for items not specified.
857 |
858 | An IDisposible instance that can be called to shut down the web app.
859 |
860 |
861 |
862 | Start a web app using the given settings and entry point type, using defaults for items not specified.
863 |
864 | An IDisposible instance that can be called to shut down the web app.
865 |
866 |
867 |
868 |
869 |
870 |
871 |
872 |
873 |
874 |
875 |
876 |
877 |
878 |
879 |
880 |
881 |
882 |
883 | A list of url prefixes to listen on. Overrides port.
884 |
885 |
886 |
887 |
888 | A port to listen on.
889 |
890 |
891 |
892 |
893 | Parameter to locate and load web application startup routine
894 |
895 |
896 |
897 |
898 | Name of the assembly containing the http server implementation
899 |
900 |
901 |
902 |
903 | Optional settings used to override service types and other defaults
904 |
905 |
906 |
907 |
908 | Initializes and starts a web application.
909 |
910 |
911 |
912 |
913 | Initializes and starts a web application.
914 |
915 |
916 |
917 |
918 |
919 |
920 | Determines the which IHostingStarter instance to use via the IHostingSterterFactory.
921 |
922 |
923 |
924 |
925 |
926 |
927 |
928 |
929 |
930 |
931 | Determines the which IHostingStarter instance to use via the IHostingSterterFactory.
932 |
933 |
934 |
935 |
936 |
937 |
938 | Used to initialize and start a web application.
939 |
940 |
941 |
942 |
943 |
944 |
945 |
946 |
947 |
948 |
949 |
950 |
951 |
952 | Initialize and start a web application.
953 | Major Steps:
954 | - Find and initialize the ServerFactory
955 | - Find and initialize the application
956 | - Start the server
957 |
958 |
959 |
960 |
961 |
962 |
963 | This class contains the relevant application and server state during startup.
964 |
965 |
966 |
967 |
968 | Create a new StartContext with the given options.
969 | If the given options do not define any settings, then settings will be loaded from the config.
970 |
971 |
972 |
973 |
974 |
975 | The initial options provided to the constructor.
976 |
977 |
978 |
979 |
980 | The factory used to instantiate the server.
981 |
982 |
983 |
984 |
985 | The IAppBuilder used to construct the OWIN application pipeline.
986 |
987 |
988 |
989 |
990 | The constructed OWIN application pipeline.
991 |
992 |
993 |
994 |
995 | The application entry point where the pipeline is defined.
996 |
997 |
998 |
999 |
1000 | A TextWriter for writing diagnostic data to.
1001 |
1002 |
1003 |
1004 |
1005 | A list of keys and their associated values that will be injected by the host into each OWIN request environment.
1006 |
1007 |
1008 |
1009 |
1010 |
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.Hosting.2.0.2/lib/net40/Microsoft.Owin.Hosting.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.Owin.Hosting.2.0.2/lib/net40/Microsoft.Owin.Hosting.dll
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.Hosting.2.0.2/lib/net45/Microsoft.Owin.Hosting.XML:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Microsoft.Owin.Hosting
5 |
6 |
7 |
8 |
9 | Locates the startup class based on the following convention:
10 | AssemblyName.Startup, with a method named Configuration
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | Allows for a fallback loader to be specified.
21 |
22 |
23 |
24 |
25 |
26 | Allows for a fallback loader and a Dependency Injection activator to be specified.
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 | Executes the loader, searching for the entry point by name.
42 |
43 | The name of the assembly and type entry point
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 | A default fallback loader that does nothing.
57 |
58 |
59 |
60 |
61 | A placeholder method that always returns null.
62 |
63 |
64 |
65 | null.
66 |
67 |
68 |
69 | A singleton instance of the NullLoader type.
70 |
71 |
72 |
73 |
74 | A strongly-typed resource class, for looking up localized strings, etc.
75 |
76 |
77 |
78 |
79 | Returns the cached ResourceManager instance used by this class.
80 |
81 |
82 |
83 |
84 | Overrides the current thread's CurrentUICulture property for all
85 | resource lookups using this strongly typed resource class.
86 |
87 |
88 |
89 |
90 | Looks up a localized string similar to For the app startup parameter value '{0}', the assembly '{1}' was not found..
91 |
92 |
93 |
94 |
95 | Looks up a localized string similar to For the app startup parameter value '{0}', the class '{1}' was not found in assembly '{2}'..
96 |
97 |
98 |
99 |
100 | Looks up a localized string similar to The OwinStartup attribute discovered in assembly '{0}' referencing startup type '{1}' conflicts with the attribute in assembly '{2}' referencing startup type '{3}' because they have the same FriendlyName '{4}'. Remove or rename one of the attributes, or reference the desired type directly..
101 |
102 |
103 |
104 |
105 | Looks up a localized string similar to The discovered startup type '{0}' conflicts with the type '{1}'. Remove or rename one of the types, or reference the desired type directly..
106 |
107 |
108 |
109 |
110 | Looks up a localized string similar to The OwinStartupAttribute.FriendlyName value '{0}' does not match the given value '{1}' in Assembly '{2}'..
111 |
112 |
113 |
114 |
115 | Looks up a localized string similar to No '{0}' method was found in class '{1}'..
116 |
117 |
118 |
119 |
120 | Looks up a localized string similar to No assembly found containing a Startup or [AssemblyName].Startup class..
121 |
122 |
123 |
124 |
125 | Looks up a localized string similar to No assembly found containing an OwinStartupAttribute..
126 |
127 |
128 |
129 |
130 | Looks up a localized string similar to The OwinStartupAttribute.StartupType value is empty in Assembly '{0}'..
131 |
132 |
133 |
134 |
135 | Looks up a localized string similar to The type '{0}' referenced from assembly '{1}' does not define a property 'StartupType' of type 'Type'..
136 |
137 |
138 |
139 |
140 | Looks up a localized string similar to The given type or method '{0}' was not found. Try specifying the Assembly..
141 |
142 |
143 |
144 |
145 | Looks up a localized string similar to The '{0}' method on class '{1}' does not have the expected signature 'void {0}(IAppBuilder)'..
146 |
147 |
148 |
149 |
150 | Used to instantiate the server factory.
151 |
152 |
153 |
154 |
155 | Used to instantiate the server factory.
156 |
157 |
158 |
159 |
160 | Instantiate an instance of the given type.
161 |
162 |
163 |
164 |
165 |
166 |
167 |
168 |
169 |
170 |
171 |
172 |
173 | Instantiate an instance of the given type.
174 |
175 |
176 |
177 |
178 |
179 |
180 | Located and loads the server factory.
181 |
182 |
183 |
184 |
185 | Used to locate and load the named server factory.
186 |
187 |
188 |
189 |
190 | Used to locate and load the named server factory.
191 |
192 |
193 |
194 |
195 |
196 |
197 | Allows for a Dependency Injection activator to be specified.
198 |
199 |
200 |
201 |
202 |
203 | Executes the loader, searching for the server factory by name.
204 | Acceptable inputs:
205 | - Assembly.Name. Look for type Assembly.Name.ServerFactory in the assembly Assembly.Name.
206 | - Assembly.Name.FactoryName. Look for type Assembly.Name.FactoryName in the assembly Assembly.Name.
207 |
208 | The name of the assembly and type of the server factory
209 |
210 |
211 |
212 |
213 | The basic ServerFactory contract.
214 |
215 |
216 |
217 |
218 | An optional method that allows the server factory to specify its capabilities.
219 |
220 |
221 |
222 |
223 |
224 | Starts a server with the given app instance.
225 |
226 |
227 |
228 |
229 |
230 |
231 | Attempts to find the entry point for an app.
232 |
233 |
234 |
235 |
236 | Attempts to find the entry point for an app.
237 |
238 |
239 |
240 |
241 | Attempts to find the entry point for a given configuration string.
242 |
243 |
244 |
245 |
246 |
247 |
248 |
249 |
250 |
251 |
252 |
253 |
254 |
255 | Attempts to find the entry point for a given configuration string.
256 |
257 |
258 |
259 |
260 |
261 |
262 |
263 | A strongly-typed resource class, for looking up localized strings, etc.
264 |
265 |
266 |
267 |
268 | Returns the cached ResourceManager instance used by this class.
269 |
270 |
271 |
272 |
273 | Overrides the current thread's CurrentUICulture property for all
274 | resource lookups using this strongly typed resource class.
275 |
276 |
277 |
278 |
279 | Looks up a localized string similar to The following errors occurred while attempting to load the app..
280 |
281 |
282 |
283 |
284 | Looks up a localized string similar to Failed to resolve an instance of {0} from the IServiceProvider..
285 |
286 |
287 |
288 |
289 | Looks up a localized string similar to The '{0}' Create method must take two parameters..
290 |
291 |
292 |
293 |
294 | Looks up a localized string similar to The '{0}' Create method must have a second parameter of type IDictionary<string,object>..
295 |
296 |
297 |
298 |
299 | Looks up a localized string similar to The server factory could not be located for the given input: {0}.
300 |
301 |
302 |
303 |
304 | The basic ServerFactory contract.
305 |
306 |
307 |
308 |
309 | Creates a wrapper around the given server factory instance.
310 |
311 |
312 |
313 |
314 |
315 | Creates a wrapper around the given server factory type.
316 |
317 |
318 |
319 |
320 |
321 |
322 | Calls the optional Initialize method on the server factory.
323 | The method may be static or instance, and may accept either
324 | an IAppBuilder or the IAppBuilder.Properties IDictionary<string, object>.
325 |
326 |
327 |
328 |
329 |
330 | Calls the Create method on the server factory.
331 | The method may be static or instance, and may accept the AppFunc and the
332 | IAppBuilder.Properties IDictionary<string, object>.
333 |
334 |
335 |
336 |
337 |
338 |
339 | Helper code for the various activator services.
340 |
341 |
342 |
343 |
344 | Retrieve an instance of the given type from the service provider. If one is not found then instantiate it directly.
345 |
346 |
347 |
348 |
349 |
350 |
351 |
352 | Instantiate an object of the given type, using constructor service injection if possible.
353 |
354 |
355 |
356 |
357 |
358 |
359 |
360 | Creates a factory to instantiate a type using constructor service injection if possible.
361 |
362 |
363 |
364 |
365 |
366 |
367 | Used to instantiate the application entry point. e.g. the Startup class.
368 |
369 |
370 |
371 |
372 | Used to instantiate the application entry point. e.g. the Startup class.
373 |
374 |
375 |
376 |
377 | Instantiate an instance of the given type.
378 |
379 |
380 |
381 |
382 |
383 |
384 | Creates a new AppActivator.
385 |
386 |
387 |
388 |
389 |
390 | Instantiate an instance of the given type, injecting any available services.
391 |
392 |
393 |
394 |
395 |
396 |
397 | Provides an IAppBuilder instance based on Microsoft.Owin.Builder.AppBuilder.
398 |
399 |
400 |
401 |
402 | Provides an IAppBuilder instance.
403 |
404 |
405 |
406 |
407 | Create a new IAppBuilder instance.
408 |
409 |
410 |
411 |
412 |
413 | Create a new IAppBuilder instance based on Microsoft.Owin.Builder.AppBuilder.
414 |
415 |
416 |
417 |
418 |
419 | Initializes a new app loader.
420 |
421 |
422 |
423 |
424 | Initializes a new app loader.
425 |
426 |
427 |
428 |
429 | Create a new chained app loader.
430 |
431 |
432 |
433 |
434 |
435 |
436 | Not currently used.
437 |
438 |
439 |
440 |
441 |
442 |
443 |
444 |
445 |
446 |
447 | Create a new chained app loader.
448 |
449 |
450 |
451 |
452 |
453 |
454 | Not currently used.
455 |
456 |
457 |
458 |
459 | Create a default ServiceProvider with input from a variety or sources.
460 |
461 |
462 |
463 |
464 | Create a default ServiceProvider with the given settings.
465 |
466 |
467 |
468 |
469 |
470 |
471 |
472 | Create a default ServiceProvider with the given settings file.
473 |
474 |
475 |
476 |
477 |
478 |
479 |
480 | Create a default ServiceProvider.
481 |
482 |
483 |
484 |
485 |
486 |
487 | Create a default ServiceProvider with the given settings.
488 |
489 |
490 |
491 |
492 |
493 |
494 | Create a default ServiceProvider with the given settings file.
495 |
496 |
497 |
498 |
499 |
500 |
501 | Create a default ServiceProvider.
502 |
503 |
504 |
505 |
506 |
507 | Enumerate the default service types with the given settings overrides.
508 |
509 |
510 |
511 |
512 |
513 |
514 | Enumerate the default service types with the given settings file overrides.
515 |
516 |
517 |
518 |
519 |
520 |
521 | Enumerate the default service types.
522 |
523 |
524 |
525 |
526 |
527 | Loads settings from various locations.
528 |
529 |
530 |
531 |
532 | Load settings from the AppSettings section of the config file.
533 |
534 |
535 |
536 |
537 |
538 | Load settings from the AppSettings section of the config file.
539 |
540 |
541 |
542 |
543 |
544 | Load settings from a flat text file.
545 |
546 |
547 |
548 |
549 |
550 |
551 | Load settings from a flat text file.
552 |
553 |
554 |
555 |
556 |
557 |
558 | Extension methods for IServiceProvider.
559 |
560 |
561 |
562 |
563 | Retrieve a service of type T from the IServiceProvider.
564 |
565 |
566 |
567 |
568 |
569 |
570 |
571 | The default IServiceProvider.
572 |
573 |
574 |
575 |
576 |
577 |
578 |
579 |
580 |
581 | Gets the service object of the specified type.
582 |
583 |
584 |
585 |
586 |
587 |
588 | Remove all occurrences of the given type from the provider.
589 |
590 |
591 |
592 |
593 |
594 |
595 | Remove all occurrences of the given type from the provider.
596 |
597 |
598 |
599 |
600 |
601 |
602 | Add an instance of type TService to the list of providers.
603 |
604 |
605 |
606 |
607 |
608 |
609 |
610 | Add an instance of the given type to the list of providers.
611 |
612 |
613 |
614 |
615 |
616 |
617 |
618 | Specify that services of the type TService should be fulfilled by the type TImplementation.
619 |
620 |
621 |
622 |
623 |
624 |
625 |
626 | Specify that services of the type serviceType should be fulfilled by the type implementationType.
627 |
628 |
629 |
630 |
631 |
632 |
633 |
634 | Specify that services of the given type should be created with the given serviceFactory.
635 |
636 |
637 |
638 |
639 |
640 |
641 |
642 | Opens a stream writer for the given file.
643 |
644 |
645 |
646 |
647 | Used to create the trace output.
648 |
649 |
650 |
651 |
652 | Used to create the trace output.
653 |
654 |
655 |
656 |
657 |
658 |
659 | Opens a stream writer for the given file.
660 |
661 |
662 |
663 |
664 |
665 |
666 | Instantiates instances of the IHostingStarter.
667 |
668 |
669 |
670 |
671 | Instantiates instances of the IHostingStarter.
672 |
673 |
674 |
675 |
676 | Instantiates instances of the IHostingStarter.
677 |
678 |
679 |
680 |
681 |
682 |
683 |
684 |
685 |
686 |
687 |
688 |
689 | Instantiates instances of the IHostingStarter.
690 |
691 |
692 |
693 |
694 |
695 |
696 | Executes the IHostingEngine without making any changes to the current execution environment.
697 |
698 |
699 |
700 |
701 | Performs any necessary environment setup prior to executing the IHostingEngine.
702 |
703 |
704 |
705 |
706 | Performs any necessary environment setup prior to executing the IHostingEngine.
707 |
708 |
709 |
710 |
711 |
712 |
713 |
714 |
715 |
716 |
717 |
718 |
719 | Executes the IHostingEngine without making any changes to the current execution environment.
720 |
721 |
722 |
723 |
724 |
725 |
726 | Used for executing the IHostingEngine in a new AppDomain.
727 |
728 |
729 |
730 |
731 | Registers a fallback assembly resolver that looks in the given directory.
732 |
733 |
734 |
735 |
736 |
737 | Executes the IHostingEngine in a new AppDomain.
738 |
739 |
740 |
741 |
742 |
743 |
744 |
745 |
746 |
747 |
748 |
749 |
750 |
751 |
752 |
753 |
754 | Renews the given lease for 5 minutes.
755 |
756 |
757 |
758 |
759 |
760 |
761 | Creates a new AppDomain to run the IHostingEngine in.
762 |
763 |
764 |
765 |
766 | Creates a new AppDomain to run the IHostingEngine in.
767 |
768 |
769 |
770 |
771 |
772 |
773 | This attribute is used to identify custom hosting starters that may be loaded at runtime.
774 |
775 |
776 |
777 |
778 |
779 |
780 |
781 |
782 |
783 |
784 |
785 |
786 |
787 |
788 |
789 | Creates a IHostingStarter for the given identifier.
790 |
791 |
792 |
793 |
794 | Creates a IHostingStarter for the given identifier.
795 |
796 |
797 |
798 |
799 |
800 |
801 | Selects from known hosting starters, or detects additional providers via convention.
802 |
803 |
804 |
805 |
806 |
807 |
808 |
809 |
810 |
811 |
812 | Selects from known hosting starters, or detects additional providers via convention.
813 |
814 |
815 |
816 |
817 |
818 |
819 | These methods are used to load, assemble, and start a web app.
820 |
821 |
822 |
823 |
824 | Start a web app using default settings and the given url and entry point.
825 | e.g. Discover the ServerFactory and run at the given url.
826 |
827 | An IDisposible instance that can be called to shut down the web app.
828 |
829 |
830 |
831 | Start a web app using the given settings and entry point, using defaults for items not specified.
832 |
833 | An IDisposible instance that can be called to shut down the web app.
834 |
835 |
836 |
837 | Start a web app using default settings and the given url and entry point type.
838 | e.g. Discover the ServerFactory and run at the given url.
839 |
840 | An IDisposible instance that can be called to shut down the web app.
841 |
842 |
843 |
844 | Start a web app using the given settings and entry point type, using defaults for items not specified.
845 |
846 | An IDisposible instance that can be called to shut down the web app.
847 |
848 |
849 |
850 | Start a web app using the given settings and entry point type, using defaults for items not specified.
851 |
852 | An IDisposible instance that can be called to shut down the web app.
853 |
854 |
855 |
856 | Start a web app using the given settings and entry point type, using defaults for items not specified.
857 |
858 | An IDisposible instance that can be called to shut down the web app.
859 |
860 |
861 |
862 |
863 |
864 |
865 |
866 |
867 |
868 |
869 |
870 |
871 |
872 |
873 |
874 |
875 |
876 |
877 | A list of url prefixes to listen on. Overrides port.
878 |
879 |
880 |
881 |
882 | A port to listen on.
883 |
884 |
885 |
886 |
887 | Parameter to locate and load web application startup routine
888 |
889 |
890 |
891 |
892 | Name of the assembly containing the http server implementation
893 |
894 |
895 |
896 |
897 | Optional settings used to override service types and other defaults
898 |
899 |
900 |
901 |
902 | Initializes and starts a web application.
903 |
904 |
905 |
906 |
907 | Initializes and starts a web application.
908 |
909 |
910 |
911 |
912 |
913 |
914 | Determines the which IHostingStarter instance to use via the IHostingSterterFactory.
915 |
916 |
917 |
918 |
919 |
920 |
921 |
922 |
923 |
924 |
925 | Determines the which IHostingStarter instance to use via the IHostingSterterFactory.
926 |
927 |
928 |
929 |
930 |
931 |
932 | Used to initialize and start a web application.
933 |
934 |
935 |
936 |
937 |
938 |
939 |
940 |
941 |
942 |
943 |
944 |
945 |
946 | Initialize and start a web application.
947 | Major Steps:
948 | - Find and initialize the ServerFactory
949 | - Find and initialize the application
950 | - Start the server
951 |
952 |
953 |
954 |
955 |
956 |
957 | This class contains the relevant application and server state during startup.
958 |
959 |
960 |
961 |
962 | Create a new StartContext with the given options.
963 | If the given options do not define any settings, then settings will be loaded from the config.
964 |
965 |
966 |
967 |
968 |
969 | The initial options provided to the constructor.
970 |
971 |
972 |
973 |
974 | The factory used to instantiate the server.
975 |
976 |
977 |
978 |
979 | The IAppBuilder used to construct the OWIN application pipeline.
980 |
981 |
982 |
983 |
984 | The constructed OWIN application pipeline.
985 |
986 |
987 |
988 |
989 | The application entry point where the pipeline is defined.
990 |
991 |
992 |
993 |
994 | A TextWriter for writing diagnostic data to.
995 |
996 |
997 |
998 |
999 | A list of keys and their associated values that will be injected by the host into each OWIN request environment.
1000 |
1001 |
1002 |
1003 |
1004 |
--------------------------------------------------------------------------------
/src/packages/Microsoft.Owin.Hosting.2.0.2/lib/net45/Microsoft.Owin.Hosting.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Microsoft.Owin.Hosting.2.0.2/lib/net45/Microsoft.Owin.Hosting.dll
--------------------------------------------------------------------------------
/src/packages/Newtonsoft.Json.6.0.4/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Newtonsoft.Json.6.0.4/.signature.p7s
--------------------------------------------------------------------------------
/src/packages/Newtonsoft.Json.6.0.4/Newtonsoft.Json.6.0.4.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Newtonsoft.Json.6.0.4/Newtonsoft.Json.6.0.4.nupkg
--------------------------------------------------------------------------------
/src/packages/Newtonsoft.Json.6.0.4/lib/net20/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Newtonsoft.Json.6.0.4/lib/net20/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/src/packages/Newtonsoft.Json.6.0.4/lib/net35/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Newtonsoft.Json.6.0.4/lib/net35/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/src/packages/Newtonsoft.Json.6.0.4/lib/net40/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Newtonsoft.Json.6.0.4/lib/net40/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/src/packages/Newtonsoft.Json.6.0.4/lib/net45/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Newtonsoft.Json.6.0.4/lib/net45/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/src/packages/Newtonsoft.Json.6.0.4/lib/netcore45/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Newtonsoft.Json.6.0.4/lib/netcore45/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/src/packages/Newtonsoft.Json.6.0.4/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Newtonsoft.Json.6.0.4/lib/portable-net40+sl5+wp80+win8+wpa81/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/src/packages/Newtonsoft.Json.6.0.4/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Newtonsoft.Json.6.0.4/lib/portable-net45+wp80+win8+wpa81/Newtonsoft.Json.dll
--------------------------------------------------------------------------------
/src/packages/Newtonsoft.Json.6.0.4/tools/install.ps1:
--------------------------------------------------------------------------------
1 | param($installPath, $toolsPath, $package, $project)
2 |
3 | # open json.net splash page on package install
4 | # don't open if json.net is installed as a dependency
5 |
6 | try
7 | {
8 | $url = "http://james.newtonking.com/json"
9 | $dte2 = Get-Interface $dte ([EnvDTE80.DTE2])
10 |
11 | if ($dte2.ActiveWindow.Caption -eq "Package Manager Console")
12 | {
13 | # user is installing from VS NuGet console
14 | # get reference to the window, the console host and the input history
15 | # show webpage if "install-package newtonsoft.json" was last input
16 |
17 | $consoleWindow = $(Get-VSComponentModel).GetService([NuGetConsole.IPowerConsoleWindow])
18 |
19 | $props = $consoleWindow.GetType().GetProperties([System.Reflection.BindingFlags]::Instance -bor `
20 | [System.Reflection.BindingFlags]::NonPublic)
21 |
22 | $prop = $props | ? { $_.Name -eq "ActiveHostInfo" } | select -first 1
23 | if ($prop -eq $null) { return }
24 |
25 | $hostInfo = $prop.GetValue($consoleWindow)
26 | if ($hostInfo -eq $null) { return }
27 |
28 | $history = $hostInfo.WpfConsole.InputHistory.History
29 |
30 | $lastCommand = $history | select -last 1
31 |
32 | if ($lastCommand)
33 | {
34 | $lastCommand = $lastCommand.Trim().ToLower()
35 | if ($lastCommand.StartsWith("install-package") -and $lastCommand.Contains("newtonsoft.json"))
36 | {
37 | $dte2.ItemOperations.Navigate($url) | Out-Null
38 | }
39 | }
40 | }
41 | else
42 | {
43 | # user is installing from VS NuGet dialog
44 | # get reference to the window, then smart output console provider
45 | # show webpage if messages in buffered console contains "installing...newtonsoft.json" in last operation
46 |
47 | $instanceField = [NuGet.Dialog.PackageManagerWindow].GetField("CurrentInstance", [System.Reflection.BindingFlags]::Static -bor `
48 | [System.Reflection.BindingFlags]::NonPublic)
49 | $consoleField = [NuGet.Dialog.PackageManagerWindow].GetField("_smartOutputConsoleProvider", [System.Reflection.BindingFlags]::Instance -bor `
50 | [System.Reflection.BindingFlags]::NonPublic)
51 | if ($instanceField -eq $null -or $consoleField -eq $null) { return }
52 |
53 | $instance = $instanceField.GetValue($null)
54 | if ($instance -eq $null) { return }
55 |
56 | $consoleProvider = $consoleField.GetValue($instance)
57 | if ($consoleProvider -eq $null) { return }
58 |
59 | $console = $consoleProvider.CreateOutputConsole($false)
60 |
61 | $messagesField = $console.GetType().GetField("_messages", [System.Reflection.BindingFlags]::Instance -bor `
62 | [System.Reflection.BindingFlags]::NonPublic)
63 | if ($messagesField -eq $null) { return }
64 |
65 | $messages = $messagesField.GetValue($console)
66 | if ($messages -eq $null) { return }
67 |
68 | $operations = $messages -split "=============================="
69 |
70 | $lastOperation = $operations | select -last 1
71 |
72 | if ($lastOperation)
73 | {
74 | $lastOperation = $lastOperation.ToLower()
75 |
76 | $lines = $lastOperation -split "`r`n"
77 |
78 | $installMatch = $lines | ? { $_.StartsWith("------- installing...newtonsoft.json ") } | select -first 1
79 |
80 | if ($installMatch)
81 | {
82 | $dte2.ItemOperations.Navigate($url) | Out-Null
83 | }
84 | }
85 | }
86 | }
87 | catch
88 | {
89 | # stop potential errors from bubbling up
90 | # worst case the splash page won't open
91 | }
92 |
93 | # yolo
--------------------------------------------------------------------------------
/src/packages/Owin.1.0/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Owin.1.0/.signature.p7s
--------------------------------------------------------------------------------
/src/packages/Owin.1.0/Owin.1.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Owin.1.0/Owin.1.0.nupkg
--------------------------------------------------------------------------------
/src/packages/Owin.1.0/lib/net40/Owin.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Owin.1.0/lib/net40/Owin.dll
--------------------------------------------------------------------------------
/src/packages/Topshelf.3.2.0/.signature.p7s:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Topshelf.3.2.0/.signature.p7s
--------------------------------------------------------------------------------
/src/packages/Topshelf.3.2.0/Topshelf.3.2.0.nupkg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Topshelf.3.2.0/Topshelf.3.2.0.nupkg
--------------------------------------------------------------------------------
/src/packages/Topshelf.3.2.0/lib/net35/Topshelf.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Topshelf.3.2.0/lib/net35/Topshelf.dll
--------------------------------------------------------------------------------
/src/packages/Topshelf.3.2.0/lib/net40-full/Topshelf.dll:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/ahnshy/GitLogService/a3be69d674146b0d140d00436d4c1a0881d29d6c/src/packages/Topshelf.3.2.0/lib/net40-full/Topshelf.dll
--------------------------------------------------------------------------------