Skip to content

Make it easier to use static assets that are part of a RCL project #5070

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kichalla opened this issue May 1, 2018 · 5 comments
Closed

Make it easier to use static assets that are part of a RCL project #5070

kichalla opened this issue May 1, 2018 · 5 comments
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-razor-pages
Milestone

Comments

@kichalla
Copy link
Contributor

kichalla commented May 1, 2018

A RCL project could have static assets like css, js and images. Currently these files don't get published to the referencing application's published wwwroot folder. They need to be included as embedded files in a RCL project and need to use ManifestEmbeddedFileProvider to serve their contents. Its a lot of work for users to set this up. To give an idea, this is what IdentityUI does currently:

https://github.com/aspnet/Identity/blob/dev/src/UI/IdentityDefaultUIConfigureOptions.cs#L50-L66

@mkArtakMSFT
Copy link
Contributor

Moving this out to the Backlog, as it's not a priority at the moment.

@sheng-jie
Copy link

sheng-jie commented Jun 5, 2018

Thanks. I followed the example and it worked. https://github.com/yanshengjie/RPL.Demo

@jeremyVignelles
Copy link
Contributor

@kichalla : Your link is broken, can you update it ?

@Rick-Anderson
Copy link
Contributor

Rick-Anderson commented Sep 4, 2018

@aspnet-hello aspnet-hello transferred this issue from aspnet/Razor Dec 14, 2018
@aspnet-hello aspnet-hello added this to the Backlog milestone Dec 14, 2018
@aspnet-hello aspnet-hello added 1 - Ready area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-razor-pages labels Dec 14, 2018
@pranavkm pranavkm added the c label Aug 21, 2019
@pranavkm pranavkm modified the milestones: Backlog, 3.0.0 Aug 22, 2019
@pranavkm
Copy link
Contributor

This is covered by the Static Web Assets feature.

@ghost ghost locked as resolved and limited conversation to collaborators Dec 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-mvc Includes: MVC, Actions and Controllers, Localization, CORS, most templates enhancement This issue represents an ask for new feature or an enhancement to an existing one feature-razor-pages
Projects
None yet
Development

No branches or pull requests

7 participants