Skip to content
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

How to precompile Mvc6 Aspnetcore 1.0 with Webdeploy ? #1729

Closed
crydante opened this issue Aug 29, 2016 · 5 comments
Closed

How to precompile Mvc6 Aspnetcore 1.0 with Webdeploy ? #1729

crydante opened this issue Aug 29, 2016 · 5 comments

Comments

@crydante
Copy link

Where is the option to precompile the project when publishing to IIS with WebDeploy ? .ps1 file ? .pubxml file ?

There is no documentation about it and it's very difficult to find information.

Thnak you and sorry for my english.

@pranavkm
Copy link
Contributor

@crydante are you talking of view precompilation? We are working on a tool for that we plan to release a preview for as part of the 1.1.0 release.

@crydante
Copy link
Author

I'm not sure it's about precompilation view. The problem it's every time i publish on my IIS on production each page seems to compile the first time we are call it and it takes very long time. Is it possible to precompile the project to not have the "on-time" compilation ?

@davidfowl
Copy link
Member

davidfowl commented Sep 3, 2016

That's view pre-compilation. The project dll is already compiled

@guardrex
Copy link
Contributor

guardrex commented Sep 3, 2016

Cross ref to the Razor issue: aspnet/Mvc#3917 including a nice little ditty by @tuespetre at https://github.com/tuespetre/dotnet-precompile-views

@aspnet-hello
Copy link

This issue is being closed because it has not been updated in 3 months.

We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.

@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
None yet
Projects
None yet
Development

No branches or pull requests

5 participants