Skip to content

xlts-dev/angularjs-asp-net48-mvc5

Repository files navigation

AngularJS with .NET Framework

A demo project using AngularJS, .NET Framework 4.8, and ASP.NET MVC 5.

Features

Prerequisites

  • Windows 10/11 - Older versions of Windows may work but have not been tested.
  • Visual Studio 2022 - The free Community Edition is sufficient. Older versions of Visual Studio may work but have not been tested.
  • .Net Framework 4.8 - This can optionally be installed as part of the Visual Studio 2022 installation as well.

Getting Started

  • Make sure you have configured your authentication with the XLTS.dev registry by supplying your token in the .npmrc file in your user home directory.

    Note If you don't have a token for the XLTS.dev registry, you can use the LTS AngularJS packages - see the next section.

  • Clone repository: git clone https://github.com/xlts-dev/angularjs-asp-net48-mvc5.git.

  • Switch to the project's directory: cd angularjs-asp-net48-mvc5.

  • Install npm packages: npm install.

  • Open the project in Visual Studio.

  • Run the project by pressing the F5 key or using the green start button in the toolbar. This will launch your web browser and display the web application.

AngularJS LTS packages

If you want to use the LTS packages, you have to run npm run switch-to-lts-packages script instead of npm install.