WebMAP From Scratch
When your code is converted, WebMAP performs any necessary changes to start using WebMAP right away.
But if you want to install it from scratch follow these steps:
Using VS 2019
Start Visual Studio 2019
Select File\New\Project...
On the New Project dialog:
Select C# option from Languages box
Select Web From All project types box
Choose ASP.NET Core Web Application
Press Next
Insert your Web Application name
Press Create
On the New ASP.NET Core Web Application choose Empty and press Create
Add the following NuGets:
Microsoft.AspNetCore.All
Mobilize.Weaving.WebMAPExtensions.All
Mobilize.WebMAP.CoreServices.All
Mobilize.WebMAP.BundleBasic.All
Modify your
Startup.cs
to look like the following:
The entry point for the application can be set when adding the DCP, for example:
(Optional) Add a
Registrations.cs
file like the following:That's all. Your application is ready to start using WebMAP.
Last updated