Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

Tag Helpers: Enable TagHelpers in MvcRazorHost #1165

Closed
NTaylorMullen opened this issue Sep 23, 2014 · 1 comment
Closed

Tag Helpers: Enable TagHelpers in MvcRazorHost #1165

NTaylorMullen opened this issue Sep 23, 2014 · 1 comment
Assignees
Milestone

Comments

@NTaylorMullen
Copy link
Member

Razor exposes a TagHelperDescriptorResolver in aspnet/Razor#148 which needs to be created from the runtime host in order to enable TagHelpers.

This item involves:

  • newing up a TagHelperDescriptorResolver for the MvcRazorHost to use.
  • Passing in the appropriate string type names down to Razor.
@NTaylorMullen NTaylorMullen added this to the 6.0.0-beta1 milestone Sep 23, 2014
@NTaylorMullen NTaylorMullen changed the title Tag Helpers: Create MvcTagHelperManager to enable MvcTagHelper execution. Tag Helpers: Create MvcTagHelperManager to enable activation in RazorPage. Sep 23, 2014
@NTaylorMullen NTaylorMullen self-assigned this Sep 23, 2014
NTaylorMullen added a commit that referenced this issue Sep 24, 2014
- Registered each Mvc specific piece in DI so it can be pulled down into Razor and RazorPage.

#1165
NTaylorMullen added a commit that referenced this issue Sep 24, 2014
- Since an MvcTagHelperTypeResolver was created and required by the MvcHost we needed to change the tests to utilize the new signature.

#1165
@NTaylorMullen NTaylorMullen changed the title Tag Helpers: Create MvcTagHelperManager to enable activation in RazorPage. Tag Helpers: Enable ITagHelperScopeManager and ITagHelperRunner injection into RazorPage. Sep 25, 2014
NTaylorMullen added a commit that referenced this issue Sep 26, 2014
- Added ITagHelperRunner and ITagHelperScopeManager to the MvcServices.
- Set the appropriate GeneratedTagHelperContext properties to ensure code is generated correctly.
- Added a new service dependency to the MvcRazorHost to take in ILibraryManager so it can create a valid TagHelperTypeResolver.

#1165
NTaylorMullen added a commit that referenced this issue Sep 29, 2014
- Set the appropriate GeneratedTagHelperContext properties to ensure code is generated correctly.
- Added a new service dependency to the MvcRazorHost to take in ILibraryManager so it can create a valid TagHelperDescriptorResolver.

#1165
NTaylorMullen added a commit that referenced this issue Sep 29, 2014
- Set the appropriate GeneratedTagHelperContext properties to ensure code is generated correctly.
- Added a new service dependency to the MvcRazorHost to take in ILibraryManager so it can create a valid TagHelperDescriptorResolver.

#1165
@NTaylorMullen NTaylorMullen changed the title Tag Helpers: Enable ITagHelperScopeManager and ITagHelperRunner injection into RazorPage. Tag Helpers: Enable TagHelpers in MvcRazorHost Sep 29, 2014
NTaylorMullen added a commit that referenced this issue Oct 2, 2014
- Set the appropriate GeneratedTagHelperContext properties to ensure code is generated correctly.
- Set the TagHelperDescriptorResolver.

#1165
@NTaylorMullen
Copy link
Member Author

e995e7a

NTaylorMullen added a commit that referenced this issue Oct 3, 2014
- Set the appropriate GeneratedTagHelperContext properties to ensure code is generated correctly.
- Set the TagHelperDescriptorResolver.

#1165
NTaylorMullen added a commit that referenced this issue Oct 5, 2014
- Set the appropriate GeneratedTagHelperContext properties to ensure code is generated correctly.
- Set the TagHelperDescriptorResolver.

#1165
NTaylorMullen added a commit that referenced this issue Oct 6, 2014
- Set the appropriate GeneratedTagHelperContext properties to ensure code is generated correctly.
- Set the TagHelperDescriptorResolver.

#1165
NTaylorMullen added a commit that referenced this issue Oct 8, 2014
- Set the appropriate GeneratedTagHelperContext properties to ensure code is generated correctly.
- Set the TagHelperDescriptorResolver.

#1165
NTaylorMullen added a commit that referenced this issue Oct 9, 2014
- Set the appropriate GeneratedTagHelperContext properties to ensure code is generated correctly.
- Set the TagHelperDescriptorResolver.

#1165
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant