asp.net core mvc로 jQuery를 연동하여 AJAX 통신을 구현해보겠다. MvcJqueryDemo라는 asp.net core web app(MVC) 프로젝트를 생성. 모든 레이아웃을 담당하는 _Layout.cshtml파일을 열어서 제이쿼리와 자바스크립트를 로드 시켜야한다. 이 경우에는 프로젝트 생성단계부터 만들어져있다. <!-- jQuery --> <script src="https://code.jquery.com/jquery-3.7.1.min.js"></script> <!-- Bootstrap --> <script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script> <!-- 페이지별 JavaScript --> @await RenderSectionAsync("Scripts", required: false) 없으면 body태그 맨아래에 순서대로 넣어주면된다.
Using MvcJquery Demo.Models
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Get in touch with Using MvcJquery
Contact Using MvcJquery, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack