TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abhishek Ghosh
NA
40
2.5k
MVC _layout file
Jul 31 2017 3:54 AM
I see the same thought everywhere but can't understand why it is so. Please can anyone help me understand.
In ASP.NET MVC, pay a lot of attention to keeping the layout file as thin as possible. This means that
you should avoid referencing from the layout file CSS and script files that are referenced by all pages based on the layout
. As developers, we certainly find it easier and quicker to reference resources used by most pages right from the layout file.
But that only produces extra traffic and extra latency.
Reply
Answers (
2
)
upload excel sheet files
Can't store big amount in Decimal(18,2) in DB.