Skip to content

Example of a simple ASP.NET WebForms app migrated to NETCore Angular

Notifications You must be signed in to change notification settings

MobilizeNet/WebFormsMigrationDemo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebMap for WebForms Demo status

This repository contains an small demo of a ASP.NET WebForms application that has been upgraded to a ASP.NET Core Backend + Angular FrontEnd.

If you want more technical documentation about our webmap product:

Repository Contents

  • Source
    • this folder contains the original source code for an ASP.NET WebForms app
  • Target
    • this folder contains the target source code after in ASP.NET Core + Angular

How to build

Building locally

If you want to build this project on your development machine, just check that you match this requirements:

NOTE: Your installation of Visual Studio, must include the *ASP.NET and Web Development Feature *

To install this feature open your VS installer and Go to Workloads tab and then turn on ASP.Net and web development as in the following picture: AspWebDevelopment

To build your application just open the Target/HiringTrackingSite.sln file with VS Studio and select Rebuild. This will install any missing dependencies and trigger the build process.

NOTE: the angular frontend is already built. If you want to build it yourself see the step on Building the Frontend code.

Building the FrontEnd code

To build the frontend code make sure you already have Node.js LTS installed.

Open a terminal at Target/hiringtrackingsite-angular and run:

npm install
npm run build

Working with Containers is everyday more common. VS Code provides amazing support for working with containers. In this repository we provide a .devcontainer folder with a docker-compose.yml setup to run this app. Remember to install Docker first and start the Docker desktop app.

The compose will start:

  • a container for working with your backend code.
  • a container for starting your angular frontend in development mode so you can try your changes right away.
  • a container for the SQL Database so you dont have to worry on how to set it up.

In you have the Remote Containers extensions vscode will recognize it and ask you to open your solution using this configuration.

VSCode using DevContainers

If everything works you should see your 3 containers:

Containers

To start playing with your app open a terminal and start your backend:

Terminal

Do you want to run it in the cloud. You can follow these steps:

Open in Gitpod

Give it 5-10 mins for all the containers to load.

After that you can just follow the same steps described above for containers.

About

Example of a simple ASP.NET WebForms app migrated to NETCore Angular

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published