Skip to content

Commit 044cf95

Browse files
committed
Added begining guidance docs from old repository
1 parent 9862316 commit 044cf95

File tree

3 files changed

+59
-0
lines changed

3 files changed

+59
-0
lines changed

guidance/Guidance.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# WebFormsToBlazorServer Guidance
2+
This set of documentation goes into the details of the example CodeFactory Code Automation Template **WebFormsToBlazor**. If you need explainations of what a Code Automation Template is or how CodeFactory works please use the following link to that documentation. [CodeFactory Guidance](../../sdk/sdkdocumentation/guidance/toc.md)
3+
4+
## Template Overview
5+
In order to make use of this template you will need to have a target WebForms solution, in our examples below we reference the [*WingTipToys*]() project. This is an older reference project that is freely available to anyone who wished to download it and give this template a try. Once you have your project open inside of Visual Studio - go ahead and add a new Project to the solution of type Blazor - Server.
6+
7+
![](../../sdk/sdkdocumentation/images/AddNewBlazorProject.png)
8+
9+
The compiled output of the WebFormsToBlazorServer project, a file called *WebFormsToBlazorServerCommands.cfx* file just needs to be dropped into the root solution folder of the WebForms project.
10+
11+
![](../../sdk/sdkdocumentation/images/WingTipToysRoot.png)
12+
13+
The next time that you open the WingTipToys solution the CodeFactory runtime will [load](../../sdk/sdkdocumentation/guidance/overview/howdoesitwork.md) the package and make the command available for use.
14+
15+
## Commands
16+
There are currently two(2) commands that have been built inside of the project;
17+
18+
- SetupBlazorProject
19+
- MigrateWebForm
20+
21+
The first command, *SetupBlazorProject*, is an implementation of a [Project Command](../../sdk/sdkdocumentation/guidance/overview/commands/project.md) type and can be found by right-clicking on the Blazor project in your solution. The command is found at the bottom of the context menu.
22+
23+
![](../../sdk/sdkdocumentation/images/SetupBlazorProjectContextMenu.png)
24+
25+
The second command, *MigrateWebForm*, is an implementation of a [Project Document Command](../../sdk/sdkdocumentation/guidance/overview/commands/projectdocument.md) type and can be found by right-clicking on any *.aspx file that is found in the *WingTipToys* project.
26+
27+
![](../../sdk/sdkdocumentation/images/MigrateToBlazorContextMenu.png)
28+
29+
## Project Structure
30+
The following folders are found in this project.
31+
32+
### Commands
33+
This folder is further broken down into command type folders. Please click on each item found below to get further details.
34+
#### Document
35+
Name | Description
36+
-----|-------
37+
MigrateWebForm.cs | This is a [Project Document]() command type that is built to migrate a single *.aspx file from the source WebForms project into an equivalent Blazor Page Component file in the target Blazor Server project. Please click [here](MigrateWebFormCommand.md) for more details
38+
39+
#### Project
40+
Name | Description
41+
-----|-------
42+
SetupBlazorProject.cs | This is a [Project]() command type that will allow a developer to bulk-migrate an **entire** WebForms appliction including all of its logic, configuration and static assets into a Blazor Server application. Please click [here](SetupBlazorProjectCommand.md) for more details.
43+
### Dialogs
44+
Name | Description
45+
-----|-------
46+
47+
### Migration
48+
Name | Description
49+
-----|-------
50+
51+
### Templates
52+
Name | Description
53+
-----|-------

guidance/MigrateWebFormCommand.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# MigrateWebForm Project Document Command
2+
3+
[in progress]
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# SetupBlazorProjec Project Command
2+
3+
[in progress]

0 commit comments

Comments
 (0)