Draft
Conversation
Co-authored-by: linkinlu <6946947+linkinlu@users.noreply.github.com>
Co-authored-by: linkinlu <6946947+linkinlu@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add .NET Core WebAPI integration with Vue
Add .NET Core Web API with Vue.js frontend
Oct 20, 2025
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
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.
This PR implements a complete full-stack application for OceanFishControl with a .NET Core 9.0 Web API backend and Vue.js 3 frontend, addressing the requirement for ".net core webapi with vue".
Overview
The implementation provides a modern, production-ready foundation for the OceanFishControl upper computer controller with clear separation between backend API services and frontend UI.
Backend Implementation
Created an ASP.NET Core Web API project featuring:
/weatherforecastdemonstrating REST API patternsF = (C × 9/5) + 32The backend runs on
http://localhost:5286by default.Frontend Implementation
Created a Vue 3 application using Vite featuring:
<script setup>syntax/api/*requests to the backend for seamless developmentThe frontend runs on
http://localhost:5173by default.Project Structure
Key Features
✅ Full-stack integration - Frontend successfully communicates with backend API via CORS-enabled endpoints
✅ Development workflow - Both projects can run concurrently with hot-reload support
✅ Production builds - Both backend and frontend can be built and deployed independently
✅ Clean architecture - Clear separation of concerns between API and UI layers
✅ Developer documentation - Comprehensive README with setup and run instructions
Getting Started
Backend:
cd backend dotnet restore dotnet runFrontend:
cd frontend npm install npm run devThen navigate to
http://localhost:5173to see the application in action.Screenshot
The screenshot shows the working application with:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.