Global Directory
Global Directory
EXPLORE OUR SITES
London Stock Exchange Group
LSEG Data & Analytics
MyAccount
LSEG Perspectives
London Stock Exchange
FTSE Russell
LCH
Contact Us
Home
TR Internal
Are any Cobalt products on Website using Razor views?
Andrew Gerber
Hello, I'm wondering if any Cobalt products on Website are using Razor views at all? If so, I'm wondering what it took for that project to use them in their product specific code.
Thanks!
-Drew
Find more posts tagged with
.net
refinitiv-internal
model-view-controller
Accepted answers
Timothy Sullivan
Yes, the AdHandler in WestlawNext using razor views. The main reason why they are not used more often is because Website uses master pages. As far as I know master pages (ASPX Webforms engine) and razor views (MVC) are incompatible.
There is a work around but it gets pretty dirty:
http://www.hanselman.com/blog/MixingRazorViewsAndWebFormsMasterPagesWithASPNETMVC3.aspx
All comments
Timothy Sullivan
Yes, the AdHandler in WestlawNext using razor views. The main reason why they are not used more often is because Website uses master pages. As far as I know master pages (ASPX Webforms engine) and razor views (MVC) are incompatible.
There is a work around but it gets pretty dirty:
http://www.hanselman.com/blog/MixingRazorViewsAndWebFormsMasterPagesWithASPNETMVC3.aspx
Quick Links
All Forums
Recent Questions
Terms of use
Privacy & Cookie Statement
Cookies settings
Do not sell my info
Whistleblowing
UK Bribery Act
Modern Slavery Act