Where communities thrive

  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
Repo info
Matthias Dittrich
@courosh12 Thanks for your interest. Usually (from my experience at least) it goes like this:
  • earning some trust by fixing bugs, showing interest in the project - for example by helping users improving docs or implementing new features.
  • After a sustained amount of time people usually give you more and more rights, for example to merge and review other peoples work followed by doing releases on your own
@matthid Thanx for you reply. Do you also have guidelines for the code , testing etc. Like i said i am not very experienced in this area and my qualite of code or tests may not be what is expected here.
Alok Sharma
does razor engine now supports @Url/Html or other helpers
i am also trying to get session values inside my razor code[more important then helpers]
any idea how i inject those?
Alok Sharma
@Antaris thank you for building such a beautiful tool
I don't think so. I was hoping that c# 6.0 would be supported as well. So I could share existing MVC views with RazorEngine
Alok Sharma
well thats a disappointment , i have to write my own string parser in conjuction with razorengine in this case
i hope this wont make too much overhead
so coming to my next question
i have seen in examples how to purge all compiled dll cache
any way to remove only a single one
because only a few templates will ever change in my case
so purging all the cache will be a bit overkill
You should implement a custom cache policy
@vic10us if you use the Roslyn packages you can get C#6 support
Really? I'll have to check them out.
Is it only for .net core?
Chris Briggs
Hi All, Having the same issue as Antaris/RazorEngine#456 when trying to use RazorEngine in Azure functions, any ideas of how to fix it?
Hi all, anyone has issue with template caching every time an application starts? When Engine.Razor.IsTemplateCached returns false, we tried to compile again using Engine.Razor.Compile, and then checks again whether the template is cached, but it still returns false. So when Engine.Razor.RunCompile is executed at the end, KeyNotFoundException is thrown.
This only happens on the first email template compiling/caching after application starts, all subsequent calls are fine but is still nuisance to usability
We also tried System.Threading.Thread.Sleep(1000) to give time for the template to be cached but that didn't help.
Dan Walmsley
hello, I'm trying to use this in a netcore2 app, has anyone tried this yet?
I just get unable to find assembly system.configuration
Shane Chambers
I am picking this up tonight. My name is Shane, have 7 years of dotnet experience. Currently need something in dotnetcore that will allow me to output html from a library instead of a mvc project. Looks like there has been much chatter on here.
Hi, I am trying to use razorengine for a vb.net class library project. Unfortunately I keep receiving type '' not defined error while invoking "runcompile"
Any idea why is this occuring.
Its not even resolving the types that are part of the assembly
Will this be available for NETCORE 2.0?
Shyamal Parikh
@ChrisBriggsy Were you able to make RazorEngine work in Azure Functions?
Alok Sharma
can we use netcore 2.0 with vs 2015
Mark Tkachenko
Hello! Will it be ported to .NET Standart?
Hey, guys!
Has somebody tried to move asp.net mvc 5 application to asp.net core? Is there any app performance gain? Does it work on linux as well as on windows?
J Khalaf
Hi all
But var templateService = new TemplateService(); is not recognised
I assume that article is now way out of date, can someone point me to an up to date article please?
Dinesh Yelchuri
I am planning to use this tool as HTML report generation tool in an enterprise
Is any one experienced any issues with that?
Steven Yates
Hey, Does this libary support .net core?
Mark Tkachenko
No, it doesnt
Good afternoon folks
Vladimir Shmidt
What for a plan of adopting to a core?
@vladimir-shmidt maybe they want to increase the number of maintainers before go to that
Good morning
i have a little question
when i'm using partial layouts how can i use the custom directives