Skip to content

Conversation

github-cloudlabsuser-2058

Implemented the Index, Details, Create, Edit, and Delete methods in UserController.cs for the User model. Removed the reference to Microsoft.CodeDom.Providers.DotNetCompilerPlatform from CRUD application 2.csproj and adjusted the oldVersion attribute for WebGrease in Web.config. Also made a minor formatting change in CRUD application 2.csproj.

github-cloudlabsuser-2058 and others added 12 commits June 6, 2024 09:35
Implemented the Index, Details, Create, Edit, and Delete methods in UserController.cs for the User model. Removed the reference to `Microsoft.CodeDom.Providers.DotNetCompilerPlatform` from `CRUD application 2.csproj` and adjusted the `oldVersion` attribute for `WebGrease` in `Web.config`. Also made a minor formatting change in `CRUD application 2.csproj`.
Updated the `CRUD application 2.csproj` and `packages.config` files to include references to new unit testing packages. Added `UserControllerTest.cs` file containing unit tests for the `UserController` class methods using the xUnit.net testing framework.
` `

`The Index method in UserController.cs now accepts a searchString parameter to filter users by name or email. The corresponding test method in UserControllerTest.cs has been updated to reflect these changes. A form has been added to Index.cshtml to allow user input for the searchString. Minor formatting changes have been made to the foreach loop in Index.cshtml.`
Updated the `CRUD application 2.csproj` file to include `deploy.json` and `deploy.parameters.json`. The `deploy.json` file is an ARM template for deploying a web app and an App Service plan to Azure, with parameters for the web app name, hosting plan name, SKU, and location. The `deploy.parameters.json` file provides values for these parameters, allowing customization of the deployment without modifying the main template.
Updated the Azure deployment parameters for the web application. The `webAppName` parameter has been changed to `crud-app` and the `hostingPlanName` parameter has been updated to `crud-app-plan`.
Updated the `.csproj` and `deploy.parameters.json` files to include new files and modify the `webAppName` parameter. Added a new `publishsettings.json` file with the publish details for the `crud-app-dom` application. Also, a new `main.yml` file has been added under `.github\workflows` to define a GitHub Actions workflow that triggers on push to the master branch, sets up a .NET Core environment, builds and publishes the application, and deploys it to an Azure Web App.
The `main.yml` file, responsible for the build and deployment of the .NET Core app to Azure Web App, has been removed. This includes all steps from checking out the GitHub action to deploying to Azure Web App. Correspondingly, the reference to `.github\workflows\main.yml` in the `CRUD application 2.csproj` file has been removed. A new folder `.github\workflows\` has been added to the `CRUD application 2.csproj` file, potentially in preparation for new workflow files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant