Solved

ASP.NET MVC site showing code blocks

Posted on 2016-09-11
3
56 Views
Last Modified: 2016-10-01
I am trying to help a dev team trouble shoot an issue they are experiencing on a new MVC site. The problem presents itself on screen refresh, most often on mobile devices but has also been seen on PCs and Macs. The issue is the html page shows code blocks on the page reload. Sometimes, when the page fully loads, the code blocks disappear but most of the time they stay until another page refresh clears them up. This issue is sporadic and is not one we have been able to recreate with any specific routine.

Here are some specifics:

MVC version is 5.2.3.0
IIS 8 on Windows server 2012 Standard R2
Browsers: Edge, IE, Chrome, Firefox and Safari - several versions of all browsers being used but all are current versions

Can anyone tell me what could be causing this or troubleshooting steps we can take to isolate the problem?
image.jpeg
0
Comment
Question by:gacto
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
Mrunal earned 500 total points
Comment Utility
hi,
seems you are angular js.

To solve your problem:
You can use the ngCloak directive.

Reference:
https://docs.angularjs.org/api/ng/directive/ngCloak
1
 

Author Comment

by:gacto
Comment Utility
yes we are using angular js.

i will have our team test with ngCloak and see if that solves the problem.
0
 

Author Closing Comment

by:gacto
Comment Utility
Mrunal - this solved our problem. thanks again for the help.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now