├── src
├── api
│ ├── packages.config
│ ├── app.config
│ ├── Ngrok.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── NgrokInstance.cs
│ ├── ngrok-api.csproj
│ └── NgrokTypes.cs
├── ngrok-dotnet.sln
├── .gitattributes
└── .gitignore
├── README.md
├── LICENSE
└── .gitignore
/src/api/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # ngrok-dotnet-api
2 | A .Net wrapper for the [ngrok](https://ngrok.com) API, a service that allows you to expose a web server running on your local machine to the internet.
3 |
--------------------------------------------------------------------------------
/src/api/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/src/api/Ngrok.cs:
--------------------------------------------------------------------------------
1 | using System.Net.Http;
2 |
3 | namespace NgrokApi
4 | {
5 | public static class Ngrok
6 | {
7 | static NgrokInstance _instance = new NgrokInstance();
8 |
9 | public static NgrokTunnel RandomHttps
10 | {
11 | get { return _instance.GetTunnelByName("command_line"); }
12 | }
13 |
14 | public static NgrokInstance DefaultInstance
15 | {
16 | get { return _instance; }
17 | }
18 |
19 | public static NgrokTunnel RandomHttp
20 | {
21 | get { return _instance.GetTunnelByName("command_line (http)"); }
22 | }
23 |
24 | public static NgrokTunnel[] GetTunnels() => _instance.GetTunnels();
25 |
26 | internal static string ExtractResponseBody(this HttpResponseMessage message) =>
27 | message?.Content.ReadAsStringAsync().Result;
28 | }
29 |
30 | class DtoNgrokApiTunnels
31 | {
32 | public NgrokTunnel[] Tunnels { get; set; }
33 | public string Uri { get; set; }
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/src/ngrok-dotnet.sln:
--------------------------------------------------------------------------------
1 |
2 | Microsoft Visual Studio Solution File, Format Version 12.00
3 | # Visual Studio 14
4 | VisualStudioVersion = 14.0.24720.0
5 | MinimumVisualStudioVersion = 10.0.40219.1
6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ngrok-api", "api\ngrok-api.csproj", "{E0B24777-B447-4ED7-AD3F-6D3A26AA592C}"
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 | {E0B24777-B447-4ED7-AD3F-6D3A26AA592C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15 | {E0B24777-B447-4ED7-AD3F-6D3A26AA592C}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 | {E0B24777-B447-4ED7-AD3F-6D3A26AA592C}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 | {E0B24777-B447-4ED7-AD3F-6D3A26AA592C}.Release|Any CPU.Build.0 = Release|Any CPU
18 | EndGlobalSection
19 | GlobalSection(SolutionProperties) = preSolution
20 | HideSolutionNode = FALSE
21 | EndGlobalSection
22 | EndGlobal
23 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2016 ADEBISI Foluso A.
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/src/api/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("NgrokApi")]
9 | [assembly: AssemblyDescription("A .Net wraper for the ngrok API.")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("NgrokApi for .Net")]
13 | [assembly: AssemblyCopyright("Copyright © 2016")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("e0b24777-b447-4ed7-ad3f-6d3a26aa592c")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/src/api/NgrokInstance.cs:
--------------------------------------------------------------------------------
1 | using Newtonsoft.Json;
2 | using System;
3 | using System.Net.Http;
4 | using System.Net.Http.Headers;
5 | using System.Text;
6 |
7 | namespace NgrokApi
8 | {
9 | public class NgrokInstance
10 | {
11 | HttpClient _client;
12 | public NgrokInstance(string baseAddress)
13 | {
14 | _client = new HttpClient();
15 | _client.BaseAddress = new Uri(baseAddress);
16 | _client.DefaultRequestHeaders.Accept.Add(new MediaTypeWithQualityHeaderValue("application/json"));
17 | }
18 |
19 | public NgrokInstance() :
20 | this("http://127.0.0.1:4040")
21 | { }
22 |
23 | public NgrokTunnel[] GetTunnels() =>
24 | JsonConvert.DeserializeObject(
25 | _client.GetAsync("api/tunnels").Result.ExtractResponseBody()
26 | ).Tunnels;
27 |
28 | public string StartTunnel(string addressOrPort = "80", string protocol = "http", NgrokTunnelConfig config = null)
29 | {
30 | if (config == null)
31 | config = new NgrokTunnelConfig();
32 |
33 | config.Address = addressOrPort;
34 | config.Protocol = protocol;
35 |
36 | if (string.IsNullOrEmpty(config.Name))
37 | config.Name = "command_line";
38 |
39 | return _client.PostAsync(
40 | "api/tunnels",
41 | new StringContent(
42 | JsonConvert.SerializeObject(config),
43 | Encoding.UTF8, "application/json"
44 | )).Result.ExtractResponseBody();
45 | }
46 |
47 |
48 | public NgrokTunnel GetTunnelByName(string tunnelName) =>
49 | JsonConvert.DeserializeObject(
50 | _client.GetAsync(Uri.EscapeUriString($"api/tunnels/{tunnelName}")).Result.ExtractResponseBody()
51 | );
52 |
53 | public void StopTunnel(string tunnelName) =>
54 | _client.DeleteAsync(Uri.EscapeUriString($"api/tunnels/{tunnelName}")).Wait();
55 | }
56 | }
57 |
--------------------------------------------------------------------------------
/src/.gitattributes:
--------------------------------------------------------------------------------
1 | ###############################################################################
2 | # Set default behavior to automatically normalize line endings.
3 | ###############################################################################
4 | * text=auto
5 |
6 | ###############################################################################
7 | # Set default behavior for command prompt diff.
8 | #
9 | # This is need for earlier builds of msysgit that does not have it on by
10 | # default for csharp files.
11 | # Note: This is only used by command line
12 | ###############################################################################
13 | #*.cs diff=csharp
14 |
15 | ###############################################################################
16 | # Set the merge driver for project and solution files
17 | #
18 | # Merging from the command prompt will add diff markers to the files if there
19 | # are conflicts (Merging from VS is not affected by the settings below, in VS
20 | # the diff markers are never inserted). Diff markers may cause the following
21 | # file extensions to fail to load in VS. An alternative would be to treat
22 | # these files as binary and thus will always conflict and require user
23 | # intervention with every merge. To do so, just uncomment the entries below
24 | ###############################################################################
25 | #*.sln merge=binary
26 | #*.csproj merge=binary
27 | #*.vbproj merge=binary
28 | #*.vcxproj merge=binary
29 | #*.vcproj merge=binary
30 | #*.dbproj merge=binary
31 | #*.fsproj merge=binary
32 | #*.lsproj merge=binary
33 | #*.wixproj merge=binary
34 | #*.modelproj merge=binary
35 | #*.sqlproj merge=binary
36 | #*.wwaproj merge=binary
37 |
38 | ###############################################################################
39 | # behavior for image files
40 | #
41 | # image files are treated as binary by default.
42 | ###############################################################################
43 | #*.jpg binary
44 | #*.png binary
45 | #*.gif binary
46 |
47 | ###############################################################################
48 | # diff behavior for common document formats
49 | #
50 | # Convert binary document formats to text before diffing them. This feature
51 | # is only available from the command line. Turn it on by uncommenting the
52 | # entries below.
53 | ###############################################################################
54 | #*.doc diff=astextplain
55 | #*.DOC diff=astextplain
56 | #*.docx diff=astextplain
57 | #*.DOCX diff=astextplain
58 | #*.dot diff=astextplain
59 | #*.DOT diff=astextplain
60 | #*.pdf diff=astextplain
61 | #*.PDF diff=astextplain
62 | #*.rtf diff=astextplain
63 | #*.RTF diff=astextplain
64 |
--------------------------------------------------------------------------------
/src/api/ngrok-api.csproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Debug
6 | AnyCPU
7 | {E0B24777-B447-4ED7-AD3F-6D3A26AA592C}
8 | Library
9 | Properties
10 | NgrokApi
11 | NgrokApi
12 | v4.0
13 | 512
14 |
15 |
16 | true
17 | full
18 | false
19 | bin\Debug\
20 | DEBUG;TRACE
21 | prompt
22 | 4
23 |
24 |
25 | pdbonly
26 | true
27 | bin\Release\
28 | TRACE
29 | prompt
30 | 4
31 |
32 |
33 |
34 | ..\packages\Newtonsoft.Json.8.0.3\lib\net40\Newtonsoft.Json.dll
35 | True
36 |
37 |
38 |
39 |
40 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
64 |
--------------------------------------------------------------------------------
/src/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 |
4 | # User-specific files
5 | *.suo
6 | *.user
7 | *.userosscache
8 | *.sln.docstates
9 |
10 | # User-specific files (MonoDevelop/Xamarin Studio)
11 | *.userprefs
12 |
13 | # Build results
14 | [Dd]ebug/
15 | [Dd]ebugPublic/
16 | [Rr]elease/
17 | [Rr]eleases/
18 | x64/
19 | x86/
20 | build/
21 | bld/
22 | [Bb]in/
23 | [Oo]bj/
24 |
25 | # Visual Studio 2015 cache/options directory
26 | .vs/
27 |
28 | # MSTest test Results
29 | [Tt]est[Rr]esult*/
30 | [Bb]uild[Ll]og.*
31 |
32 | # NUNIT
33 | *.VisualState.xml
34 | TestResult.xml
35 |
36 | # Build Results of an ATL Project
37 | [Dd]ebugPS/
38 | [Rr]eleasePS/
39 | dlldata.c
40 |
41 | # DNX
42 | project.lock.json
43 | artifacts/
44 |
45 | *_i.c
46 | *_p.c
47 | *_i.h
48 | *.ilk
49 | *.meta
50 | *.obj
51 | *.pch
52 | *.pdb
53 | *.pgc
54 | *.pgd
55 | *.rsp
56 | *.sbr
57 | *.tlb
58 | *.tli
59 | *.tlh
60 | *.tmp
61 | *.tmp_proj
62 | *.log
63 | *.vspscc
64 | *.vssscc
65 | .builds
66 | *.pidb
67 | *.svclog
68 | *.scc
69 |
70 | # Chutzpah Test files
71 | _Chutzpah*
72 |
73 | # Visual C++ cache files
74 | ipch/
75 | *.aps
76 | *.ncb
77 | *.opensdf
78 | *.sdf
79 | *.cachefile
80 |
81 | # Visual Studio profiler
82 | *.psess
83 | *.vsp
84 | *.vspx
85 |
86 | # TFS 2012 Local Workspace
87 | $tf/
88 |
89 | # Guidance Automation Toolkit
90 | *.gpState
91 |
92 | # ReSharper is a .NET coding add-in
93 | _ReSharper*/
94 | *.[Rr]e[Ss]harper
95 | *.DotSettings.user
96 |
97 | # JustCode is a .NET coding add-in
98 | .JustCode
99 |
100 | # TeamCity is a build add-in
101 | _TeamCity*
102 |
103 | # DotCover is a Code Coverage Tool
104 | *.dotCover
105 |
106 | # NCrunch
107 | _NCrunch_*
108 | .*crunch*.local.xml
109 |
110 | # MightyMoose
111 | *.mm.*
112 | AutoTest.Net/
113 |
114 | # Web workbench (sass)
115 | .sass-cache/
116 |
117 | # Installshield output folder
118 | [Ee]xpress/
119 |
120 | # DocProject is a documentation generator add-in
121 | DocProject/buildhelp/
122 | DocProject/Help/*.HxT
123 | DocProject/Help/*.HxC
124 | DocProject/Help/*.hhc
125 | DocProject/Help/*.hhk
126 | DocProject/Help/*.hhp
127 | DocProject/Help/Html2
128 | DocProject/Help/html
129 |
130 | # Click-Once directory
131 | publish/
132 |
133 | # Publish Web Output
134 | *.[Pp]ublish.xml
135 | *.azurePubxml
136 | ## TODO: Comment the next line if you want to checkin your
137 | ## web deploy settings but do note that will include unencrypted
138 | ## passwords
139 | #*.pubxml
140 |
141 | *.publishproj
142 |
143 | # NuGet Packages
144 | *.nupkg
145 | # The packages folder can be ignored because of Package Restore
146 | **/packages/*
147 | # except build/, which is used as an MSBuild target.
148 | !**/packages/build/
149 | # Uncomment if necessary however generally it will be regenerated when needed
150 | #!**/packages/repositories.config
151 |
152 | # Windows Azure Build Output
153 | csx/
154 | *.build.csdef
155 |
156 | # Windows Store app package directory
157 | AppPackages/
158 |
159 | # Visual Studio cache files
160 | # files ending in .cache can be ignored
161 | *.[Cc]ache
162 | # but keep track of directories ending in .cache
163 | !*.[Cc]ache/
164 |
165 | # Others
166 | ClientBin/
167 | [Ss]tyle[Cc]op.*
168 | ~$*
169 | *~
170 | *.dbmdl
171 | *.dbproj.schemaview
172 | *.pfx
173 | *.publishsettings
174 | node_modules/
175 | orleans.codegen.cs
176 |
177 | # RIA/Silverlight projects
178 | Generated_Code/
179 |
180 | # Backup & report files from converting an old project file
181 | # to a newer Visual Studio version. Backup files are not needed,
182 | # because we have git ;-)
183 | _UpgradeReport_Files/
184 | Backup*/
185 | UpgradeLog*.XML
186 | UpgradeLog*.htm
187 |
188 | # SQL Server files
189 | *.mdf
190 | *.ldf
191 |
192 | # Business Intelligence projects
193 | *.rdl.data
194 | *.bim.layout
195 | *.bim_*.settings
196 |
197 | # Microsoft Fakes
198 | FakesAssemblies/
199 |
200 | # Node.js Tools for Visual Studio
201 | .ntvs_analysis.dat
202 |
203 | # Visual Studio 6 build log
204 | *.plg
205 |
206 | # Visual Studio 6 workspace options file
207 | *.opt
208 |
209 | # LightSwitch generated files
210 | GeneratedArtifacts/
211 | _Pvt_Extensions/
212 | ModelManifest.xml
213 |
--------------------------------------------------------------------------------
/src/api/NgrokTypes.cs:
--------------------------------------------------------------------------------
1 | using Newtonsoft.Json;
2 |
3 | namespace NgrokApi
4 | {
5 | public class NgrokTunnel
6 | {
7 | public string Name { get; set; }
8 |
9 | public string Uri { get; set; }
10 |
11 | [JsonProperty("public_url")]
12 | public string PublicUrl { get; set; }
13 |
14 | public string Proto { get; set; }
15 |
16 | public NgrokTunnelConfig Config { get; set; }
17 |
18 | public NgrokMetrics Metrics { get; set; }
19 | }
20 |
21 | #region Config
22 |
23 | public class NgrokTunnelConfig
24 | {
25 | [JsonProperty("name")]
26 | public string Name { get; set; } = "command_line";
27 |
28 | ///
29 | /// Tunnel protocol name, one of 'http', 'tcp', 'tls'
30 | ///
31 | [JsonProperty("proto")]
32 | public string Protocol { get; set; }
33 |
34 |
35 | ///
36 | /// Forward traffic to this local port number or network address
37 | ///
38 | [JsonProperty("addr")]
39 | public string Address { get; set; }
40 |
41 | ///
42 | /// Enable http request inspection
43 | ///
44 | public bool Inspect { get; set; }
45 |
46 |
47 | ///
48 | /// HTTP basic authentication credentials to enforce on tunneled requests
49 | ///
50 | [JsonProperty("auth")]
51 | public string HttpBasicAuthenticationCredentials { get; set; }
52 |
53 | ///
54 | /// Rewrite the HTTP Host header to this value, or 'preserve' to leave it unchanged
55 | ///
56 | [JsonProperty("host_header")]
57 | public string HttpHostHeader { get; set; }
58 |
59 | ///
60 | /// Bind an HTTPS or HTTP endpoint or both 'true', 'false', or 'both'
61 | ///
62 | [JsonProperty("bind_tls")]
63 | public string HttpBindTls { get; set; }
64 |
65 | ///
66 | /// Subdomain name to request. If unspecified, uses the tunnel name
67 | ///
68 | [JsonProperty("subdomain")]
69 | public string HttpTlsSubdomain { get; set; }
70 |
71 | ///
72 | /// Hostname to request (requires reserved name and DNS CNAME)
73 | ///
74 | [JsonProperty("hostname")]
75 | public string HttpTlsHostname { get; set; }
76 |
77 | ///
78 | /// PEM TLS certificate at this path to terminate TLS traffic before forwarding locally
79 | ///
80 | [JsonProperty("crt")]
81 | public string TlsCertificate { get; set; }
82 |
83 | ///
84 | /// PEM TLS private key at this path to terminate TLS traffic before forwarding locally
85 | ///
86 | [JsonProperty("key")]
87 | public string TlsKey { get; set; }
88 |
89 | ///
90 | /// PEM TLS certificate authority at this path will verify incoming TLS client connection certificates.
91 | ///
92 | [JsonProperty("client_cas")]
93 | public string TlsClientCertificateAuthority { get; set; }
94 |
95 | ///
96 | /// Bind the remote TCP port on the given address
97 | ///
98 | [JsonProperty("remote_addr")]
99 | public string TcpRemoteAddress { get; set; }
100 | }
101 |
102 | #endregion
103 |
104 | #region Metrics
105 |
106 | public class NgrokMetrics
107 | {
108 | public NgrokHttpMetrics Http { get; set; }
109 |
110 | [JsonProperty("conns")]
111 | public NgrokConnectionMetrics Connection { get; set; }
112 | }
113 |
114 | public abstract class NgrokBaseMetrics
115 | {
116 | public int Count { get; set; }
117 | public double Rate1 { get; set; }
118 | public double Rate5 { get; set; }
119 | public double Rate15 { get; set; }
120 |
121 | [JsonProperty("p50")]
122 | public double Percentile50 { get; set; }
123 |
124 | [JsonProperty("p90")]
125 | public double Percentile90 { get; set; }
126 |
127 | [JsonProperty("p95")]
128 | public double Percentile95 { get; set; }
129 |
130 | [JsonProperty("p99")]
131 | public double Percentile99 { get; set; }
132 | }
133 |
134 | public class NgrokHttpMetrics : NgrokBaseMetrics { }
135 |
136 | public class NgrokConnectionMetrics : NgrokBaseMetrics
137 | {
138 | public int Gauge { get; set; }
139 | }
140 |
141 | #endregion
142 | }
143 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | ## Ignore Visual Studio temporary files, build results, and
2 | ## files generated by popular Visual Studio add-ons.
3 |
4 | # User-specific files
5 | *.suo
6 | *.user
7 | *.userosscache
8 | *.sln.docstates
9 |
10 | # User-specific files (MonoDevelop/Xamarin Studio)
11 | *.userprefs
12 |
13 | # Build results
14 | [Dd]ebug/
15 | [Dd]ebugPublic/
16 | [Rr]elease/
17 | [Rr]eleases/
18 | x64/
19 | x86/
20 | bld/
21 | [Bb]in/
22 | [Oo]bj/
23 |
24 | # Visual Studio 2015 cache/options directory
25 | .vs/
26 | # Uncomment if you have tasks that create the project's static files in wwwroot
27 | #wwwroot/
28 |
29 | # MSTest test Results
30 | [Tt]est[Rr]esult*/
31 | [Bb]uild[Ll]og.*
32 |
33 | # NUNIT
34 | *.VisualState.xml
35 | TestResult.xml
36 |
37 | # Build Results of an ATL Project
38 | [Dd]ebugPS/
39 | [Rr]eleasePS/
40 | dlldata.c
41 |
42 | # DNX
43 | project.lock.json
44 | artifacts/
45 |
46 | *_i.c
47 | *_p.c
48 | *_i.h
49 | *.ilk
50 | *.meta
51 | *.obj
52 | *.pch
53 | *.pdb
54 | *.pgc
55 | *.pgd
56 | *.rsp
57 | *.sbr
58 | *.tlb
59 | *.tli
60 | *.tlh
61 | *.tmp
62 | *.tmp_proj
63 | *.log
64 | *.vspscc
65 | *.vssscc
66 | .builds
67 | *.pidb
68 | *.svclog
69 | *.scc
70 |
71 | # Chutzpah Test files
72 | _Chutzpah*
73 |
74 | # Visual C++ cache files
75 | ipch/
76 | *.aps
77 | *.ncb
78 | *.opendb
79 | *.opensdf
80 | *.sdf
81 | *.cachefile
82 |
83 | # Visual Studio profiler
84 | *.psess
85 | *.vsp
86 | *.vspx
87 | *.sap
88 |
89 | # TFS 2012 Local Workspace
90 | $tf/
91 |
92 | # Guidance Automation Toolkit
93 | *.gpState
94 |
95 | # ReSharper is a .NET coding add-in
96 | _ReSharper*/
97 | *.[Rr]e[Ss]harper
98 | *.DotSettings.user
99 |
100 | # JustCode is a .NET coding add-in
101 | .JustCode
102 |
103 | # TeamCity is a build add-in
104 | _TeamCity*
105 |
106 | # DotCover is a Code Coverage Tool
107 | *.dotCover
108 |
109 | # NCrunch
110 | _NCrunch_*
111 | .*crunch*.local.xml
112 | nCrunchTemp_*
113 |
114 | # MightyMoose
115 | *.mm.*
116 | AutoTest.Net/
117 |
118 | # Web workbench (sass)
119 | .sass-cache/
120 |
121 | # Installshield output folder
122 | [Ee]xpress/
123 |
124 | # DocProject is a documentation generator add-in
125 | DocProject/buildhelp/
126 | DocProject/Help/*.HxT
127 | DocProject/Help/*.HxC
128 | DocProject/Help/*.hhc
129 | DocProject/Help/*.hhk
130 | DocProject/Help/*.hhp
131 | DocProject/Help/Html2
132 | DocProject/Help/html
133 |
134 | # Click-Once directory
135 | publish/
136 |
137 | # Publish Web Output
138 | *.[Pp]ublish.xml
139 | *.azurePubxml
140 | # TODO: Comment the next line if you want to checkin your web deploy settings
141 | # but database connection strings (with potential passwords) will be unencrypted
142 | *.pubxml
143 | *.publishproj
144 |
145 | # NuGet Packages
146 | *.nupkg
147 | # The packages folder can be ignored because of Package Restore
148 | **/packages/*
149 | # except build/, which is used as an MSBuild target.
150 | !**/packages/build/
151 | # Uncomment if necessary however generally it will be regenerated when needed
152 | #!**/packages/repositories.config
153 | # NuGet v3's project.json files produces more ignoreable files
154 | *.nuget.props
155 | *.nuget.targets
156 |
157 | # Microsoft Azure Build Output
158 | csx/
159 | *.build.csdef
160 |
161 | # Microsoft Azure Emulator
162 | ecf/
163 | rcf/
164 |
165 | # Microsoft Azure ApplicationInsights config file
166 | ApplicationInsights.config
167 |
168 | # Windows Store app package directory
169 | AppPackages/
170 | BundleArtifacts/
171 |
172 | # Visual Studio cache files
173 | # files ending in .cache can be ignored
174 | *.[Cc]ache
175 | # but keep track of directories ending in .cache
176 | !*.[Cc]ache/
177 |
178 | # Others
179 | ClientBin/
180 | ~$*
181 | *~
182 | *.dbmdl
183 | *.dbproj.schemaview
184 | *.pfx
185 | *.publishsettings
186 | node_modules/
187 | orleans.codegen.cs
188 |
189 | # RIA/Silverlight projects
190 | Generated_Code/
191 |
192 | # Backup & report files from converting an old project file
193 | # to a newer Visual Studio version. Backup files are not needed,
194 | # because we have git ;-)
195 | _UpgradeReport_Files/
196 | Backup*/
197 | UpgradeLog*.XML
198 | UpgradeLog*.htm
199 |
200 | # SQL Server files
201 | *.mdf
202 | *.ldf
203 |
204 | # Business Intelligence projects
205 | *.rdl.data
206 | *.bim.layout
207 | *.bim_*.settings
208 |
209 | # Microsoft Fakes
210 | FakesAssemblies/
211 |
212 | # GhostDoc plugin setting file
213 | *.GhostDoc.xml
214 |
215 | # Node.js Tools for Visual Studio
216 | .ntvs_analysis.dat
217 |
218 | # Visual Studio 6 build log
219 | *.plg
220 |
221 | # Visual Studio 6 workspace options file
222 | *.opt
223 |
224 | # Visual Studio LightSwitch build output
225 | **/*.HTMLClient/GeneratedArtifacts
226 | **/*.DesktopClient/GeneratedArtifacts
227 | **/*.DesktopClient/ModelManifest.xml
228 | **/*.Server/GeneratedArtifacts
229 | **/*.Server/ModelManifest.xml
230 | _Pvt_Extensions
231 |
232 | # Paket dependency manager
233 | .paket/paket.exe
234 |
235 | # FAKE - F# Make
236 | .fake/
237 |
--------------------------------------------------------------------------------