Solved

ASP.NET MVC site showing code blocks

Posted on 2016-09-11
3
73 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
ID: 41793754
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
ID: 41794637
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
ID: 41825099
Mrunal - this solved our problem. thanks again for the help.
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

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