Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions BlazorMeetsWebForms.sln
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionInfo", "SolutionInf
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BeforeWebForms", "samples\BeforeWebForms\BeforeWebForms.csproj", "{CA277C6F-A3DD-4FAF-9B7C-56E7B844CEF7}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{827E0CD3-B72D-47B6-A68D-7590B98EB39B}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlazorWebFormsComponents.Analyzers", "src\BlazorWebFormsComponents.Analyzers\BlazorWebFormsComponents.Analyzers.csproj", "{E12935A8-C95C-4D67-A24B-A984A99AFE5F}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -155,6 +159,24 @@ Global
{CA277C6F-A3DD-4FAF-9B7C-56E7B844CEF7}.WebForms|x64.Build.0 = WebForms|Any CPU
{CA277C6F-A3DD-4FAF-9B7C-56E7B844CEF7}.WebForms|x86.ActiveCfg = WebForms|Any CPU
{CA277C6F-A3DD-4FAF-9B7C-56E7B844CEF7}.WebForms|x86.Build.0 = WebForms|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.Debug|x64.ActiveCfg = Debug|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.Debug|x64.Build.0 = Debug|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.Debug|x86.ActiveCfg = Debug|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.Debug|x86.Build.0 = Debug|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.Release|Any CPU.Build.0 = Release|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.Release|x64.ActiveCfg = Release|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.Release|x64.Build.0 = Release|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.Release|x86.ActiveCfg = Release|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.Release|x86.Build.0 = Release|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.WebForms|Any CPU.ActiveCfg = Debug|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.WebForms|Any CPU.Build.0 = Debug|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.WebForms|x64.ActiveCfg = Debug|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.WebForms|x64.Build.0 = Debug|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.WebForms|x86.ActiveCfg = Debug|Any CPU
{E12935A8-C95C-4D67-A24B-A984A99AFE5F}.WebForms|x86.Build.0 = Debug|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -165,6 +187,7 @@ Global
{7218D3E2-38BD-429D-9D84-15E688BDC4A1} = {240E45D9-B9FF-42E8-B0C1-332861E02DBF}
{1669CD22-5CCE-4D96-A02B-31D81B5EFB2B} = {240E45D9-B9FF-42E8-B0C1-332861E02DBF}
{CA277C6F-A3DD-4FAF-9B7C-56E7B844CEF7} = {240E45D9-B9FF-42E8-B0C1-332861E02DBF}
{E12935A8-C95C-4D67-A24B-A984A99AFE5F} = {827E0CD3-B72D-47B6-A68D-7590B98EB39B}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E288F9FB-039F-4718-8AEB-85F89B29EB4E}
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,17 @@ There are a handful of features that augment the ASP<span></span>.NET developmen
- [JavaScript Setup](docs/UtilityFeatures/JavaScriptSetup.md) - Options for auto-loading required JavaScript
- [ViewState](docs/UtilityFeatures/ViewState.md)

### Custom Control Migration Support

For applications with custom controls inheriting from `WebControl` or `CompositeControl`, the library provides:

- **Adapter Classes**: `WebControl`, `CompositeControl`, and `HtmlTextWriter` classes that enable minimal-change migration
- Base attributes (ID, CssClass, Style) are automatically applied - no manual intervention needed
- **Roslyn Analyzers**: The `BlazorWebFormsComponents.Analyzers` NuGet package provides automated code analysis and fixes:
- **BWFC001**: Detects public properties missing `[Parameter]` attributes with automatic fix

See the [Custom Controls Migration Guide](docs/Migration/Custom-Controls.md) for details.

## Compiling the project

There are three different types of .NET projects in this repository: .NET Framework, .NET Core, and .NET Standard. The sample projects are in the `/samples` folder, while the unit test project is next to the component library in the `/src` folder. From the root of the repository, you should be able to execute:
Expand Down
Loading
Loading