Replies: 7 comments 15 replies
-
Why you didn't use Liquid or Razor instead? |
Beta Was this translation helpful? Give feedback.
-
I have a background of asp.net mvc and razor around couple of experiences i
have thats why please guide me how i achieve this with razor? then with
razor i able to used with my controllers in mvc thats why?
…On Sun, Nov 7, 2021 at 5:26 PM Hisham Bin Ateya ***@***.***> wrote:
Why you didn't use Liquid or Razor instead?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10653 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHWC46QK57ERSJSDB5CWKDUKZWA5ANCNFSM5HQUYJSQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
In Liquid : {{ "now" | date: "%Y" }} |
Beta Was this translation helpful? Give feedback.
-
Can i used razor and liquid on same file is this possible? or any possibility we have in which cases please help? |
Beta Was this translation helpful? Give feedback.
-
How is injecting the service so I am able to use the liquid? Can you share
with me a guide how I achieved this? or share with me a tutorial.?
…On Mon, Nov 8, 2021 at 10:08 PM Jasmin Savard ***@***.***> wrote:
You can parse liquid inside a Razor view by injecting the service but you
can't use Razor syntax inside a liquid template and vice versa.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#10653 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHWC43VQITAN5JN6KF3LFLUK77ZJANCNFSM5HQUYJSQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
-
I mean which type of service I inject to use liquid inside the razor bro,
hope you got my point?
…On Mon, Nov 8, 2021 at 11:42 PM Hisham Bin Ateya ***@***.***> wrote:
Using @Inject <https://github.com/Inject>, @saleemhaq
<https://github.com/saleemhaq> I think you need to read a lot about
ASP.NET Core and Razor Pages, coz many of your question are related to
ASP.NET Core. Don't get me wrong, reading docs will help you a lot
All the best
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10653 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHWC427C6O5DBPL54XQ4FLULAKZJANCNFSM5HQUYJSQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Beta Was this translation helpful? Give feedback.
All reactions