logo
Welcome to our new AbleCommerce forums. As a guest, you may view the information here. To post to this forum, you must have a registered account with us, either as a new user evaluating AbleCommerce or an existing user of the application. For all questions related to the older version of Gold and earlier, please go to AbleCommerce Gold forum. Please use your AbleCommerce username and password to Login. New Registrations are disabled.

Notification

Icon
Error

Options
Go to last post Go to first unread
ray22901031  
#1 Posted : Monday, October 19, 2020 7:29:31 PM(UTC)
ray22901031

Rank: Advanced Member

Groups: Authorized User, Developers
Joined: 2/17/2019(UTC)
Posts: 909

Thanks: 3 times
Was thanked: 15 time(s) in 15 post(s)
As a newbie developer, I am taking small steps into the strange world of programming. I came across some information and I wanted to get the response from more experienced developers. I just implemented my first controller and all is working properly. One of the functionality returns specific values from the database and display them to the viewer in a HTML format. So obviously it's using Html.Raw, but then I came across this article below.

https://kevinchalet.com/...raw-in-your-razor-views/

This article does not want me to use Html.Raw but rather wants me to create a HtmlString instances instead.

So, I welcome any feedback to continue my learning process.

Many thanks

Wanna join the discussion?! Login to your AbleCommerce Forums forum account. New Registrations are disabled.

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.