Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to .NET 6 framework #8

Open
mmahomar opened this issue May 22, 2022 · 0 comments
Open

Upgrade to .NET 6 framework #8

mmahomar opened this issue May 22, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@mmahomar
Copy link
Collaborator

The current framework version .Net Core v2.2 is out of support. Migrate the project to ASP.NET Core 6.0 including code-first Entity Framework entities, MVC controllers, Views, Models, and upgrade JavaScript libraries

@mmahomar mmahomar added the enhancement New feature or request label May 22, 2022
mmahomar added a commit that referenced this issue May 22, 2022
Added updated Web project for .NET Core 6 including Controllers, Models, Views, and Scaffolded Identity Pages

Pending testing all Controllers and Views with new framework

#8
mmahomar added a commit that referenced this issue May 22, 2022
For dev purposes created temporal Application Schema
#8
mmahomar added a commit that referenced this issue May 22, 2022
mmahomar added a commit that referenced this issue May 30, 2022
Added sweetalert2/theme for bootstrap
#8
mmahomar added a commit that referenced this issue May 30, 2022
Updated Participants, Groups, and GroupEnrollments controllers and views for .NET Core 6.0

#8
mmahomar added a commit that referenced this issue Jun 5, 2022
Default data seed is now accomplished through EF Core migrations, added MEInsight.Web\Extensions\ModelBuilderExtensions.cs with default data.

Modified default admin to [email protected]
Breaking: Dev databases will need to be recreated with new model.

#8
mmahomar added a commit that referenced this issue Jun 10, 2022
mmahomar added a commit that referenced this issue Jun 10, 2022
Updated Data Annotations
Breaking: updated SQL server schema, database migrations will need to be reset.
#8
mmahomar added a commit that referenced this issue Jun 10, 2022
Tested MySQL and PostgreSQL connection strings
Updated (commented) Programs.cs for updating Docs on usage.
#8
mmahomar added a commit that referenced this issue Jun 13, 2022
Replaced Microsoft.AspNetCore.Mvc package with Microsoft.AspNetCore.App shared framework, upgrade recommended for .NET 6 class libraries: [Use ASP.NET Core APIs in a class library](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/target-aspnetcore?view=aspnetcore-6.0&tabs=visual-studio)

#8
mmahomar added a commit that referenced this issue Jul 6, 2022
- Removed manual [Index(..] data annotations, these are not needed as they are automatically created
- Updated ApplicationUsers.cs to include change tracking
- Updated required foreign keys
- Reviewing/Updated Cascade Delete options
- Added ParticipantData for NoSQL Participant data testing
- Updated Seed model builder extensions
- Breaking / updated migrations - database must be rebuild
#19
#8
mmahomar added a commit that referenced this issue Jul 6, 2022
Updated delete warning to use SweetAlert

#8
mmahomar added a commit that referenced this issue Jul 6, 2022
Fixed null references on Participants Controller Create/Edit actions and views
Updated Participants Index action to use Participant API Controller query

#8
mmahomar added a commit that referenced this issue Jul 6, 2022
Updated GroupEnrollments Attendance view affected by updating GroupEnrollment/ParticipantId required property
#8
mmahomar added a commit that referenced this issue Jul 6, 2022
Added Controllers and Views for:
- Students
- Teachers
- Education Administrators
- Schools
- School Periods
- School Enrollments
#8
#13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant