File tree Expand file tree Collapse file tree 3 files changed +1
-16
lines changed
site/jekyll/getting-started Expand file tree Collapse file tree 3 files changed +1
-16
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ src/React.Sample.Webpack/build
11
11
* .generated.js.map
12
12
src /React.Sample.Mvc6 /wwwroot /js /Sample.js
13
13
* .lock.json
14
+ src /.vs
14
15
15
16
# # Ignore Visual Studio temporary files, build results, and
16
17
# # files generated by popular Visual Studio add-ons.
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ app.UseStaticFiles();
37
37
Add:
38
38
39
39
``` csharp
40
- app .UseRequestServices ();
41
40
app .UseReact (config =>
42
41
{
43
42
// ES6 features are enabled by default. Uncomment the below line to disable them.
Original file line number Diff line number Diff line change @@ -195,25 +195,10 @@ public DateTimeOffset LastModified
195
195
get { return _fileInfo . LastModified ; }
196
196
}
197
197
198
- public void WriteContent ( byte [ ] content )
199
- {
200
- File . WriteAllBytes ( _fileInfo . PhysicalPath , content ) ;
201
- }
202
-
203
- public void Delete ( )
204
- {
205
- File . Delete ( _fileInfo . PhysicalPath ) ;
206
- }
207
-
208
198
public bool Exists
209
199
{
210
200
get { return _fileInfo . Exists ; }
211
201
}
212
-
213
- public bool IsReadOnly
214
- {
215
- get { return File . GetAttributes ( _fileInfo . PhysicalPath ) . HasFlag ( FileAttributes . ReadOnly ) ; }
216
- }
217
202
#endif
218
203
}
219
204
}
You can’t perform that action at this time.
0 commit comments