Answered by:
Possible to hide vbhtml in razor web pages website?

Question
-
User-910361580 posted
I have developed a website using razor web pages 3 and plan to publish it now. I was wondering if it is any ways possible to compile the vbhtml pages, so that the source code does not need to be uploaded on a shared server. Please let me know all options that I would have.
Thanks in advance.
Sunday, August 7, 2016 9:08 AM
Answers
-
User325035487 posted
create a dll file
http://www.mikesdotnetting.com/article/224/creating-reusable-components-for-asp-net-razor-web-pages
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, August 7, 2016 10:48 AM
All replies
-
User325035487 posted
create a dll file
http://www.mikesdotnetting.com/article/224/creating-reusable-components-for-asp-net-razor-web-pages
- Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
Sunday, August 7, 2016 10:48 AM -
User-910361580 posted
create a dll file
http://www.mikesdotnetting.com/article/224/creating-reusable-components-for-asp-net-razor-web-pages
So would that mean that there is no way to avoid uploading the vbhtml files with code on the server. No so very nice, as even after taking out some of the code from helper files into a dll, we cannot hide most of the source code.
Sunday, August 7, 2016 12:04 PM -
User325035487 posted
yes
Monday, August 8, 2016 5:26 AM -
User-166373564 posted
as even after taking out some of the code from helper files into a dll, we cannot hide most of the source code.DLL stands for Dynamic Link Library. Why we need to build it? To collect all of our code to one place that makes the accessing to our code easier. to reference to dll file after create it.
Regards,
Angie
Wednesday, August 31, 2016 8:30 AM