forked from ayush-2909/Contact-Database-Application
-
Notifications
You must be signed in to change notification settings - Fork 467
Implemented CRUD operations in UserController and updated dependencies #31
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
Open
github-cloudlabsuser-2058
wants to merge
12
commits into
CloudLabsAI-Azure:master
Choose a base branch
from
github-cloudlabsuser-2058:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Implemented CRUD operations in UserController and updated dependencies #31
github-cloudlabsuser-2058
wants to merge
12
commits into
CloudLabsAI-Azure:master
from
github-cloudlabsuser-2058:master
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Implemented the Index, Details, Create, Edit, and Delete methods in UserController.cs for the User model. Removed the reference to
Microsoft.CodeDom.Providers.DotNetCompilerPlatform
fromCRUD application 2.csproj
and adjusted theoldVersion
attribute forWebGrease
inWeb.config
. Also made a minor formatting change inCRUD application 2.csproj
.