├── .gitattributes ├── README.md ├── WebAPI ├── .vs │ └── WebAPI │ │ ├── DesignTimeBuild │ │ └── .dtbcache.v2 │ │ ├── config │ │ └── applicationhost.config │ │ └── v16 │ │ └── .suo ├── WebAPI.sln └── WebAPI │ ├── Controllers │ ├── DepartmentController.cs │ ├── EmployeeController.cs │ └── WeatherForecastController.cs │ ├── Models │ ├── Department.cs │ └── Employee.cs │ ├── Photos │ ├── anonymous.PNG │ ├── patrick.PNG │ └── sandy.PNG │ ├── Program.cs │ ├── Properties │ └── launchSettings.json │ ├── Startup.cs │ ├── WeatherForecast.cs │ ├── WebAPI.csproj │ ├── WebAPI.csproj.user │ ├── appsettings.Development.json │ ├── appsettings.json │ ├── bin │ └── Debug │ │ └── netcoreapp3.1 │ │ ├── Microsoft.AspNetCore.JsonPatch.dll │ │ ├── Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll │ │ ├── Newtonsoft.Json.Bson.dll │ │ ├── Newtonsoft.Json.dll │ │ ├── Properties │ │ └── launchSettings.json │ │ ├── System.Data.SqlClient.dll │ │ ├── WebAPI.deps.json │ │ ├── WebAPI.dll │ │ ├── WebAPI.exe │ │ ├── WebAPI.pdb │ │ ├── WebAPI.runtimeconfig.dev.json │ │ ├── WebAPI.runtimeconfig.json │ │ ├── appsettings.Development.json │ │ ├── appsettings.json │ │ └── runtimes │ │ ├── unix │ │ └── lib │ │ │ └── netcoreapp2.1 │ │ │ └── System.Data.SqlClient.dll │ │ ├── win-arm64 │ │ └── native │ │ │ └── sni.dll │ │ ├── win-x64 │ │ └── native │ │ │ └── sni.dll │ │ ├── win-x86 │ │ └── native │ │ │ └── sni.dll │ │ └── win │ │ └── lib │ │ └── netcoreapp2.1 │ │ └── System.Data.SqlClient.dll │ └── obj │ ├── Debug │ └── netcoreapp3.1 │ │ ├── .NETCoreApp,Version=v3.1.AssemblyAttributes.cs │ │ ├── WebAPI.AssemblyInfo.cs │ │ ├── WebAPI.AssemblyInfoInputs.cache │ │ ├── WebAPI.MvcApplicationPartsAssemblyInfo.cache │ │ ├── WebAPI.RazorTargetAssemblyInfo.cache │ │ ├── WebAPI.assets.cache │ │ ├── WebAPI.csproj.CopyComplete │ │ ├── WebAPI.csproj.CoreCompileInputs.cache │ │ ├── WebAPI.csproj.FileListAbsolute.txt │ │ ├── WebAPI.csprojAssemblyReference.cache │ │ ├── WebAPI.dll │ │ ├── WebAPI.exe │ │ ├── WebAPI.genruntimeconfig.cache │ │ ├── WebAPI.pdb │ │ └── staticwebassets │ │ ├── WebAPI.StaticWebAssets.Manifest.cache │ │ └── WebAPI.StaticWebAssets.xml │ ├── WebAPI.csproj.nuget.dgspec.json │ ├── WebAPI.csproj.nuget.g.props │ ├── WebAPI.csproj.nuget.g.targets │ ├── project.assets.json │ └── project.nuget.cache └── my-app - Copy ├── .eslintcache ├── .gitignore ├── README.md ├── package-lock.json ├── package.json ├── public ├── favicon.ico ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json └── robots.txt └── src ├── AddDepModal.js ├── AddEmpModal.js ├── App.css ├── App.js ├── App.test.js ├── Department.js ├── EditDepModal.js ├── EditEmpModal.js ├── Employee.js ├── Home.js ├── Navigation.js ├── index.css ├── index.js ├── logo.svg ├── reportWebVitals.js └── setupTests.js /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ReactJsCoreApi 2 | 3 | -------------------------------------------------------------------------------- /WebAPI/.vs/WebAPI/DesignTimeBuild/.dtbcache.v2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/.vs/WebAPI/DesignTimeBuild/.dtbcache.v2 -------------------------------------------------------------------------------- /WebAPI/.vs/WebAPI/config/applicationhost.config: -------------------------------------------------------------------------------- 1 |  2 | 20 | 21 | 48 | 49 | 50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
58 | 59 | 60 |
61 |
62 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 | 79 |
80 |
81 | 82 |
83 |
84 |
85 |
86 |
87 |
88 | 89 |
90 |
91 |
92 |
93 |
94 | 95 |
96 |
97 |
98 | 99 |
100 |
101 | 102 |
103 |
104 | 105 |
106 |
107 |
108 | 109 | 110 |
111 |
112 |
113 |
114 |
115 |
116 | 117 |
118 |
119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 260 | 261 | 262 | 263 | 264 | 265 | 266 | 267 | 268 | 269 | 270 | 271 | 272 | 273 | 274 | 275 | 276 | 277 | 278 | 279 | 280 | 281 | 282 | 283 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 319 | 320 | 321 | 322 | 323 | 324 | 325 | 326 | 327 | 328 | 329 | 330 | 331 | 332 | 333 | 334 | 335 | 336 | 337 | 338 | 339 | 340 | 341 | 342 | 343 | 344 | 345 | 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | 357 | 358 | 359 | 360 | 361 | 362 | 363 | 364 | 365 | 366 | 367 | 368 | 369 | 370 | 371 | 372 | 373 | 374 | 375 | 376 | 377 | 378 | 379 | 380 | 381 | 382 | 383 | 384 | 385 | 386 | 387 | 388 | 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | 397 | 398 | 399 | 400 | 401 | 402 | 403 | 404 | 405 | 406 | 407 | 408 | 409 | 410 | 411 | 412 | 413 | 414 | 415 | 416 | 417 | 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | 427 | 428 | 429 | 430 | 431 | 432 | 433 | 434 | 435 | 436 | 437 | 438 | 439 | 440 | 441 | 442 | 443 | 444 | 445 | 446 | 447 | 448 | 449 | 450 | 451 | 452 | 453 | 454 | 455 | 456 | 457 | 458 | 459 | 460 | 461 | 462 | 463 | 464 | 465 | 466 | 467 | 468 | 469 | 470 | 471 | 472 | 473 | 474 | 475 | 476 | 477 | 478 | 479 | 480 | 481 | 482 | 483 | 484 | 485 | 486 | 487 | 488 | 489 | 490 | 491 | 492 | 493 | 494 | 495 | 496 | 497 | 498 | 499 | 500 | 501 | 502 | 503 | 504 | 505 | 506 | 507 | 508 | 509 | 510 | 511 | 512 | 513 | 514 | 515 | 516 | 517 | 518 | 519 | 520 | 521 | 522 | 523 | 524 | 525 | 526 | 527 | 528 | 529 | 530 | 531 | 532 | 533 | 534 | 535 | 536 | 537 | 538 | 539 | 540 | 541 | 542 | 543 | 544 | 545 | 546 | 547 | 548 | 549 | 550 | 551 | 552 | 553 | 554 | 555 | 556 | 557 | 558 | 559 | 560 | 561 | 562 | 563 | 564 | 565 | 566 | 567 | 568 | 569 | 570 | 571 | 572 | 573 | 574 | 575 | 576 | 577 | 578 | 579 | 580 | 581 | 582 | 583 | 584 | 585 | 586 | 587 | 588 | 589 | 590 | 591 | 592 | 593 | 594 | 595 | 596 | 597 | 598 | 599 | 600 | 601 | 602 | 603 | 604 | 605 | 606 | 607 | 608 | 609 | 610 | 611 | 612 | 613 | 614 | 615 | 616 | 617 | 618 | 619 | 620 | 621 | 622 | 623 | 624 | 625 | 626 | 627 | 628 | 629 | 630 | 631 | 632 | 633 | 634 | 635 | 636 | 637 | 638 | 639 | 640 | 641 | 642 | 643 | 644 | 645 | 646 | 647 | 648 | 649 | 650 | 651 | 652 | 653 | 654 | 655 | 656 | 657 | 658 | 659 | 660 | 661 | 662 | 663 | 664 | 665 | 666 | 667 | 668 | 669 | 670 | 671 | 672 | 673 | 674 | 675 | 676 | 677 | 678 | 679 | 680 | 681 | 682 | 683 | 684 | 685 | 686 | 687 | 688 | 689 | 690 | 691 | 692 | 693 | 694 | 695 | 696 | 697 | 698 | 699 | 700 | 701 | 702 | 703 | 704 | 705 | 706 | 707 | 708 | 709 | 710 | 711 | 712 | 713 | 714 | 715 | 716 | 717 | 718 | 719 | 720 | 721 | 722 | 723 | 724 | 725 | 726 | 727 | 728 | 729 | 730 | 731 | 732 | 733 | 734 | 735 | 736 | 737 | 738 | 739 | 740 | 741 | 742 | 743 | 744 | 745 | 746 | 747 | 748 | 749 | 750 | 751 | 752 | 753 | 754 | 755 | 756 | 757 | 758 | 759 | 760 | 761 | 762 | 763 | 764 | 765 | 766 | 767 | 768 | 769 | 770 | 771 | 772 | 773 | 774 | 775 | 776 | 777 | 778 | 779 | 780 | 781 | 782 | 783 | 784 | 785 | 786 | 787 | 788 | 789 | 790 | 791 | 792 | 793 | 794 | 795 | 796 | 797 | 798 | 799 | 800 | 801 | 802 | 803 | 804 | 805 | 806 | 807 | 808 | 809 | 810 | 811 | 812 | 813 | 814 | 815 | 816 | 817 | 818 | 819 | 820 | 821 | 822 | 823 | 824 | 825 | 826 | 827 | 828 | 829 | 830 | 831 | 832 | 833 | 834 | 835 | 836 | 837 | 838 | 839 | 840 | 841 | 842 | 843 | 844 | 845 | 846 | 847 | 848 | 849 | 850 | 851 | 852 | 853 | 854 | 855 | 856 | 857 | 858 | 859 | 860 | 861 | 862 | 863 | 864 | 865 | 866 | 867 | 868 | 869 | 870 | 871 | 872 | 873 | 874 | 875 | 876 | 877 | 878 | 879 | 880 | 881 | 882 | 883 | 884 | 885 | 886 | 887 | 888 | 889 | 890 | 891 | 892 | 893 | 894 | 895 | 896 | 897 | 898 | 899 | 900 | 901 | 902 | 903 | 904 | 905 | 906 | 907 | 908 | 909 | 910 | 911 | 912 | 913 | 914 | 915 | 916 | 917 | 918 | 919 | 920 | 921 | 922 | 923 | 924 | 925 | 926 | 927 | 928 | 929 | 930 | 931 | 932 | 933 | 934 | 935 | 936 | 937 | 938 | 939 | 940 | 941 | 942 | 943 | 944 | 945 | 946 | 947 | 948 | 949 | 950 | 951 | 952 | 953 | 954 | 955 | 956 | 957 | 958 | 959 | 960 | 961 | 962 | 963 | 964 | 965 | 966 | 967 | 968 | 969 | 970 | 971 | 972 | 973 | 974 | 975 | 976 | 977 | 978 | 979 | 980 | 981 | 982 | 983 | 984 | 985 | 986 | 987 | 988 | 989 | 990 | 991 | 992 | 993 | 994 | 995 | 996 | 997 | -------------------------------------------------------------------------------- /WebAPI/.vs/WebAPI/v16/.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/.vs/WebAPI/v16/.suo -------------------------------------------------------------------------------- /WebAPI/WebAPI.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio Version 16 4 | VisualStudioVersion = 16.0.30114.105 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebAPI", "WebAPI\WebAPI.csproj", "{DF7E65DF-81E8-4FDA-8B97-A21A55D3F99A}" 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 | {DF7E65DF-81E8-4FDA-8B97-A21A55D3F99A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU 15 | {DF7E65DF-81E8-4FDA-8B97-A21A55D3F99A}.Debug|Any CPU.Build.0 = Debug|Any CPU 16 | {DF7E65DF-81E8-4FDA-8B97-A21A55D3F99A}.Release|Any CPU.ActiveCfg = Release|Any CPU 17 | {DF7E65DF-81E8-4FDA-8B97-A21A55D3F99A}.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 = {109D694C-DB8A-4CDE-8906-F007044E3DED} 24 | EndGlobalSection 25 | EndGlobal 26 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/Controllers/DepartmentController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Http; 6 | using Microsoft.AspNetCore.Mvc; 7 | using Microsoft.Extensions.Configuration; 8 | using System.Data.SqlClient; 9 | using System.Data; 10 | using WebAPI.Models; 11 | 12 | namespace WebAPI.Controllers 13 | { 14 | [Route("api/[controller]")] 15 | [ApiController] 16 | public class DepartmentController : ControllerBase 17 | { 18 | private readonly IConfiguration _configuration; 19 | 20 | public DepartmentController(IConfiguration configuration) 21 | { 22 | _configuration = configuration; 23 | } 24 | 25 | [HttpGet] 26 | public JsonResult Get() 27 | { 28 | string query = @" 29 | select DepartmentId, DepartmentName from dbo.Department"; 30 | DataTable table = new DataTable(); 31 | string sqlDataSource = _configuration.GetConnectionString("EmployeeAppCon"); 32 | SqlDataReader myReader; 33 | using(SqlConnection myCon=new SqlConnection(sqlDataSource)) 34 | { 35 | myCon.Open(); 36 | using (SqlCommand myCommand = new SqlCommand(query, myCon)) 37 | { 38 | myReader = myCommand.ExecuteReader(); 39 | table.Load(myReader); ; 40 | 41 | myReader.Close(); 42 | myCon.Close(); 43 | } 44 | } 45 | 46 | return new JsonResult(table); 47 | } 48 | 49 | 50 | [HttpPost] 51 | public JsonResult Post(Department dep) 52 | { 53 | string query = @" 54 | insert into dbo.Department values 55 | ('"+dep.DepartmentName+@"') 56 | "; 57 | DataTable table = new DataTable(); 58 | string sqlDataSource = _configuration.GetConnectionString("EmployeeAppCon"); 59 | SqlDataReader myReader; 60 | using (SqlConnection myCon = new SqlConnection(sqlDataSource)) 61 | { 62 | myCon.Open(); 63 | using (SqlCommand myCommand = new SqlCommand(query, myCon)) 64 | { 65 | myReader = myCommand.ExecuteReader(); 66 | table.Load(myReader); ; 67 | 68 | myReader.Close(); 69 | myCon.Close(); 70 | } 71 | } 72 | 73 | return new JsonResult("Added Successfully"); 74 | } 75 | 76 | 77 | [HttpPut] 78 | public JsonResult Put(Department dep) 79 | { 80 | string query = @" 81 | update dbo.Department set 82 | DepartmentName = '"+dep.DepartmentName+@"' 83 | where DepartmentId = "+dep.DepartmentId + @" 84 | "; 85 | DataTable table = new DataTable(); 86 | string sqlDataSource = _configuration.GetConnectionString("EmployeeAppCon"); 87 | SqlDataReader myReader; 88 | using (SqlConnection myCon = new SqlConnection(sqlDataSource)) 89 | { 90 | myCon.Open(); 91 | using (SqlCommand myCommand = new SqlCommand(query, myCon)) 92 | { 93 | myReader = myCommand.ExecuteReader(); 94 | table.Load(myReader); ; 95 | 96 | myReader.Close(); 97 | myCon.Close(); 98 | } 99 | } 100 | 101 | return new JsonResult("Updated Successfully"); 102 | } 103 | 104 | 105 | [HttpDelete("{id}")] 106 | public JsonResult Delete(int id) 107 | { 108 | string query = @" 109 | delete from dbo.Department 110 | where DepartmentId = " + id + @" 111 | "; 112 | DataTable table = new DataTable(); 113 | string sqlDataSource = _configuration.GetConnectionString("EmployeeAppCon"); 114 | SqlDataReader myReader; 115 | using (SqlConnection myCon = new SqlConnection(sqlDataSource)) 116 | { 117 | myCon.Open(); 118 | using (SqlCommand myCommand = new SqlCommand(query, myCon)) 119 | { 120 | myReader = myCommand.ExecuteReader(); 121 | table.Load(myReader); ; 122 | 123 | myReader.Close(); 124 | myCon.Close(); 125 | } 126 | } 127 | 128 | return new JsonResult("Deleted Successfully"); 129 | } 130 | } 131 | } 132 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/Controllers/EmployeeController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Http; 6 | using Microsoft.AspNetCore.Mvc; 7 | using Microsoft.Extensions.Configuration; 8 | using System.Data.SqlClient; 9 | using System.Data; 10 | using WebAPI.Models; 11 | using System.IO; 12 | using Microsoft.AspNetCore.Hosting; 13 | 14 | namespace WebAPI.Controllers 15 | { 16 | [Route("api/[controller]")] 17 | [ApiController] 18 | public class EmployeeController : ControllerBase 19 | { 20 | private readonly IConfiguration _configuration; 21 | private readonly IWebHostEnvironment _env; 22 | 23 | public EmployeeController(IConfiguration configuration, IWebHostEnvironment env) 24 | { 25 | _configuration = configuration; 26 | _env = env; 27 | } 28 | 29 | [HttpGet] 30 | public JsonResult Get() 31 | { 32 | string query = @" 33 | select EmployeeId, EmployeeName, Department, 34 | convert(varchar(10),DateOfJoining,120) as DateOfJoining 35 | ,PhotoFileName 36 | from dbo.Employee 37 | "; 38 | DataTable table = new DataTable(); 39 | string sqlDataSource = _configuration.GetConnectionString("EmployeeAppCon"); 40 | SqlDataReader myReader; 41 | using (SqlConnection myCon = new SqlConnection(sqlDataSource)) 42 | { 43 | myCon.Open(); 44 | using (SqlCommand myCommand = new SqlCommand(query, myCon)) 45 | { 46 | myReader = myCommand.ExecuteReader(); 47 | table.Load(myReader); ; 48 | 49 | myReader.Close(); 50 | myCon.Close(); 51 | } 52 | } 53 | 54 | return new JsonResult(table); 55 | } 56 | 57 | 58 | [HttpPost] 59 | public JsonResult Post(Employee emp) 60 | { 61 | string query = @" 62 | insert into dbo.Employee 63 | (EmployeeName,Department,DateOfJoining,PhotoFileName) 64 | values 65 | ( 66 | '" + emp.EmployeeName + @"' 67 | ,'" + emp.Department + @"' 68 | ,'" + emp.DateOfJoining + @"' 69 | ,'" + emp.PhotoFileName + @"' 70 | ) 71 | "; 72 | DataTable table = new DataTable(); 73 | string sqlDataSource = _configuration.GetConnectionString("EmployeeAppCon"); 74 | SqlDataReader myReader; 75 | using (SqlConnection myCon = new SqlConnection(sqlDataSource)) 76 | { 77 | myCon.Open(); 78 | using (SqlCommand myCommand = new SqlCommand(query, myCon)) 79 | { 80 | myReader = myCommand.ExecuteReader(); 81 | table.Load(myReader); ; 82 | 83 | myReader.Close(); 84 | myCon.Close(); 85 | } 86 | } 87 | 88 | return new JsonResult("Added Successfully"); 89 | } 90 | 91 | 92 | [HttpPut] 93 | public JsonResult Put(Employee emp) 94 | { 95 | string query = @" 96 | update dbo.Employee set 97 | EmployeeName = '" + emp.EmployeeName + @"' 98 | ,Department = '" + emp.Department + @"' 99 | ,DateOfJoining = '" + emp.DateOfJoining + @"' 100 | where EmployeeId = " + emp.EmployeeId + @" 101 | "; 102 | DataTable table = new DataTable(); 103 | string sqlDataSource = _configuration.GetConnectionString("EmployeeAppCon"); 104 | SqlDataReader myReader; 105 | using (SqlConnection myCon = new SqlConnection(sqlDataSource)) 106 | { 107 | myCon.Open(); 108 | using (SqlCommand myCommand = new SqlCommand(query, myCon)) 109 | { 110 | myReader = myCommand.ExecuteReader(); 111 | table.Load(myReader); ; 112 | 113 | myReader.Close(); 114 | myCon.Close(); 115 | } 116 | } 117 | 118 | return new JsonResult("Updated Successfully"); 119 | } 120 | 121 | 122 | [HttpDelete("{id}")] 123 | public JsonResult Delete(int id) 124 | { 125 | string query = @" 126 | delete from dbo.Employee 127 | where EmployeeId = " + id + @" 128 | "; 129 | DataTable table = new DataTable(); 130 | string sqlDataSource = _configuration.GetConnectionString("EmployeeAppCon"); 131 | SqlDataReader myReader; 132 | using (SqlConnection myCon = new SqlConnection(sqlDataSource)) 133 | { 134 | myCon.Open(); 135 | using (SqlCommand myCommand = new SqlCommand(query, myCon)) 136 | { 137 | myReader = myCommand.ExecuteReader(); 138 | table.Load(myReader); ; 139 | 140 | myReader.Close(); 141 | myCon.Close(); 142 | } 143 | } 144 | 145 | return new JsonResult("Deleted Successfully"); 146 | } 147 | 148 | 149 | [Route("SaveFile")] 150 | [HttpPost] 151 | public JsonResult SaveFile() 152 | { 153 | try 154 | { 155 | var httpRequest = Request.Form; 156 | var postedFile = httpRequest.Files[0]; 157 | string filename = postedFile.FileName; 158 | var physicalPath = _env.ContentRootPath + "/Photos/" + filename; 159 | 160 | using(var stream = new FileStream(physicalPath, FileMode.Create)) 161 | { 162 | postedFile.CopyTo(stream); 163 | } 164 | 165 | return new JsonResult(filename); 166 | } 167 | catch (Exception) 168 | { 169 | 170 | return new JsonResult("anonymous.png"); 171 | } 172 | } 173 | 174 | 175 | [Route("GetAllDepartmentNames")] 176 | public JsonResult GetAllDepartmentNames() 177 | { 178 | string query = @" 179 | select DepartmentName from dbo.Department 180 | "; 181 | DataTable table = new DataTable(); 182 | string sqlDataSource = _configuration.GetConnectionString("EmployeeAppCon"); 183 | SqlDataReader myReader; 184 | using (SqlConnection myCon = new SqlConnection(sqlDataSource)) 185 | { 186 | myCon.Open(); 187 | using (SqlCommand myCommand = new SqlCommand(query, myCon)) 188 | { 189 | myReader = myCommand.ExecuteReader(); 190 | table.Load(myReader); ; 191 | 192 | myReader.Close(); 193 | myCon.Close(); 194 | } 195 | } 196 | 197 | return new JsonResult(table); 198 | } 199 | 200 | 201 | } 202 | } 203 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/Controllers/WeatherForecastController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Mvc; 6 | using Microsoft.Extensions.Logging; 7 | 8 | namespace WebAPI.Controllers 9 | { 10 | [ApiController] 11 | [Route("[controller]")] 12 | public class WeatherForecastController : ControllerBase 13 | { 14 | private static readonly string[] Summaries = new[] 15 | { 16 | "Freezing", "Bracing", "Chilly", "Cool", "Mild", "Warm", "Balmy", "Hot", "Sweltering", "Scorching" 17 | }; 18 | 19 | private readonly ILogger _logger; 20 | 21 | public WeatherForecastController(ILogger logger) 22 | { 23 | _logger = logger; 24 | } 25 | 26 | [HttpGet] 27 | public IEnumerable Get() 28 | { 29 | var rng = new Random(); 30 | return Enumerable.Range(1, 5).Select(index => new WeatherForecast 31 | { 32 | Date = DateTime.Now.AddDays(index), 33 | TemperatureC = rng.Next(-20, 55), 34 | Summary = Summaries[rng.Next(Summaries.Length)] 35 | }) 36 | .ToArray(); 37 | } 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/Models/Department.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | 6 | namespace WebAPI.Models 7 | { 8 | public class Department 9 | { 10 | public int DepartmentId { get; set; } 11 | 12 | public string DepartmentName { get; set; } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/Models/Employee.cs: -------------------------------------------------------------------------------- 1 |  2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using System.Threading.Tasks; 6 | 7 | namespace WebAPI.Models 8 | { 9 | public class Employee 10 | { 11 | public int EmployeeId { get; set; } 12 | public string EmployeeName { get; set; } 13 | public string Department { get; set; } 14 | public string DateOfJoining { get; set; } 15 | public string PhotoFileName { get; set; } 16 | 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/Photos/anonymous.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/Photos/anonymous.PNG -------------------------------------------------------------------------------- /WebAPI/WebAPI/Photos/patrick.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/Photos/patrick.PNG -------------------------------------------------------------------------------- /WebAPI/WebAPI/Photos/sandy.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/Photos/sandy.PNG -------------------------------------------------------------------------------- /WebAPI/WebAPI/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Hosting; 6 | using Microsoft.Extensions.Configuration; 7 | using Microsoft.Extensions.Hosting; 8 | using Microsoft.Extensions.Logging; 9 | 10 | namespace WebAPI 11 | { 12 | public class Program 13 | { 14 | public static void Main(string[] args) 15 | { 16 | CreateHostBuilder(args).Build().Run(); 17 | } 18 | 19 | public static IHostBuilder CreateHostBuilder(string[] args) => 20 | Host.CreateDefaultBuilder(args) 21 | .ConfigureWebHostDefaults(webBuilder => 22 | { 23 | webBuilder.UseStartup(); 24 | }); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/launchsettings.json", 3 | "iisSettings": { 4 | "windowsAuthentication": false, 5 | "anonymousAuthentication": true, 6 | "iisExpress": { 7 | "applicationUrl": "http://localhost:50306", 8 | "sslPort": 0 9 | } 10 | }, 11 | "profiles": { 12 | "IIS Express": { 13 | "commandName": "IISExpress", 14 | "launchBrowser": true, 15 | "launchUrl": "weatherforecast", 16 | "environmentVariables": { 17 | "ASPNETCORE_ENVIRONMENT": "Development" 18 | } 19 | }, 20 | "WebAPI": { 21 | "commandName": "Project", 22 | "launchBrowser": true, 23 | "launchUrl": "weatherforecast", 24 | "applicationUrl": "http://localhost:53535", 25 | "environmentVariables": { 26 | "ASPNETCORE_ENVIRONMENT": "Development" 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/Startup.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Threading.Tasks; 5 | using Microsoft.AspNetCore.Builder; 6 | using Microsoft.AspNetCore.Hosting; 7 | using Microsoft.AspNetCore.Mvc; 8 | using Microsoft.Extensions.Configuration; 9 | using Microsoft.Extensions.DependencyInjection; 10 | using Microsoft.Extensions.Hosting; 11 | using Microsoft.Extensions.Logging; 12 | using Newtonsoft.Json.Serialization; 13 | using System.IO; 14 | using Microsoft.Extensions.FileProviders; 15 | 16 | namespace WebAPI 17 | { 18 | public class Startup 19 | { 20 | public Startup(IConfiguration configuration) 21 | { 22 | Configuration = configuration; 23 | } 24 | 25 | public IConfiguration Configuration { get; } 26 | 27 | // This method gets called by the runtime. Use this method to add services to the container. 28 | public void ConfigureServices(IServiceCollection services) 29 | { 30 | //Enable CORS 31 | services.AddCors(c => 32 | { 33 | c.AddPolicy("AllowOrigin", options => options.AllowAnyOrigin().AllowAnyMethod() 34 | .AllowAnyHeader()); 35 | }); 36 | 37 | //JSON Serializer 38 | services.AddControllersWithViews() 39 | .AddNewtonsoftJson(options => 40 | options.SerializerSettings.ReferenceLoopHandling = Newtonsoft 41 | .Json.ReferenceLoopHandling.Ignore) 42 | .AddNewtonsoftJson(options => options.SerializerSettings.ContractResolver 43 | = new DefaultContractResolver()); 44 | 45 | services.AddControllers(); 46 | } 47 | 48 | // This method gets called by the runtime. Use this method to configure the HTTP request pipeline. 49 | public void Configure(IApplicationBuilder app, IWebHostEnvironment env) 50 | { 51 | app.UseCors(options => options.AllowAnyOrigin().AllowAnyMethod().AllowAnyHeader()); 52 | 53 | if (env.IsDevelopment()) 54 | { 55 | app.UseDeveloperExceptionPage(); 56 | } 57 | 58 | app.UseRouting(); 59 | 60 | app.UseAuthorization(); 61 | 62 | app.UseEndpoints(endpoints => 63 | { 64 | endpoints.MapControllers(); 65 | }); 66 | 67 | 68 | app.UseStaticFiles(new StaticFileOptions 69 | { 70 | FileProvider = new PhysicalFileProvider( 71 | Path.Combine(Directory.GetCurrentDirectory(),"Photos")), 72 | RequestPath="/Photos" 73 | }); 74 | } 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/WeatherForecast.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace WebAPI 4 | { 5 | public class WeatherForecast 6 | { 7 | public DateTime Date { get; set; } 8 | 9 | public int TemperatureC { get; set; } 10 | 11 | public int TemperatureF => 32 + (int)(TemperatureC / 0.5556); 12 | 13 | public string Summary { get; set; } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/WebAPI.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | netcoreapp3.1 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/WebAPI.csproj.user: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | ProjectDebugger 5 | 6 | 7 | WebAPI 8 | ApiControllerEmptyScaffolder 9 | root/Controller 10 | 11 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "ConnectionStrings": { 3 | "EmployeeAppCon": "Data Source=.;Initial Catalog=EmployeeDB; Integrated Security=true" 4 | }, 5 | "Logging": { 6 | "LogLevel": { 7 | "Default": "Information", 8 | "Microsoft": "Warning", 9 | "Microsoft.Hosting.Lifetime": "Information" 10 | } 11 | }, 12 | "AllowedHosts": "*" 13 | } 14 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/Microsoft.AspNetCore.JsonPatch.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/bin/Debug/netcoreapp3.1/Microsoft.AspNetCore.JsonPatch.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/bin/Debug/netcoreapp3.1/Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/Newtonsoft.Json.Bson.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/bin/Debug/netcoreapp3.1/Newtonsoft.Json.Bson.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/Newtonsoft.Json.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/bin/Debug/netcoreapp3.1/Newtonsoft.Json.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/Properties/launchSettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "http://json.schemastore.org/launchsettings.json", 3 | "iisSettings": { 4 | "windowsAuthentication": false, 5 | "anonymousAuthentication": true, 6 | "iisExpress": { 7 | "applicationUrl": "http://localhost:50306", 8 | "sslPort": 0 9 | } 10 | }, 11 | "profiles": { 12 | "IIS Express": { 13 | "commandName": "IISExpress", 14 | "launchBrowser": true, 15 | "launchUrl": "weatherforecast", 16 | "environmentVariables": { 17 | "ASPNETCORE_ENVIRONMENT": "Development" 18 | } 19 | }, 20 | "WebAPI": { 21 | "commandName": "Project", 22 | "launchBrowser": true, 23 | "launchUrl": "weatherforecast", 24 | "applicationUrl": "http://localhost:53535", 25 | "environmentVariables": { 26 | "ASPNETCORE_ENVIRONMENT": "Development" 27 | } 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/System.Data.SqlClient.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/bin/Debug/netcoreapp3.1/System.Data.SqlClient.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/WebAPI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/bin/Debug/netcoreapp3.1/WebAPI.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/WebAPI.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/bin/Debug/netcoreapp3.1/WebAPI.exe -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/WebAPI.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/bin/Debug/netcoreapp3.1/WebAPI.pdb -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/WebAPI.runtimeconfig.dev.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "additionalProbingPaths": [ 4 | "C:\\Users\\Vinay6666\\.dotnet\\store\\|arch|\\|tfm|", 5 | "C:\\Users\\Vinay6666\\.nuget\\packages" 6 | ] 7 | } 8 | } -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/WebAPI.runtimeconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "runtimeOptions": { 3 | "tfm": "netcoreapp3.1", 4 | "framework": { 5 | "name": "Microsoft.AspNetCore.App", 6 | "version": "3.1.0" 7 | }, 8 | "configProperties": { 9 | "System.GC.Server": true 10 | } 11 | } 12 | } -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/appsettings.Development.json: -------------------------------------------------------------------------------- 1 | { 2 | "Logging": { 3 | "LogLevel": { 4 | "Default": "Information", 5 | "Microsoft": "Warning", 6 | "Microsoft.Hosting.Lifetime": "Information" 7 | } 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/appsettings.json: -------------------------------------------------------------------------------- 1 | { 2 | "ConnectionStrings": { 3 | "EmployeeAppCon": "Data Source=.;Initial Catalog=EmployeeDB; Integrated Security=true" 4 | }, 5 | "Logging": { 6 | "LogLevel": { 7 | "Default": "Information", 8 | "Microsoft": "Warning", 9 | "Microsoft.Hosting.Lifetime": "Information" 10 | } 11 | }, 12 | "AllowedHosts": "*" 13 | } 14 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/bin/Debug/netcoreapp3.1/runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/runtimes/win-arm64/native/sni.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/bin/Debug/netcoreapp3.1/runtimes/win-arm64/native/sni.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/runtimes/win-x64/native/sni.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/bin/Debug/netcoreapp3.1/runtimes/win-x64/native/sni.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/runtimes/win-x86/native/sni.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/bin/Debug/netcoreapp3.1/runtimes/win-x86/native/sni.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/bin/Debug/netcoreapp3.1/runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/bin/Debug/netcoreapp3.1/runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/.NETCoreApp,Version=v3.1.AssemblyAttributes.cs: -------------------------------------------------------------------------------- 1 | // 2 | using System; 3 | using System.Reflection; 4 | [assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")] 5 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:4.0.30319.42000 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | using System; 12 | using System.Reflection; 13 | 14 | [assembly: System.Reflection.AssemblyCompanyAttribute("WebAPI")] 15 | [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] 16 | [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] 17 | [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] 18 | [assembly: System.Reflection.AssemblyProductAttribute("WebAPI")] 19 | [assembly: System.Reflection.AssemblyTitleAttribute("WebAPI")] 20 | [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] 21 | 22 | // Generated by the MSBuild WriteCodeFragment class. 23 | 24 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.AssemblyInfoInputs.cache: -------------------------------------------------------------------------------- 1 | 8071d147e32d0630849d28d7010f1c7d9f5cfc82 2 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.MvcApplicationPartsAssemblyInfo.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.MvcApplicationPartsAssemblyInfo.cache -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.RazorTargetAssemblyInfo.cache: -------------------------------------------------------------------------------- 1 | 2ba159081b2463c81a3b13e7540958b05f8628b8 2 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.assets.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.assets.cache -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.csproj.CopyComplete: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.csproj.CopyComplete -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.csproj.CoreCompileInputs.cache: -------------------------------------------------------------------------------- 1 | 11edaeb93e5ce9ac8c1f84c4dd7e9ea4308ab7a7 2 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.csproj.FileListAbsolute.txt: -------------------------------------------------------------------------------- 1 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\appsettings.Development.json 2 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\appsettings.json 3 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\Properties\launchSettings.json 4 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\WebAPI.exe 5 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\WebAPI.deps.json 6 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\WebAPI.runtimeconfig.json 7 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\WebAPI.runtimeconfig.dev.json 8 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\WebAPI.dll 9 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\WebAPI.pdb 10 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\Microsoft.AspNetCore.JsonPatch.dll 11 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll 12 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\Newtonsoft.Json.dll 13 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\Newtonsoft.Json.Bson.dll 14 | E:\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.AssemblyInfoInputs.cache 15 | E:\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.AssemblyInfo.cs 16 | E:\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.RazorTargetAssemblyInfo.cache 17 | E:\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.csproj.CopyComplete 18 | E:\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\staticwebassets\WebAPI.StaticWebAssets.Manifest.cache 19 | E:\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\staticwebassets\WebAPI.StaticWebAssets.xml 20 | E:\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.dll 21 | E:\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.pdb 22 | E:\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.genruntimeconfig.cache 23 | E:\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.csprojAssemblyReference.cache 24 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\System.Data.SqlClient.dll 25 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\runtimes\win-arm64\native\sni.dll 26 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\runtimes\win-x64\native\sni.dll 27 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\runtimes\win-x86\native\sni.dll 28 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\runtimes\unix\lib\netcoreapp2.1\System.Data.SqlClient.dll 29 | E:\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\runtimes\win\lib\netcoreapp2.1\System.Data.SqlClient.dll 30 | E:\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.csproj.CoreCompileInputs.cache 31 | E:\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.MvcApplicationPartsAssemblyInfo.cache 32 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\appsettings.Development.json 33 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\appsettings.json 34 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\Properties\launchSettings.json 35 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\WebAPI.exe 36 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\WebAPI.deps.json 37 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\WebAPI.runtimeconfig.json 38 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\WebAPI.runtimeconfig.dev.json 39 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\WebAPI.dll 40 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\WebAPI.pdb 41 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\Microsoft.AspNetCore.JsonPatch.dll 42 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll 43 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\Newtonsoft.Json.dll 44 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\Newtonsoft.Json.Bson.dll 45 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\System.Data.SqlClient.dll 46 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\runtimes\win-arm64\native\sni.dll 47 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\runtimes\win-x64\native\sni.dll 48 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\runtimes\win-x86\native\sni.dll 49 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\runtimes\unix\lib\netcoreapp2.1\System.Data.SqlClient.dll 50 | E:\mycourses\coreAPI\WebAPI\WebAPI\bin\Debug\netcoreapp3.1\runtimes\win\lib\netcoreapp2.1\System.Data.SqlClient.dll 51 | E:\mycourses\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.csprojAssemblyReference.cache 52 | E:\mycourses\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.AssemblyInfoInputs.cache 53 | E:\mycourses\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.AssemblyInfo.cs 54 | E:\mycourses\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.csproj.CoreCompileInputs.cache 55 | E:\mycourses\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.MvcApplicationPartsAssemblyInfo.cache 56 | E:\mycourses\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.RazorTargetAssemblyInfo.cache 57 | E:\mycourses\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.csproj.CopyComplete 58 | E:\mycourses\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\staticwebassets\WebAPI.StaticWebAssets.Manifest.cache 59 | E:\mycourses\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\staticwebassets\WebAPI.StaticWebAssets.xml 60 | E:\mycourses\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.dll 61 | E:\mycourses\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.pdb 62 | E:\mycourses\coreAPI\WebAPI\WebAPI\obj\Debug\netcoreapp3.1\WebAPI.genruntimeconfig.cache 63 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.csprojAssemblyReference.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.csprojAssemblyReference.cache -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.dll -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.exe -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.genruntimeconfig.cache: -------------------------------------------------------------------------------- 1 | 86c8e15dd33445635927cfaf398408205fd11473 2 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/obj/Debug/netcoreapp3.1/WebAPI.pdb -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/staticwebassets/WebAPI.StaticWebAssets.Manifest.cache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/WebAPI/WebAPI/obj/Debug/netcoreapp3.1/staticwebassets/WebAPI.StaticWebAssets.Manifest.cache -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/Debug/netcoreapp3.1/staticwebassets/WebAPI.StaticWebAssets.xml: -------------------------------------------------------------------------------- 1 |  -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/WebAPI.csproj.nuget.dgspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "format": 1, 3 | "restore": { 4 | "E:\\mycourses\\coreAPI\\WebAPI\\WebAPI\\WebAPI.csproj": {} 5 | }, 6 | "projects": { 7 | "E:\\mycourses\\coreAPI\\WebAPI\\WebAPI\\WebAPI.csproj": { 8 | "version": "1.0.0", 9 | "restore": { 10 | "projectUniqueName": "E:\\mycourses\\coreAPI\\WebAPI\\WebAPI\\WebAPI.csproj", 11 | "projectName": "WebAPI", 12 | "projectPath": "E:\\mycourses\\coreAPI\\WebAPI\\WebAPI\\WebAPI.csproj", 13 | "packagesPath": "C:\\Users\\Vinay6666\\.nuget\\packages\\", 14 | "outputPath": "E:\\mycourses\\coreAPI\\WebAPI\\WebAPI\\obj\\", 15 | "projectStyle": "PackageReference", 16 | "configFilePaths": [ 17 | "C:\\Users\\Vinay6666\\AppData\\Roaming\\NuGet\\NuGet.Config", 18 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 19 | ], 20 | "originalTargetFrameworks": [ 21 | "netcoreapp3.1" 22 | ], 23 | "sources": { 24 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 25 | "https://api.nuget.org/v3/index.json": {} 26 | }, 27 | "frameworks": { 28 | "netcoreapp3.1": { 29 | "projectReferences": {} 30 | } 31 | }, 32 | "warningProperties": { 33 | "warnAsError": [ 34 | "NU1605" 35 | ] 36 | } 37 | }, 38 | "frameworks": { 39 | "netcoreapp3.1": { 40 | "dependencies": { 41 | "Microsoft.AspNetCore.Mvc.NewtonsoftJson": { 42 | "target": "Package", 43 | "version": "[3.1.9, )" 44 | }, 45 | "System.Data.SqlClient": { 46 | "target": "Package", 47 | "version": "[4.8.2, )" 48 | } 49 | }, 50 | "imports": [ 51 | "net461", 52 | "net462", 53 | "net47", 54 | "net471", 55 | "net472", 56 | "net48" 57 | ], 58 | "assetTargetFallback": true, 59 | "warn": true, 60 | "downloadDependencies": [ 61 | { 62 | "name": "Microsoft.AspNetCore.App.Ref", 63 | "version": "[3.1.2, 3.1.2]" 64 | } 65 | ], 66 | "frameworkReferences": { 67 | "Microsoft.AspNetCore.App": { 68 | "privateAssets": "none" 69 | }, 70 | "Microsoft.NETCore.App": { 71 | "privateAssets": "all" 72 | } 73 | }, 74 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.300\\RuntimeIdentifierGraph.json" 75 | } 76 | } 77 | } 78 | } 79 | } -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/WebAPI.csproj.nuget.g.props: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | True 5 | NuGet 6 | $(MSBuildThisFileDirectory)project.assets.json 7 | $(UserProfile)\.nuget\packages\ 8 | C:\Users\Vinay6666\.nuget\packages\ 9 | PackageReference 10 | 5.6.0 11 | 12 | 13 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 14 | 15 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/WebAPI.csproj.nuget.g.targets: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | 6 | -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/project.assets.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "targets": { 4 | ".NETCoreApp,Version=v3.1": { 5 | "Microsoft.AspNetCore.JsonPatch/3.1.9": { 6 | "type": "package", 7 | "dependencies": { 8 | "Microsoft.CSharp": "4.7.0", 9 | "Newtonsoft.Json": "12.0.2" 10 | }, 11 | "compile": { 12 | "lib/netstandard2.0/Microsoft.AspNetCore.JsonPatch.dll": {} 13 | }, 14 | "runtime": { 15 | "lib/netstandard2.0/Microsoft.AspNetCore.JsonPatch.dll": {} 16 | } 17 | }, 18 | "Microsoft.AspNetCore.Mvc.NewtonsoftJson/3.1.9": { 19 | "type": "package", 20 | "dependencies": { 21 | "Microsoft.AspNetCore.JsonPatch": "3.1.9", 22 | "Newtonsoft.Json": "12.0.2", 23 | "Newtonsoft.Json.Bson": "1.0.2" 24 | }, 25 | "compile": { 26 | "lib/netcoreapp3.1/Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll": {} 27 | }, 28 | "runtime": { 29 | "lib/netcoreapp3.1/Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll": {} 30 | }, 31 | "frameworkReferences": [ 32 | "Microsoft.AspNetCore.App" 33 | ] 34 | }, 35 | "Microsoft.CSharp/4.7.0": { 36 | "type": "package", 37 | "compile": { 38 | "ref/netcoreapp2.0/_._": {} 39 | }, 40 | "runtime": { 41 | "lib/netcoreapp2.0/_._": {} 42 | } 43 | }, 44 | "Microsoft.NETCore.Platforms/3.1.0": { 45 | "type": "package", 46 | "compile": { 47 | "lib/netstandard1.0/_._": {} 48 | }, 49 | "runtime": { 50 | "lib/netstandard1.0/_._": {} 51 | } 52 | }, 53 | "Microsoft.Win32.Registry/4.7.0": { 54 | "type": "package", 55 | "dependencies": { 56 | "System.Security.AccessControl": "4.7.0", 57 | "System.Security.Principal.Windows": "4.7.0" 58 | }, 59 | "compile": { 60 | "ref/netstandard2.0/_._": {} 61 | }, 62 | "runtime": { 63 | "lib/netstandard2.0/Microsoft.Win32.Registry.dll": {} 64 | }, 65 | "runtimeTargets": { 66 | "runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll": { 67 | "assetType": "runtime", 68 | "rid": "unix" 69 | }, 70 | "runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll": { 71 | "assetType": "runtime", 72 | "rid": "win" 73 | } 74 | } 75 | }, 76 | "Newtonsoft.Json/12.0.2": { 77 | "type": "package", 78 | "compile": { 79 | "lib/netstandard2.0/Newtonsoft.Json.dll": {} 80 | }, 81 | "runtime": { 82 | "lib/netstandard2.0/Newtonsoft.Json.dll": {} 83 | } 84 | }, 85 | "Newtonsoft.Json.Bson/1.0.2": { 86 | "type": "package", 87 | "dependencies": { 88 | "Newtonsoft.Json": "12.0.1" 89 | }, 90 | "compile": { 91 | "lib/netstandard2.0/Newtonsoft.Json.Bson.dll": {} 92 | }, 93 | "runtime": { 94 | "lib/netstandard2.0/Newtonsoft.Json.Bson.dll": {} 95 | } 96 | }, 97 | "runtime.native.System.Data.SqlClient.sni/4.7.0": { 98 | "type": "package", 99 | "dependencies": { 100 | "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni": "4.4.0", 101 | "runtime.win-x64.runtime.native.System.Data.SqlClient.sni": "4.4.0", 102 | "runtime.win-x86.runtime.native.System.Data.SqlClient.sni": "4.4.0" 103 | } 104 | }, 105 | "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { 106 | "type": "package", 107 | "runtimeTargets": { 108 | "runtimes/win-arm64/native/sni.dll": { 109 | "assetType": "native", 110 | "rid": "win-arm64" 111 | } 112 | } 113 | }, 114 | "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { 115 | "type": "package", 116 | "runtimeTargets": { 117 | "runtimes/win-x64/native/sni.dll": { 118 | "assetType": "native", 119 | "rid": "win-x64" 120 | } 121 | } 122 | }, 123 | "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { 124 | "type": "package", 125 | "runtimeTargets": { 126 | "runtimes/win-x86/native/sni.dll": { 127 | "assetType": "native", 128 | "rid": "win-x86" 129 | } 130 | } 131 | }, 132 | "System.Data.SqlClient/4.8.2": { 133 | "type": "package", 134 | "dependencies": { 135 | "Microsoft.Win32.Registry": "4.7.0", 136 | "System.Security.Principal.Windows": "4.7.0", 137 | "runtime.native.System.Data.SqlClient.sni": "4.7.0" 138 | }, 139 | "compile": { 140 | "ref/netcoreapp2.1/System.Data.SqlClient.dll": {} 141 | }, 142 | "runtime": { 143 | "lib/netcoreapp2.1/System.Data.SqlClient.dll": {} 144 | }, 145 | "runtimeTargets": { 146 | "runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll": { 147 | "assetType": "runtime", 148 | "rid": "unix" 149 | }, 150 | "runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll": { 151 | "assetType": "runtime", 152 | "rid": "win" 153 | } 154 | } 155 | }, 156 | "System.Security.AccessControl/4.7.0": { 157 | "type": "package", 158 | "dependencies": { 159 | "Microsoft.NETCore.Platforms": "3.1.0", 160 | "System.Security.Principal.Windows": "4.7.0" 161 | }, 162 | "compile": { 163 | "ref/netstandard2.0/_._": {} 164 | }, 165 | "runtime": { 166 | "lib/netstandard2.0/System.Security.AccessControl.dll": {} 167 | }, 168 | "runtimeTargets": { 169 | "runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll": { 170 | "assetType": "runtime", 171 | "rid": "win" 172 | } 173 | } 174 | }, 175 | "System.Security.Principal.Windows/4.7.0": { 176 | "type": "package", 177 | "compile": { 178 | "ref/netcoreapp3.0/_._": {} 179 | }, 180 | "runtime": { 181 | "lib/netstandard2.0/System.Security.Principal.Windows.dll": {} 182 | }, 183 | "runtimeTargets": { 184 | "runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": { 185 | "assetType": "runtime", 186 | "rid": "unix" 187 | }, 188 | "runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": { 189 | "assetType": "runtime", 190 | "rid": "win" 191 | } 192 | } 193 | } 194 | } 195 | }, 196 | "libraries": { 197 | "Microsoft.AspNetCore.JsonPatch/3.1.9": { 198 | "sha512": "ugsTdK5wlmwZQ1Y4rvIoqci4uCQ7dgtAIG8cFlvB+3hXdDlECkE8xxoUrFgmZ4TGIuUwRpmWp5pvjX1n8gzJeg==", 199 | "type": "package", 200 | "path": "microsoft.aspnetcore.jsonpatch/3.1.9", 201 | "files": [ 202 | ".nupkg.metadata", 203 | ".signature.p7s", 204 | "Icon.png", 205 | "THIRD-PARTY-NOTICES.TXT", 206 | "lib/netstandard2.0/Microsoft.AspNetCore.JsonPatch.dll", 207 | "lib/netstandard2.0/Microsoft.AspNetCore.JsonPatch.xml", 208 | "microsoft.aspnetcore.jsonpatch.3.1.9.nupkg.sha512", 209 | "microsoft.aspnetcore.jsonpatch.nuspec" 210 | ] 211 | }, 212 | "Microsoft.AspNetCore.Mvc.NewtonsoftJson/3.1.9": { 213 | "sha512": "uc2OLoGtc8YIJDsGD2NqdzhFcinqKjRITntscVrWWwqN/LZjUZ6VuXk+Qf7rKK53S5+nsaQvb6ofpnSPfhv/Cw==", 214 | "type": "package", 215 | "path": "microsoft.aspnetcore.mvc.newtonsoftjson/3.1.9", 216 | "files": [ 217 | ".nupkg.metadata", 218 | ".signature.p7s", 219 | "Icon.png", 220 | "THIRD-PARTY-NOTICES.TXT", 221 | "lib/netcoreapp3.1/Microsoft.AspNetCore.Mvc.NewtonsoftJson.dll", 222 | "lib/netcoreapp3.1/Microsoft.AspNetCore.Mvc.NewtonsoftJson.xml", 223 | "microsoft.aspnetcore.mvc.newtonsoftjson.3.1.9.nupkg.sha512", 224 | "microsoft.aspnetcore.mvc.newtonsoftjson.nuspec" 225 | ] 226 | }, 227 | "Microsoft.CSharp/4.7.0": { 228 | "sha512": "pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==", 229 | "type": "package", 230 | "path": "microsoft.csharp/4.7.0", 231 | "files": [ 232 | ".nupkg.metadata", 233 | ".signature.p7s", 234 | "LICENSE.TXT", 235 | "THIRD-PARTY-NOTICES.TXT", 236 | "lib/MonoAndroid10/_._", 237 | "lib/MonoTouch10/_._", 238 | "lib/net45/_._", 239 | "lib/netcore50/Microsoft.CSharp.dll", 240 | "lib/netcoreapp2.0/_._", 241 | "lib/netstandard1.3/Microsoft.CSharp.dll", 242 | "lib/netstandard2.0/Microsoft.CSharp.dll", 243 | "lib/netstandard2.0/Microsoft.CSharp.xml", 244 | "lib/portable-net45+win8+wp8+wpa81/_._", 245 | "lib/uap10.0.16299/_._", 246 | "lib/win8/_._", 247 | "lib/wp80/_._", 248 | "lib/wpa81/_._", 249 | "lib/xamarinios10/_._", 250 | "lib/xamarinmac20/_._", 251 | "lib/xamarintvos10/_._", 252 | "lib/xamarinwatchos10/_._", 253 | "microsoft.csharp.4.7.0.nupkg.sha512", 254 | "microsoft.csharp.nuspec", 255 | "ref/MonoAndroid10/_._", 256 | "ref/MonoTouch10/_._", 257 | "ref/net45/_._", 258 | "ref/netcore50/Microsoft.CSharp.dll", 259 | "ref/netcore50/Microsoft.CSharp.xml", 260 | "ref/netcore50/de/Microsoft.CSharp.xml", 261 | "ref/netcore50/es/Microsoft.CSharp.xml", 262 | "ref/netcore50/fr/Microsoft.CSharp.xml", 263 | "ref/netcore50/it/Microsoft.CSharp.xml", 264 | "ref/netcore50/ja/Microsoft.CSharp.xml", 265 | "ref/netcore50/ko/Microsoft.CSharp.xml", 266 | "ref/netcore50/ru/Microsoft.CSharp.xml", 267 | "ref/netcore50/zh-hans/Microsoft.CSharp.xml", 268 | "ref/netcore50/zh-hant/Microsoft.CSharp.xml", 269 | "ref/netcoreapp2.0/_._", 270 | "ref/netstandard1.0/Microsoft.CSharp.dll", 271 | "ref/netstandard1.0/Microsoft.CSharp.xml", 272 | "ref/netstandard1.0/de/Microsoft.CSharp.xml", 273 | "ref/netstandard1.0/es/Microsoft.CSharp.xml", 274 | "ref/netstandard1.0/fr/Microsoft.CSharp.xml", 275 | "ref/netstandard1.0/it/Microsoft.CSharp.xml", 276 | "ref/netstandard1.0/ja/Microsoft.CSharp.xml", 277 | "ref/netstandard1.0/ko/Microsoft.CSharp.xml", 278 | "ref/netstandard1.0/ru/Microsoft.CSharp.xml", 279 | "ref/netstandard1.0/zh-hans/Microsoft.CSharp.xml", 280 | "ref/netstandard1.0/zh-hant/Microsoft.CSharp.xml", 281 | "ref/netstandard2.0/Microsoft.CSharp.dll", 282 | "ref/netstandard2.0/Microsoft.CSharp.xml", 283 | "ref/portable-net45+win8+wp8+wpa81/_._", 284 | "ref/uap10.0.16299/_._", 285 | "ref/win8/_._", 286 | "ref/wp80/_._", 287 | "ref/wpa81/_._", 288 | "ref/xamarinios10/_._", 289 | "ref/xamarinmac20/_._", 290 | "ref/xamarintvos10/_._", 291 | "ref/xamarinwatchos10/_._", 292 | "useSharedDesignerContext.txt", 293 | "version.txt" 294 | ] 295 | }, 296 | "Microsoft.NETCore.Platforms/3.1.0": { 297 | "sha512": "z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==", 298 | "type": "package", 299 | "path": "microsoft.netcore.platforms/3.1.0", 300 | "files": [ 301 | ".nupkg.metadata", 302 | ".signature.p7s", 303 | "LICENSE.TXT", 304 | "THIRD-PARTY-NOTICES.TXT", 305 | "lib/netstandard1.0/_._", 306 | "microsoft.netcore.platforms.3.1.0.nupkg.sha512", 307 | "microsoft.netcore.platforms.nuspec", 308 | "runtime.json", 309 | "useSharedDesignerContext.txt", 310 | "version.txt" 311 | ] 312 | }, 313 | "Microsoft.Win32.Registry/4.7.0": { 314 | "sha512": "KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==", 315 | "type": "package", 316 | "path": "microsoft.win32.registry/4.7.0", 317 | "files": [ 318 | ".nupkg.metadata", 319 | ".signature.p7s", 320 | "LICENSE.TXT", 321 | "THIRD-PARTY-NOTICES.TXT", 322 | "lib/net46/Microsoft.Win32.Registry.dll", 323 | "lib/net461/Microsoft.Win32.Registry.dll", 324 | "lib/net461/Microsoft.Win32.Registry.xml", 325 | "lib/netstandard1.3/Microsoft.Win32.Registry.dll", 326 | "lib/netstandard2.0/Microsoft.Win32.Registry.dll", 327 | "lib/netstandard2.0/Microsoft.Win32.Registry.xml", 328 | "microsoft.win32.registry.4.7.0.nupkg.sha512", 329 | "microsoft.win32.registry.nuspec", 330 | "ref/net46/Microsoft.Win32.Registry.dll", 331 | "ref/net461/Microsoft.Win32.Registry.dll", 332 | "ref/net461/Microsoft.Win32.Registry.xml", 333 | "ref/net472/Microsoft.Win32.Registry.dll", 334 | "ref/net472/Microsoft.Win32.Registry.xml", 335 | "ref/netstandard1.3/Microsoft.Win32.Registry.dll", 336 | "ref/netstandard1.3/Microsoft.Win32.Registry.xml", 337 | "ref/netstandard1.3/de/Microsoft.Win32.Registry.xml", 338 | "ref/netstandard1.3/es/Microsoft.Win32.Registry.xml", 339 | "ref/netstandard1.3/fr/Microsoft.Win32.Registry.xml", 340 | "ref/netstandard1.3/it/Microsoft.Win32.Registry.xml", 341 | "ref/netstandard1.3/ja/Microsoft.Win32.Registry.xml", 342 | "ref/netstandard1.3/ko/Microsoft.Win32.Registry.xml", 343 | "ref/netstandard1.3/ru/Microsoft.Win32.Registry.xml", 344 | "ref/netstandard1.3/zh-hans/Microsoft.Win32.Registry.xml", 345 | "ref/netstandard1.3/zh-hant/Microsoft.Win32.Registry.xml", 346 | "ref/netstandard2.0/Microsoft.Win32.Registry.dll", 347 | "ref/netstandard2.0/Microsoft.Win32.Registry.xml", 348 | "runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll", 349 | "runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.xml", 350 | "runtimes/win/lib/net46/Microsoft.Win32.Registry.dll", 351 | "runtimes/win/lib/net461/Microsoft.Win32.Registry.dll", 352 | "runtimes/win/lib/net461/Microsoft.Win32.Registry.xml", 353 | "runtimes/win/lib/netstandard1.3/Microsoft.Win32.Registry.dll", 354 | "runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll", 355 | "runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.xml", 356 | "useSharedDesignerContext.txt", 357 | "version.txt" 358 | ] 359 | }, 360 | "Newtonsoft.Json/12.0.2": { 361 | "sha512": "rTK0s2EKlfHsQsH6Yx2smvcTCeyoDNgCW7FEYyV01drPlh2T243PR2DiDXqtC5N4GDm4Ma/lkxfW5a/4793vbA==", 362 | "type": "package", 363 | "path": "newtonsoft.json/12.0.2", 364 | "files": [ 365 | ".nupkg.metadata", 366 | ".signature.p7s", 367 | "LICENSE.md", 368 | "lib/net20/Newtonsoft.Json.dll", 369 | "lib/net20/Newtonsoft.Json.xml", 370 | "lib/net35/Newtonsoft.Json.dll", 371 | "lib/net35/Newtonsoft.Json.xml", 372 | "lib/net40/Newtonsoft.Json.dll", 373 | "lib/net40/Newtonsoft.Json.xml", 374 | "lib/net45/Newtonsoft.Json.dll", 375 | "lib/net45/Newtonsoft.Json.xml", 376 | "lib/netstandard1.0/Newtonsoft.Json.dll", 377 | "lib/netstandard1.0/Newtonsoft.Json.xml", 378 | "lib/netstandard1.3/Newtonsoft.Json.dll", 379 | "lib/netstandard1.3/Newtonsoft.Json.xml", 380 | "lib/netstandard2.0/Newtonsoft.Json.dll", 381 | "lib/netstandard2.0/Newtonsoft.Json.xml", 382 | "lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll", 383 | "lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.xml", 384 | "lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll", 385 | "lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.xml", 386 | "newtonsoft.json.12.0.2.nupkg.sha512", 387 | "newtonsoft.json.nuspec" 388 | ] 389 | }, 390 | "Newtonsoft.Json.Bson/1.0.2": { 391 | "sha512": "QYFyxhaABwmq3p/21VrZNYvCg3DaEoN/wUuw5nmfAf0X3HLjgupwhkEWdgfb9nvGAUIv3osmZoD3kKl4jxEmYQ==", 392 | "type": "package", 393 | "path": "newtonsoft.json.bson/1.0.2", 394 | "files": [ 395 | ".nupkg.metadata", 396 | ".signature.p7s", 397 | "LICENSE.md", 398 | "lib/net45/Newtonsoft.Json.Bson.dll", 399 | "lib/net45/Newtonsoft.Json.Bson.pdb", 400 | "lib/net45/Newtonsoft.Json.Bson.xml", 401 | "lib/netstandard1.3/Newtonsoft.Json.Bson.dll", 402 | "lib/netstandard1.3/Newtonsoft.Json.Bson.pdb", 403 | "lib/netstandard1.3/Newtonsoft.Json.Bson.xml", 404 | "lib/netstandard2.0/Newtonsoft.Json.Bson.dll", 405 | "lib/netstandard2.0/Newtonsoft.Json.Bson.pdb", 406 | "lib/netstandard2.0/Newtonsoft.Json.Bson.xml", 407 | "newtonsoft.json.bson.1.0.2.nupkg.sha512", 408 | "newtonsoft.json.bson.nuspec" 409 | ] 410 | }, 411 | "runtime.native.System.Data.SqlClient.sni/4.7.0": { 412 | "sha512": "9kyFSIdN3T0qjDQ2R0HRXYIhS3l5psBzQi6qqhdLz+SzFyEy4sVxNOke+yyYv8Cu8rPER12c3RDjLT8wF3WBYQ==", 413 | "type": "package", 414 | "path": "runtime.native.system.data.sqlclient.sni/4.7.0", 415 | "files": [ 416 | ".nupkg.metadata", 417 | ".signature.p7s", 418 | "LICENSE.TXT", 419 | "THIRD-PARTY-NOTICES.TXT", 420 | "runtime.native.system.data.sqlclient.sni.4.7.0.nupkg.sha512", 421 | "runtime.native.system.data.sqlclient.sni.nuspec", 422 | "useSharedDesignerContext.txt", 423 | "version.txt" 424 | ] 425 | }, 426 | "runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": { 427 | "sha512": "LbrynESTp3bm5O/+jGL8v0Qg5SJlTV08lpIpFesXjF6uGNMWqFnUQbYBJwZTeua6E/Y7FIM1C54Ey1btLWupdg==", 428 | "type": "package", 429 | "path": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni/4.4.0", 430 | "files": [ 431 | ".nupkg.metadata", 432 | ".signature.p7s", 433 | "ThirdPartyNotices.txt", 434 | "dotnet_library_license.txt", 435 | "runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", 436 | "runtime.win-arm64.runtime.native.system.data.sqlclient.sni.nuspec", 437 | "runtimes/win-arm64/native/sni.dll", 438 | "useSharedDesignerContext.txt", 439 | "version.txt" 440 | ] 441 | }, 442 | "runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": { 443 | "sha512": "38ugOfkYJqJoX9g6EYRlZB5U2ZJH51UP8ptxZgdpS07FgOEToV+lS11ouNK2PM12Pr6X/PpT5jK82G3DwH/SxQ==", 444 | "type": "package", 445 | "path": "runtime.win-x64.runtime.native.system.data.sqlclient.sni/4.4.0", 446 | "files": [ 447 | ".nupkg.metadata", 448 | ".signature.p7s", 449 | "ThirdPartyNotices.txt", 450 | "dotnet_library_license.txt", 451 | "runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", 452 | "runtime.win-x64.runtime.native.system.data.sqlclient.sni.nuspec", 453 | "runtimes/win-x64/native/sni.dll", 454 | "useSharedDesignerContext.txt", 455 | "version.txt" 456 | ] 457 | }, 458 | "runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": { 459 | "sha512": "YhEdSQUsTx+C8m8Bw7ar5/VesXvCFMItyZF7G1AUY+OM0VPZUOeAVpJ4Wl6fydBGUYZxojTDR3I6Bj/+BPkJNA==", 460 | "type": "package", 461 | "path": "runtime.win-x86.runtime.native.system.data.sqlclient.sni/4.4.0", 462 | "files": [ 463 | ".nupkg.metadata", 464 | ".signature.p7s", 465 | "ThirdPartyNotices.txt", 466 | "dotnet_library_license.txt", 467 | "runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", 468 | "runtime.win-x86.runtime.native.system.data.sqlclient.sni.nuspec", 469 | "runtimes/win-x86/native/sni.dll", 470 | "useSharedDesignerContext.txt", 471 | "version.txt" 472 | ] 473 | }, 474 | "System.Data.SqlClient/4.8.2": { 475 | "sha512": "80vGtW6uLB4AkyrdVuKTXYUyuXDPAsSKbTVfvjndZaRAYxzFzWhJbvUfeAKrN+128ycWZjLIAl61dFUwWHOOTw==", 476 | "type": "package", 477 | "path": "system.data.sqlclient/4.8.2", 478 | "files": [ 479 | ".nupkg.metadata", 480 | ".signature.p7s", 481 | "Icon.png", 482 | "LICENSE.TXT", 483 | "THIRD-PARTY-NOTICES.TXT", 484 | "lib/MonoAndroid10/_._", 485 | "lib/MonoTouch10/_._", 486 | "lib/net451/System.Data.SqlClient.dll", 487 | "lib/net46/System.Data.SqlClient.dll", 488 | "lib/net461/System.Data.SqlClient.dll", 489 | "lib/net461/System.Data.SqlClient.xml", 490 | "lib/netcoreapp2.1/System.Data.SqlClient.dll", 491 | "lib/netcoreapp2.1/System.Data.SqlClient.xml", 492 | "lib/netstandard1.2/System.Data.SqlClient.dll", 493 | "lib/netstandard1.2/System.Data.SqlClient.xml", 494 | "lib/netstandard1.3/System.Data.SqlClient.dll", 495 | "lib/netstandard1.3/System.Data.SqlClient.xml", 496 | "lib/netstandard2.0/System.Data.SqlClient.dll", 497 | "lib/netstandard2.0/System.Data.SqlClient.xml", 498 | "lib/xamarinios10/_._", 499 | "lib/xamarinmac20/_._", 500 | "lib/xamarintvos10/_._", 501 | "lib/xamarinwatchos10/_._", 502 | "ref/MonoAndroid10/_._", 503 | "ref/MonoTouch10/_._", 504 | "ref/net451/System.Data.SqlClient.dll", 505 | "ref/net46/System.Data.SqlClient.dll", 506 | "ref/net461/System.Data.SqlClient.dll", 507 | "ref/net461/System.Data.SqlClient.xml", 508 | "ref/netcoreapp2.1/System.Data.SqlClient.dll", 509 | "ref/netcoreapp2.1/System.Data.SqlClient.xml", 510 | "ref/netstandard1.2/System.Data.SqlClient.dll", 511 | "ref/netstandard1.2/System.Data.SqlClient.xml", 512 | "ref/netstandard1.2/de/System.Data.SqlClient.xml", 513 | "ref/netstandard1.2/es/System.Data.SqlClient.xml", 514 | "ref/netstandard1.2/fr/System.Data.SqlClient.xml", 515 | "ref/netstandard1.2/it/System.Data.SqlClient.xml", 516 | "ref/netstandard1.2/ja/System.Data.SqlClient.xml", 517 | "ref/netstandard1.2/ko/System.Data.SqlClient.xml", 518 | "ref/netstandard1.2/ru/System.Data.SqlClient.xml", 519 | "ref/netstandard1.2/zh-hans/System.Data.SqlClient.xml", 520 | "ref/netstandard1.2/zh-hant/System.Data.SqlClient.xml", 521 | "ref/netstandard1.3/System.Data.SqlClient.dll", 522 | "ref/netstandard1.3/System.Data.SqlClient.xml", 523 | "ref/netstandard1.3/de/System.Data.SqlClient.xml", 524 | "ref/netstandard1.3/es/System.Data.SqlClient.xml", 525 | "ref/netstandard1.3/fr/System.Data.SqlClient.xml", 526 | "ref/netstandard1.3/it/System.Data.SqlClient.xml", 527 | "ref/netstandard1.3/ja/System.Data.SqlClient.xml", 528 | "ref/netstandard1.3/ko/System.Data.SqlClient.xml", 529 | "ref/netstandard1.3/ru/System.Data.SqlClient.xml", 530 | "ref/netstandard1.3/zh-hans/System.Data.SqlClient.xml", 531 | "ref/netstandard1.3/zh-hant/System.Data.SqlClient.xml", 532 | "ref/netstandard2.0/System.Data.SqlClient.dll", 533 | "ref/netstandard2.0/System.Data.SqlClient.xml", 534 | "ref/xamarinios10/_._", 535 | "ref/xamarinmac20/_._", 536 | "ref/xamarintvos10/_._", 537 | "ref/xamarinwatchos10/_._", 538 | "runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll", 539 | "runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.xml", 540 | "runtimes/unix/lib/netstandard1.3/System.Data.SqlClient.dll", 541 | "runtimes/unix/lib/netstandard2.0/System.Data.SqlClient.dll", 542 | "runtimes/unix/lib/netstandard2.0/System.Data.SqlClient.xml", 543 | "runtimes/win/lib/net451/System.Data.SqlClient.dll", 544 | "runtimes/win/lib/net46/System.Data.SqlClient.dll", 545 | "runtimes/win/lib/net461/System.Data.SqlClient.dll", 546 | "runtimes/win/lib/net461/System.Data.SqlClient.xml", 547 | "runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll", 548 | "runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.xml", 549 | "runtimes/win/lib/netstandard1.3/System.Data.SqlClient.dll", 550 | "runtimes/win/lib/netstandard2.0/System.Data.SqlClient.dll", 551 | "runtimes/win/lib/netstandard2.0/System.Data.SqlClient.xml", 552 | "runtimes/win/lib/uap10.0.16299/System.Data.SqlClient.dll", 553 | "runtimes/win/lib/uap10.0.16299/System.Data.SqlClient.xml", 554 | "system.data.sqlclient.4.8.2.nupkg.sha512", 555 | "system.data.sqlclient.nuspec", 556 | "useSharedDesignerContext.txt", 557 | "version.txt" 558 | ] 559 | }, 560 | "System.Security.AccessControl/4.7.0": { 561 | "sha512": "JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==", 562 | "type": "package", 563 | "path": "system.security.accesscontrol/4.7.0", 564 | "files": [ 565 | ".nupkg.metadata", 566 | ".signature.p7s", 567 | "LICENSE.TXT", 568 | "THIRD-PARTY-NOTICES.TXT", 569 | "lib/net46/System.Security.AccessControl.dll", 570 | "lib/net461/System.Security.AccessControl.dll", 571 | "lib/net461/System.Security.AccessControl.xml", 572 | "lib/netstandard1.3/System.Security.AccessControl.dll", 573 | "lib/netstandard2.0/System.Security.AccessControl.dll", 574 | "lib/netstandard2.0/System.Security.AccessControl.xml", 575 | "lib/uap10.0.16299/_._", 576 | "ref/net46/System.Security.AccessControl.dll", 577 | "ref/net461/System.Security.AccessControl.dll", 578 | "ref/net461/System.Security.AccessControl.xml", 579 | "ref/netstandard1.3/System.Security.AccessControl.dll", 580 | "ref/netstandard1.3/System.Security.AccessControl.xml", 581 | "ref/netstandard1.3/de/System.Security.AccessControl.xml", 582 | "ref/netstandard1.3/es/System.Security.AccessControl.xml", 583 | "ref/netstandard1.3/fr/System.Security.AccessControl.xml", 584 | "ref/netstandard1.3/it/System.Security.AccessControl.xml", 585 | "ref/netstandard1.3/ja/System.Security.AccessControl.xml", 586 | "ref/netstandard1.3/ko/System.Security.AccessControl.xml", 587 | "ref/netstandard1.3/ru/System.Security.AccessControl.xml", 588 | "ref/netstandard1.3/zh-hans/System.Security.AccessControl.xml", 589 | "ref/netstandard1.3/zh-hant/System.Security.AccessControl.xml", 590 | "ref/netstandard2.0/System.Security.AccessControl.dll", 591 | "ref/netstandard2.0/System.Security.AccessControl.xml", 592 | "ref/uap10.0.16299/_._", 593 | "runtimes/win/lib/net46/System.Security.AccessControl.dll", 594 | "runtimes/win/lib/net461/System.Security.AccessControl.dll", 595 | "runtimes/win/lib/net461/System.Security.AccessControl.xml", 596 | "runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll", 597 | "runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.xml", 598 | "runtimes/win/lib/netstandard1.3/System.Security.AccessControl.dll", 599 | "runtimes/win/lib/uap10.0.16299/_._", 600 | "system.security.accesscontrol.4.7.0.nupkg.sha512", 601 | "system.security.accesscontrol.nuspec", 602 | "useSharedDesignerContext.txt", 603 | "version.txt" 604 | ] 605 | }, 606 | "System.Security.Principal.Windows/4.7.0": { 607 | "sha512": "ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==", 608 | "type": "package", 609 | "path": "system.security.principal.windows/4.7.0", 610 | "files": [ 611 | ".nupkg.metadata", 612 | ".signature.p7s", 613 | "LICENSE.TXT", 614 | "THIRD-PARTY-NOTICES.TXT", 615 | "lib/net46/System.Security.Principal.Windows.dll", 616 | "lib/net461/System.Security.Principal.Windows.dll", 617 | "lib/net461/System.Security.Principal.Windows.xml", 618 | "lib/netstandard1.3/System.Security.Principal.Windows.dll", 619 | "lib/netstandard2.0/System.Security.Principal.Windows.dll", 620 | "lib/netstandard2.0/System.Security.Principal.Windows.xml", 621 | "lib/uap10.0.16299/_._", 622 | "ref/net46/System.Security.Principal.Windows.dll", 623 | "ref/net461/System.Security.Principal.Windows.dll", 624 | "ref/net461/System.Security.Principal.Windows.xml", 625 | "ref/netcoreapp3.0/System.Security.Principal.Windows.dll", 626 | "ref/netcoreapp3.0/System.Security.Principal.Windows.xml", 627 | "ref/netstandard1.3/System.Security.Principal.Windows.dll", 628 | "ref/netstandard1.3/System.Security.Principal.Windows.xml", 629 | "ref/netstandard1.3/de/System.Security.Principal.Windows.xml", 630 | "ref/netstandard1.3/es/System.Security.Principal.Windows.xml", 631 | "ref/netstandard1.3/fr/System.Security.Principal.Windows.xml", 632 | "ref/netstandard1.3/it/System.Security.Principal.Windows.xml", 633 | "ref/netstandard1.3/ja/System.Security.Principal.Windows.xml", 634 | "ref/netstandard1.3/ko/System.Security.Principal.Windows.xml", 635 | "ref/netstandard1.3/ru/System.Security.Principal.Windows.xml", 636 | "ref/netstandard1.3/zh-hans/System.Security.Principal.Windows.xml", 637 | "ref/netstandard1.3/zh-hant/System.Security.Principal.Windows.xml", 638 | "ref/netstandard2.0/System.Security.Principal.Windows.dll", 639 | "ref/netstandard2.0/System.Security.Principal.Windows.xml", 640 | "ref/uap10.0.16299/_._", 641 | "runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.dll", 642 | "runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.xml", 643 | "runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll", 644 | "runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.xml", 645 | "runtimes/win/lib/net46/System.Security.Principal.Windows.dll", 646 | "runtimes/win/lib/net461/System.Security.Principal.Windows.dll", 647 | "runtimes/win/lib/net461/System.Security.Principal.Windows.xml", 648 | "runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.dll", 649 | "runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.xml", 650 | "runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll", 651 | "runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.xml", 652 | "runtimes/win/lib/netstandard1.3/System.Security.Principal.Windows.dll", 653 | "runtimes/win/lib/uap10.0.16299/_._", 654 | "system.security.principal.windows.4.7.0.nupkg.sha512", 655 | "system.security.principal.windows.nuspec", 656 | "useSharedDesignerContext.txt", 657 | "version.txt" 658 | ] 659 | } 660 | }, 661 | "projectFileDependencyGroups": { 662 | ".NETCoreApp,Version=v3.1": [ 663 | "Microsoft.AspNetCore.Mvc.NewtonsoftJson >= 3.1.9", 664 | "System.Data.SqlClient >= 4.8.2" 665 | ] 666 | }, 667 | "packageFolders": { 668 | "C:\\Users\\Vinay6666\\.nuget\\packages\\": {} 669 | }, 670 | "project": { 671 | "version": "1.0.0", 672 | "restore": { 673 | "projectUniqueName": "E:\\mycourses\\coreAPI\\WebAPI\\WebAPI\\WebAPI.csproj", 674 | "projectName": "WebAPI", 675 | "projectPath": "E:\\mycourses\\coreAPI\\WebAPI\\WebAPI\\WebAPI.csproj", 676 | "packagesPath": "C:\\Users\\Vinay6666\\.nuget\\packages\\", 677 | "outputPath": "E:\\mycourses\\coreAPI\\WebAPI\\WebAPI\\obj\\", 678 | "projectStyle": "PackageReference", 679 | "configFilePaths": [ 680 | "C:\\Users\\Vinay6666\\AppData\\Roaming\\NuGet\\NuGet.Config", 681 | "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" 682 | ], 683 | "originalTargetFrameworks": [ 684 | "netcoreapp3.1" 685 | ], 686 | "sources": { 687 | "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, 688 | "https://api.nuget.org/v3/index.json": {} 689 | }, 690 | "frameworks": { 691 | "netcoreapp3.1": { 692 | "projectReferences": {} 693 | } 694 | }, 695 | "warningProperties": { 696 | "warnAsError": [ 697 | "NU1605" 698 | ] 699 | } 700 | }, 701 | "frameworks": { 702 | "netcoreapp3.1": { 703 | "dependencies": { 704 | "Microsoft.AspNetCore.Mvc.NewtonsoftJson": { 705 | "target": "Package", 706 | "version": "[3.1.9, )" 707 | }, 708 | "System.Data.SqlClient": { 709 | "target": "Package", 710 | "version": "[4.8.2, )" 711 | } 712 | }, 713 | "imports": [ 714 | "net461", 715 | "net462", 716 | "net47", 717 | "net471", 718 | "net472", 719 | "net48" 720 | ], 721 | "assetTargetFallback": true, 722 | "warn": true, 723 | "downloadDependencies": [ 724 | { 725 | "name": "Microsoft.AspNetCore.App.Ref", 726 | "version": "[3.1.2, 3.1.2]" 727 | } 728 | ], 729 | "frameworkReferences": { 730 | "Microsoft.AspNetCore.App": { 731 | "privateAssets": "none" 732 | }, 733 | "Microsoft.NETCore.App": { 734 | "privateAssets": "all" 735 | } 736 | }, 737 | "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.300\\RuntimeIdentifierGraph.json" 738 | } 739 | } 740 | } 741 | } -------------------------------------------------------------------------------- /WebAPI/WebAPI/obj/project.nuget.cache: -------------------------------------------------------------------------------- 1 | { 2 | "version": 2, 3 | "dgSpecHash": "QSxkB1uuzKVU4K/UFpC8Rinm72QyozecLRPROEl8bz7gEeObP/jOCYxTlTR1EoPLhd7R4hYx8p/2Bz205f3jZA==", 4 | "success": true, 5 | "projectFilePath": "E:\\mycourses\\coreAPI\\WebAPI\\WebAPI\\WebAPI.csproj", 6 | "expectedPackageFiles": [ 7 | "C:\\Users\\Vinay6666\\.nuget\\packages\\microsoft.aspnetcore.jsonpatch\\3.1.9\\microsoft.aspnetcore.jsonpatch.3.1.9.nupkg.sha512", 8 | "C:\\Users\\Vinay6666\\.nuget\\packages\\microsoft.aspnetcore.mvc.newtonsoftjson\\3.1.9\\microsoft.aspnetcore.mvc.newtonsoftjson.3.1.9.nupkg.sha512", 9 | "C:\\Users\\Vinay6666\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512", 10 | "C:\\Users\\Vinay6666\\.nuget\\packages\\microsoft.netcore.platforms\\3.1.0\\microsoft.netcore.platforms.3.1.0.nupkg.sha512", 11 | "C:\\Users\\Vinay6666\\.nuget\\packages\\microsoft.win32.registry\\4.7.0\\microsoft.win32.registry.4.7.0.nupkg.sha512", 12 | "C:\\Users\\Vinay6666\\.nuget\\packages\\newtonsoft.json\\12.0.2\\newtonsoft.json.12.0.2.nupkg.sha512", 13 | "C:\\Users\\Vinay6666\\.nuget\\packages\\newtonsoft.json.bson\\1.0.2\\newtonsoft.json.bson.1.0.2.nupkg.sha512", 14 | "C:\\Users\\Vinay6666\\.nuget\\packages\\runtime.native.system.data.sqlclient.sni\\4.7.0\\runtime.native.system.data.sqlclient.sni.4.7.0.nupkg.sha512", 15 | "C:\\Users\\Vinay6666\\.nuget\\packages\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", 16 | "C:\\Users\\Vinay6666\\.nuget\\packages\\runtime.win-x64.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", 17 | "C:\\Users\\Vinay6666\\.nuget\\packages\\runtime.win-x86.runtime.native.system.data.sqlclient.sni\\4.4.0\\runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512", 18 | "C:\\Users\\Vinay6666\\.nuget\\packages\\system.data.sqlclient\\4.8.2\\system.data.sqlclient.4.8.2.nupkg.sha512", 19 | "C:\\Users\\Vinay6666\\.nuget\\packages\\system.security.accesscontrol\\4.7.0\\system.security.accesscontrol.4.7.0.nupkg.sha512", 20 | "C:\\Users\\Vinay6666\\.nuget\\packages\\system.security.principal.windows\\4.7.0\\system.security.principal.windows.4.7.0.nupkg.sha512", 21 | "C:\\Users\\Vinay6666\\.nuget\\packages\\microsoft.aspnetcore.app.ref\\3.1.2\\microsoft.aspnetcore.app.ref.3.1.2.nupkg.sha512" 22 | ], 23 | "logs": [] 24 | } -------------------------------------------------------------------------------- /my-app - Copy/.eslintcache: -------------------------------------------------------------------------------- 1 | [{"E:\\reacttut\\my-app\\src\\index.js":"1","E:\\reacttut\\my-app\\src\\reportWebVitals.js":"2","E:\\reacttut\\my-app\\src\\App.js":"3","E:\\reacttut\\my-app\\src\\Home.js":"4","E:\\reacttut\\my-app\\src\\Department.js":"5","E:\\reacttut\\my-app\\src\\Employee.js":"6","E:\\reacttut\\my-app\\src\\Navigation.js":"7","E:\\reacttut\\my-app\\src\\AddDepModal.js":"8","E:\\reacttut\\my-app\\src\\EditDepModal.js":"9","E:\\reacttut\\my-app\\src\\AddEmpModal.js":"10","E:\\reacttut\\my-app\\src\\EditEmpModal.js":"11"},{"size":500,"mtime":499162500000,"results":"12","hashOfConfig":"13"},{"size":362,"mtime":499162500000,"results":"14","hashOfConfig":"13"},{"size":707,"mtime":1608891587743,"results":"15","hashOfConfig":"13"},{"size":253,"mtime":1608891022006,"results":"16","hashOfConfig":"13"},{"size":2948,"mtime":1608905212071,"results":"17","hashOfConfig":"13"},{"size":3328,"mtime":1608910517884,"results":"18","hashOfConfig":"13"},{"size":927,"mtime":1608891625386,"results":"19","hashOfConfig":"13"},{"size":2103,"mtime":1608904129289,"results":"20","hashOfConfig":"13"},{"size":2576,"mtime":1608904756280,"results":"21","hashOfConfig":"13"},{"size":4376,"mtime":1608911989205,"results":"22","hashOfConfig":"13"},{"size":4985,"mtime":1608912770712,"results":"23","hashOfConfig":"13"},{"filePath":"24","messages":"25","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"26"},"1nc7hi8",{"filePath":"27","messages":"28","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"26"},{"filePath":"29","messages":"30","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"31","usedDeprecatedRules":"26"},{"filePath":"32","messages":"33","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"26"},{"filePath":"34","messages":"35","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"26"},{"filePath":"36","messages":"37","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"26"},{"filePath":"38","messages":"39","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"26"},{"filePath":"40","messages":"41","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"26"},{"filePath":"42","messages":"43","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"26"},{"filePath":"44","messages":"45","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"26"},{"filePath":"46","messages":"47","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"E:\\reacttut\\my-app\\src\\index.js",[],["48","49"],"E:\\reacttut\\my-app\\src\\reportWebVitals.js",[],"E:\\reacttut\\my-app\\src\\App.js",["50"],"import logo from './logo.svg';\nimport './App.css';\n\nimport {Home} from './Home';\nimport {Department} from './Department';\nimport {Employee} from './Employee';\nimport {Navigation} from './Navigation';\n\nimport {BrowserRouter, Route, Switch} from 'react-router-dom';\n\nfunction App() {\n return (\n \n
\n

\n React JS Tutorial\n

\n\n \n\n \n \n \n \n \n
\n
\n );\n}\n\nexport default App;\n","E:\\reacttut\\my-app\\src\\Home.js",[],"E:\\reacttut\\my-app\\src\\Department.js",[],"E:\\reacttut\\my-app\\src\\Employee.js",[],"E:\\reacttut\\my-app\\src\\Navigation.js",[],"E:\\reacttut\\my-app\\src\\AddDepModal.js",[],"E:\\reacttut\\my-app\\src\\EditDepModal.js",[],"E:\\reacttut\\my-app\\src\\AddEmpModal.js",[],"E:\\reacttut\\my-app\\src\\EditEmpModal.js",[],{"ruleId":"51","replacedBy":"52"},{"ruleId":"53","replacedBy":"54"},{"ruleId":"55","severity":1,"message":"56","line":1,"column":8,"nodeType":"57","messageId":"58","endLine":1,"endColumn":12},"no-native-reassign",["59"],"no-negated-in-lhs",["60"],"no-unused-vars","'logo' is defined but never used.","Identifier","unusedVar","no-global-assign","no-unsafe-negation"] -------------------------------------------------------------------------------- /my-app - Copy/.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env 17 | .env.local 18 | .env.development.local 19 | .env.test.local 20 | .env.production.local 21 | 22 | npm-debug.log* 23 | yarn-debug.log* 24 | yarn-error.log* 25 | -------------------------------------------------------------------------------- /my-app - Copy/README.md: -------------------------------------------------------------------------------- 1 | # Getting Started with Create React App 2 | 3 | This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). 4 | 5 | ## Available Scripts 6 | 7 | In the project directory, you can run: 8 | 9 | ### `npm start` 10 | 11 | Runs the app in the development mode.\ 12 | Open [http://localhost:3000](http://localhost:3000) to view it in the browser. 13 | 14 | The page will reload if you make edits.\ 15 | You will also see any lint errors in the console. 16 | 17 | ### `npm test` 18 | 19 | Launches the test runner in the interactive watch mode.\ 20 | See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information. 21 | 22 | ### `npm run build` 23 | 24 | Builds the app for production to the `build` folder.\ 25 | It correctly bundles React in production mode and optimizes the build for the best performance. 26 | 27 | The build is minified and the filenames include the hashes.\ 28 | Your app is ready to be deployed! 29 | 30 | See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information. 31 | 32 | ### `npm run eject` 33 | 34 | **Note: this is a one-way operation. Once you `eject`, you can’t go back!** 35 | 36 | If you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project. 37 | 38 | Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own. 39 | 40 | You don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it. 41 | 42 | ## Learn More 43 | 44 | You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started). 45 | 46 | To learn React, check out the [React documentation](https://reactjs.org/). 47 | 48 | ### Code Splitting 49 | 50 | This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting) 51 | 52 | ### Analyzing the Bundle Size 53 | 54 | This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size) 55 | 56 | ### Making a Progressive Web App 57 | 58 | This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app) 59 | 60 | ### Advanced Configuration 61 | 62 | This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration) 63 | 64 | ### Deployment 65 | 66 | This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment) 67 | 68 | ### `npm run build` fails to minify 69 | 70 | This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify) 71 | -------------------------------------------------------------------------------- /my-app - Copy/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "my-app", 3 | "version": "0.1.0", 4 | "private": true, 5 | "dependencies": { 6 | "@testing-library/jest-dom": "^5.11.6", 7 | "@testing-library/react": "^11.2.2", 8 | "@testing-library/user-event": "^12.6.0", 9 | "bootstrap": "^4.5.3", 10 | "react": "^17.0.1", 11 | "react-bootstrap": "^1.4.0", 12 | "react-dom": "^17.0.1", 13 | "react-router-dom": "^5.2.0", 14 | "react-scripts": "4.0.1", 15 | "web-vitals": "^0.2.4" 16 | }, 17 | "scripts": { 18 | "start": "react-scripts start", 19 | "build": "react-scripts build", 20 | "test": "react-scripts test", 21 | "eject": "react-scripts eject" 22 | }, 23 | "eslintConfig": { 24 | "extends": [ 25 | "react-app", 26 | "react-app/jest" 27 | ] 28 | }, 29 | "browserslist": { 30 | "production": [ 31 | ">0.2%", 32 | "not dead", 33 | "not op_mini all" 34 | ], 35 | "development": [ 36 | "last 1 chrome version", 37 | "last 1 firefox version", 38 | "last 1 safari version" 39 | ] 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /my-app - Copy/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/my-app - Copy/public/favicon.ico -------------------------------------------------------------------------------- /my-app - Copy/public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 12 | 13 | 17 | 18 | 27 | React App 28 | 29 | 35 | 36 | 37 | 38 |
39 | 49 | 50 | 51 | -------------------------------------------------------------------------------- /my-app - Copy/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/my-app - Copy/public/logo192.png -------------------------------------------------------------------------------- /my-app - Copy/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ArtOfEngineer/ReactJsCoreApi/d1fb8ab883b4bed28b4ae380cde9ab2e2a0a3cb3/my-app - Copy/public/logo512.png -------------------------------------------------------------------------------- /my-app - Copy/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "React App", 3 | "name": "Create React App Sample", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | }, 10 | { 11 | "src": "logo192.png", 12 | "type": "image/png", 13 | "sizes": "192x192" 14 | }, 15 | { 16 | "src": "logo512.png", 17 | "type": "image/png", 18 | "sizes": "512x512" 19 | } 20 | ], 21 | "start_url": ".", 22 | "display": "standalone", 23 | "theme_color": "#000000", 24 | "background_color": "#ffffff" 25 | } 26 | -------------------------------------------------------------------------------- /my-app - Copy/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /my-app - Copy/src/AddDepModal.js: -------------------------------------------------------------------------------- 1 | import React,{Component} from 'react'; 2 | import {Modal,Button, Row, Col, Form} from 'react-bootstrap'; 3 | 4 | export class AddDepModal extends Component{ 5 | constructor(props){ 6 | super(props); 7 | this.handleSubmit=this.handleSubmit.bind(this); 8 | } 9 | 10 | handleSubmit(event){ 11 | event.preventDefault(); 12 | fetch(process.env.REACT_APP_API+'department',{ 13 | method:'POST', 14 | headers:{ 15 | 'Accept':'application/json', 16 | 'Content-Type':'application/json' 17 | }, 18 | body:JSON.stringify({ 19 | DepartmentId:null, 20 | DepartmentName:event.target.DepartmentName.value 21 | }) 22 | }) 23 | .then(res=>res.json()) 24 | .then((result)=>{ 25 | alert(result); 26 | }, 27 | (error)=>{ 28 | alert('Failed'); 29 | }) 30 | } 31 | render(){ 32 | return ( 33 |
34 | 35 | 41 | 42 | 43 | Add Department 44 | 45 | 46 | 47 | 48 | 49 | 50 |
51 | 52 | DepartmentName 53 | 55 | 56 | 57 | 58 | 61 | 62 |
63 | 64 |
65 |
66 | 67 | 68 | 69 | 70 | 71 |
72 | 73 |
74 | ) 75 | } 76 | 77 | } -------------------------------------------------------------------------------- /my-app - Copy/src/AddEmpModal.js: -------------------------------------------------------------------------------- 1 | import React,{Component} from 'react'; 2 | import {Modal,Button, Row, Col, Form,Image} from 'react-bootstrap'; 3 | 4 | export class AddEmpModal extends Component{ 5 | constructor(props){ 6 | super(props); 7 | this.state={deps:[]}; 8 | this.handleSubmit=this.handleSubmit.bind(this); 9 | this.handleFileSelected=this.handleFileSelected.bind(this); 10 | } 11 | 12 | photofilename = "anonymous.png"; 13 | imagesrc = process.env.REACT_APP_PHOTOPATH+this.photofilename; 14 | 15 | componentDidMount(){ 16 | fetch(process.env.REACT_APP_API+'department') 17 | .then(response=>response.json()) 18 | .then(data=>{ 19 | this.setState({deps:data}); 20 | }); 21 | } 22 | 23 | handleSubmit(event){ 24 | event.preventDefault(); 25 | fetch(process.env.REACT_APP_API+'employee',{ 26 | method:'POST', 27 | headers:{ 28 | 'Accept':'application/json', 29 | 'Content-Type':'application/json' 30 | }, 31 | body:JSON.stringify({ 32 | EmployeeId:null, 33 | EmployeeName:event.target.EmployeeName.value, 34 | Department:event.target.Department.value, 35 | DateOfJoining:event.target.DateOfJoining.value, 36 | PhotoFileName:this.photofilename 37 | 38 | }) 39 | }) 40 | .then(res=>res.json()) 41 | .then((result)=>{ 42 | alert(result); 43 | }, 44 | (error)=>{ 45 | alert('Failed'); 46 | }) 47 | } 48 | 49 | 50 | handleFileSelected(event){ 51 | event.preventDefault(); 52 | this.photofilename=event.target.files[0].name; 53 | const formData = new FormData(); 54 | formData.append( 55 | "myFile", 56 | event.target.files[0], 57 | event.target.files[0].name 58 | ); 59 | 60 | fetch(process.env.REACT_APP_API+'Employee/SaveFile',{ 61 | method:'POST', 62 | body:formData 63 | }) 64 | .then(res=>res.json()) 65 | .then((result)=>{ 66 | this.imagesrc=process.env.REACT_APP_PHOTOPATH+result; 67 | }, 68 | (error)=>{ 69 | alert('Failed'); 70 | }) 71 | 72 | } 73 | 74 | render(){ 75 | return ( 76 |
77 | 78 | 84 | 85 | 86 | Add Employee 87 | 88 | 89 | 90 | 91 | 92 | 93 |
94 | 95 | EmployeeName 96 | 98 | 99 | 100 | 101 | Department 102 | 103 | {this.state.deps.map(dep=> 104 | )} 105 | 106 | 107 | 108 | 109 | DateOfJoining 110 | 116 | 117 | 118 | 119 | 120 | 121 | 124 | 125 |
126 | 127 | 128 | 129 | 130 | 131 | 132 |
133 |
134 | 135 | 136 | 137 | 138 | 139 |
140 | 141 |
142 | ) 143 | } 144 | 145 | } -------------------------------------------------------------------------------- /my-app - Copy/src/App.css: -------------------------------------------------------------------------------- 1 | .App { 2 | text-align: center; 3 | } 4 | 5 | .App-logo { 6 | height: 40vmin; 7 | pointer-events: none; 8 | } 9 | 10 | @media (prefers-reduced-motion: no-preference) { 11 | .App-logo { 12 | animation: App-logo-spin infinite 20s linear; 13 | } 14 | } 15 | 16 | .App-header { 17 | background-color: #282c34; 18 | min-height: 100vh; 19 | display: flex; 20 | flex-direction: column; 21 | align-items: center; 22 | justify-content: center; 23 | font-size: calc(10px + 2vmin); 24 | color: white; 25 | } 26 | 27 | .App-link { 28 | color: #61dafb; 29 | } 30 | 31 | @keyframes App-logo-spin { 32 | from { 33 | transform: rotate(0deg); 34 | } 35 | to { 36 | transform: rotate(360deg); 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /my-app - Copy/src/App.js: -------------------------------------------------------------------------------- 1 | import logo from './logo.svg'; 2 | import './App.css'; 3 | 4 | import {Home} from './Home'; 5 | import {Department} from './Department'; 6 | import {Employee} from './Employee'; 7 | import {Navigation} from './Navigation'; 8 | 9 | import {BrowserRouter, Route, Switch} from 'react-router-dom'; 10 | 11 | function App() { 12 | return ( 13 | 14 |
15 |

16 | React JS Tutorial 17 |

18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 |
28 | ); 29 | } 30 | 31 | export default App; 32 | -------------------------------------------------------------------------------- /my-app - Copy/src/App.test.js: -------------------------------------------------------------------------------- 1 | import { render, screen } from '@testing-library/react'; 2 | import App from './App'; 3 | 4 | test('renders learn react link', () => { 5 | render(); 6 | const linkElement = screen.getByText(/learn react/i); 7 | expect(linkElement).toBeInTheDocument(); 8 | }); 9 | -------------------------------------------------------------------------------- /my-app - Copy/src/Department.js: -------------------------------------------------------------------------------- 1 | import React,{Component} from 'react'; 2 | import {Table} from 'react-bootstrap'; 3 | 4 | import {Button,ButtonToolbar} from 'react-bootstrap'; 5 | import {AddDepModal} from './AddDepModal'; 6 | import {EditDepModal} from './EditDepModal'; 7 | 8 | export class Department extends Component{ 9 | 10 | constructor(props){ 11 | super(props); 12 | this.state={deps:[], addModalShow:false, editModalShow:false} 13 | } 14 | 15 | refreshList(){ 16 | fetch(process.env.REACT_APP_API+'department') 17 | .then(response=>response.json()) 18 | .then(data=>{ 19 | this.setState({deps:data}); 20 | }); 21 | } 22 | 23 | componentDidMount(){ 24 | this.refreshList(); 25 | } 26 | 27 | componentDidUpdate(){ 28 | this.refreshList(); 29 | } 30 | 31 | deleteDep(depid){ 32 | if(window.confirm('Are you sure?')){ 33 | fetch(process.env.REACT_APP_API+'department/'+depid,{ 34 | method:'DELETE', 35 | header:{'Accept':'application/json', 36 | 'Content-Type':'application/json'} 37 | }) 38 | } 39 | } 40 | render(){ 41 | const {deps, depid,depname}=this.state; 42 | let addModalClose=()=>this.setState({addModalShow:false}); 43 | let editModalClose=()=>this.setState({editModalShow:false}); 44 | return( 45 |
46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | {deps.map(dep=> 56 | 57 | 58 | 59 | 79 | 80 | )} 81 | 82 | 83 |
DepartmentIdDepartmentNameOptions
{dep.DepartmentId}{dep.DepartmentName} 60 | 61 | 66 | 67 | 71 | 72 | 76 | 77 | 78 |
84 | 85 | 86 | 89 | 90 | 92 | 93 |
94 | ) 95 | } 96 | } -------------------------------------------------------------------------------- /my-app - Copy/src/EditDepModal.js: -------------------------------------------------------------------------------- 1 | import React,{Component} from 'react'; 2 | import {Modal,Button, Row, Col, Form} from 'react-bootstrap'; 3 | 4 | export class EditDepModal extends Component{ 5 | constructor(props){ 6 | super(props); 7 | this.handleSubmit=this.handleSubmit.bind(this); 8 | } 9 | 10 | handleSubmit(event){ 11 | event.preventDefault(); 12 | fetch(process.env.REACT_APP_API+'department',{ 13 | method:'PUT', 14 | headers:{ 15 | 'Accept':'application/json', 16 | 'Content-Type':'application/json' 17 | }, 18 | body:JSON.stringify({ 19 | DepartmentId:event.target.DepartmentId.value, 20 | DepartmentName:event.target.DepartmentName.value 21 | }) 22 | }) 23 | .then(res=>res.json()) 24 | .then((result)=>{ 25 | alert(result); 26 | }, 27 | (error)=>{ 28 | alert('Failed'); 29 | }) 30 | } 31 | render(){ 32 | return ( 33 |
34 | 35 | 41 | 42 | 43 | Edit Department 44 | 45 | 46 | 47 | 48 | 49 | 50 |
51 | 52 | DepartmentId 53 | 57 | 58 | 59 | 60 | DepartmentName 61 | 64 | 65 | 66 | 67 | 70 | 71 |
72 | 73 |
74 |
75 | 76 | 77 | 78 | 79 | 80 |
81 | 82 |
83 | ) 84 | } 85 | 86 | } -------------------------------------------------------------------------------- /my-app - Copy/src/EditEmpModal.js: -------------------------------------------------------------------------------- 1 | import React,{Component} from 'react'; 2 | import {Modal,Button, Row, Col, Form,Image} from 'react-bootstrap'; 3 | 4 | export class EditEmpModal extends Component{ 5 | constructor(props){ 6 | super(props); 7 | this.state={deps:[]}; 8 | this.handleSubmit=this.handleSubmit.bind(this); 9 | this.handleFileSelected=this.handleFileSelected.bind(this); 10 | } 11 | 12 | photofilename = "anonymous.png"; 13 | imagesrc = process.env.REACT_APP_PHOTOPATH+this.photofilename; 14 | 15 | componentDidMount(){ 16 | fetch(process.env.REACT_APP_API+'department') 17 | .then(response=>response.json()) 18 | .then(data=>{ 19 | this.setState({deps:data}); 20 | }); 21 | } 22 | 23 | handleSubmit(event){ 24 | event.preventDefault(); 25 | fetch(process.env.REACT_APP_API+'employee',{ 26 | method:'PUT', 27 | headers:{ 28 | 'Accept':'application/json', 29 | 'Content-Type':'application/json' 30 | }, 31 | body:JSON.stringify({ 32 | EmployeeId:event.target.EmployeeId.value, 33 | EmployeeName:event.target.EmployeeName.value, 34 | Department:event.target.Department.value, 35 | DateOfJoining:event.target.DateOfJoining.value, 36 | PhotoFileName:this.photofilename 37 | 38 | }) 39 | }) 40 | .then(res=>res.json()) 41 | .then((result)=>{ 42 | alert(result); 43 | }, 44 | (error)=>{ 45 | alert('Failed'); 46 | }) 47 | } 48 | 49 | 50 | handleFileSelected(event){ 51 | event.preventDefault(); 52 | this.photofilename=event.target.files[0].name; 53 | const formData = new FormData(); 54 | formData.append( 55 | "myFile", 56 | event.target.files[0], 57 | event.target.files[0].name 58 | ); 59 | 60 | fetch(process.env.REACT_APP_API+'Employee/SaveFile',{ 61 | method:'POST', 62 | body:formData 63 | }) 64 | .then(res=>res.json()) 65 | .then((result)=>{ 66 | this.imagesrc=process.env.REACT_APP_PHOTOPATH+result; 67 | }, 68 | (error)=>{ 69 | alert('Failed'); 70 | }) 71 | 72 | } 73 | 74 | render(){ 75 | return ( 76 |
77 | 78 | 84 | 85 | 86 | Edit Employee 87 | 88 | 89 | 90 | 91 | 92 | 93 |
94 | 95 | EmployeeId 96 | 100 | 101 | 102 | 103 | EmployeeName 104 | 107 | 108 | 109 | 110 | Department 111 | 112 | {this.state.deps.map(dep=> 113 | )} 114 | 115 | 116 | 117 | 118 | DateOfJoining 119 | 126 | 127 | 128 | 129 | 130 | 131 | 134 | 135 |
136 | 137 | 138 | 139 | 141 | 142 | 143 |
144 |
145 | 146 | 147 | 148 | 149 | 150 |
151 | 152 |
153 | ) 154 | } 155 | 156 | } -------------------------------------------------------------------------------- /my-app - Copy/src/Employee.js: -------------------------------------------------------------------------------- 1 | import React,{Component} from 'react'; 2 | import {Table} from 'react-bootstrap'; 3 | 4 | import {Button,ButtonToolbar} from 'react-bootstrap'; 5 | import {AddEmpModal} from './AddEmpModal'; 6 | import {EditEmpModal} from './EditEmpModal'; 7 | 8 | export class Employee extends Component{ 9 | 10 | constructor(props){ 11 | super(props); 12 | this.state={emps:[], addModalShow:false, editModalShow:false} 13 | } 14 | 15 | refreshList(){ 16 | fetch(process.env.REACT_APP_API+'employee') 17 | .then(response=>response.json()) 18 | .then(data=>{ 19 | this.setState({emps:data}); 20 | }); 21 | } 22 | 23 | componentDidMount(){ 24 | this.refreshList(); 25 | } 26 | 27 | componentDidUpdate(){ 28 | this.refreshList(); 29 | } 30 | 31 | deleteEmp(empid){ 32 | if(window.confirm('Are you sure?')){ 33 | fetch(process.env.REACT_APP_API+'employee/'+empid,{ 34 | method:'DELETE', 35 | header:{'Accept':'application/json', 36 | 'Content-Type':'application/json'} 37 | }) 38 | } 39 | } 40 | render(){ 41 | const {emps, empid,empname,depmt,photofilename,doj}=this.state; 42 | let addModalClose=()=>this.setState({addModalShow:false}); 43 | let editModalClose=()=>this.setState({editModalShow:false}); 44 | return( 45 |
46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | {emps.map(emp=> 58 | 59 | 60 | 61 | 62 | 63 | 88 | 89 | )} 90 | 91 | 92 |
EmployeeIdEmployeeNameDepartmentDOJOptions
{emp.EmployeeId}{emp.EmployeeName}{emp.Department}{emp.DateOfJoining} 64 | 65 | 71 | 72 | 76 | 77 | 85 | 86 | 87 |
93 | 94 | 95 | 98 | 99 | 101 | 102 |
103 | ) 104 | } 105 | } -------------------------------------------------------------------------------- /my-app - Copy/src/Home.js: -------------------------------------------------------------------------------- 1 | import React,{Component} from 'react'; 2 | 3 | export class Home extends Component{ 4 | 5 | render(){ 6 | return( 7 |
8 | This is Home page. 9 |
10 | ) 11 | } 12 | } -------------------------------------------------------------------------------- /my-app - Copy/src/Navigation.js: -------------------------------------------------------------------------------- 1 | import React,{Component} from 'react'; 2 | import {NavLink} from 'react-router-dom'; 3 | import {Navbar,Nav} from 'react-bootstrap'; 4 | 5 | export class Navigation extends Component{ 6 | 7 | render(){ 8 | return( 9 | 10 | 11 | 12 | 24 | 25 | 26 | ) 27 | } 28 | } -------------------------------------------------------------------------------- /my-app - Copy/src/index.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin: 0; 3 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 4 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 5 | sans-serif; 6 | -webkit-font-smoothing: antialiased; 7 | -moz-osx-font-smoothing: grayscale; 8 | } 9 | 10 | code { 11 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', 12 | monospace; 13 | } 14 | -------------------------------------------------------------------------------- /my-app - Copy/src/index.js: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom'; 3 | import './index.css'; 4 | import App from './App'; 5 | import reportWebVitals from './reportWebVitals'; 6 | 7 | ReactDOM.render( 8 | 9 | 10 | , 11 | document.getElementById('root') 12 | ); 13 | 14 | // If you want to start measuring performance in your app, pass a function 15 | // to log results (for example: reportWebVitals(console.log)) 16 | // or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals 17 | reportWebVitals(); 18 | -------------------------------------------------------------------------------- /my-app - Copy/src/logo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /my-app - Copy/src/reportWebVitals.js: -------------------------------------------------------------------------------- 1 | const reportWebVitals = onPerfEntry => { 2 | if (onPerfEntry && onPerfEntry instanceof Function) { 3 | import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => { 4 | getCLS(onPerfEntry); 5 | getFID(onPerfEntry); 6 | getFCP(onPerfEntry); 7 | getLCP(onPerfEntry); 8 | getTTFB(onPerfEntry); 9 | }); 10 | } 11 | }; 12 | 13 | export default reportWebVitals; 14 | -------------------------------------------------------------------------------- /my-app - Copy/src/setupTests.js: -------------------------------------------------------------------------------- 1 | // jest-dom adds custom jest matchers for asserting on DOM nodes. 2 | // allows you to do things like: 3 | // expect(element).toHaveTextContent(/react/i) 4 | // learn more: https://github.com/testing-library/jest-dom 5 | import '@testing-library/jest-dom'; 6 | --------------------------------------------------------------------------------