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
1111* .generated.js.map
1212src /React.Sample.Mvc6 /wwwroot /js /Sample.js
1313* .lock.json
14+ src /.vs
1415
1516# # Ignore Visual Studio temporary files, build results, and
1617# # files generated by popular Visual Studio add-ons.
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ app.UseStaticFiles();
3737Add:
3838
3939``` csharp
40- app .UseRequestServices ();
4140app .UseReact (config =>
4241{
4342 // 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
195195 get { return _fileInfo . LastModified ; }
196196 }
197197
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-
208198 public bool Exists
209199 {
210200 get { return _fileInfo . Exists ; }
211201 }
212-
213- public bool IsReadOnly
214- {
215- get { return File . GetAttributes ( _fileInfo . PhysicalPath ) . HasFlag ( FileAttributes . ReadOnly ) ; }
216- }
217202#endif
218203 }
219204 }
You can’t perform that action at this time.
0 commit comments