-
Notifications
You must be signed in to change notification settings - Fork 1
/
HydroServer Redesign Part 26.txt
57 lines (46 loc) · 2.16 KB
/
HydroServer Redesign Part 26.txt
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
HydroServer Redesign Part 26
**** Summary ****
- Miscellaneous changes to replace BinaryFormatter serialize/deserialize calls
with NewtonSoft JSON serialize/deserialize calls to address database load
performance issues directly caused by slow BinaryFormatter performance
serializing/deserializing large files to/from disk
- All such changes conditionally compile on symbol: USE_BINARY_FORMATTER
- Please note: To compile the NewtonSoft code, do NOT define symbol: USE_BINARY_FORMATTER
- For additional performance improvement, all stream buffer sizes (formerly 65K) are increased
to 1M (65536 * 16)
**** HydroServerTools/Controllers/api ****
- RevisedUploadController.cs
- GetRejectedItems(...)
- Add conditional NewtonSoft.Deserialize() call
- GetRejectedItemsFile(...)
- Add conditional NewtonSoft.Deserialize() call
- ValidateFileContentsAsync(...)
- Add conditional NewtonSoft.Serialize() call
- Miscellaneous stream buffer size increases as described above
- Remove commented out code
**** HydroServerTools/Utilities ****
- FileContext.cs
- UpdateBinaryFiles<>(...)
- Add conditional NewtonSoft.Deserialize() calls for:
incorrect, correct, edited and duplicated items
- Add conditional NewtonSoft.Serialize() calls for:
incorrect, correct, edited and duplicated items
- RepositoryContext.cs
- LoadDb(...)
- Add conditional NewtonSoft.Deserialize() call
- Add conditional NewtonSoft.Serialize() call
- Miscellaneous stream buffer size increases as described above
**** HydroServerTools/Views/CSVUpload ****
- DragAndDropFilesRevised.cshtml
- File input control: remove '*.zip' from accept attribute
- addFileObjects(...)
- Add warning dialog for entry of non-csv file
- Add warning dialog for duplicate file name entry
- requestDbRecordCountMonitoring(...)
- Add logic to conditionally remove file object upon:
- End of record count monitoring --OR--
- server error
- Document ready:
- jQuery File Download setup -
- progress: Comment out logic to conditionally remove file object
upon file upload completion