Click here to Skip to main content
15,921,179 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRazor Pages? Anybody? Pin
#realJSOP18-Jan-19 1:25
professional#realJSOP18-Jan-19 1:25 
GeneralRe: Razor Pages? Anybody? Pin
  Forogar  18-Jan-19 1:56
professional  Forogar  18-Jan-19 1:56 
GeneralRe: Razor Pages? Anybody? Pin
#realJSOP18-Jan-19 2:15
professional#realJSOP18-Jan-19 2:15 
GeneralRe: Razor Pages? Anybody? Pin
  Forogar  18-Jan-19 2:23
professional  Forogar  18-Jan-19 2:23 
GeneralRe: Razor Pages? Anybody? Pin
Richard Deeming18-Jan-19 2:55
mveRichard Deeming18-Jan-19 2:55 
GeneralRe: Razor Pages? Anybody? Pin
raddevus18-Jan-19 3:25
mvaraddevus18-Jan-19 3:25 
GeneralRe: Razor Pages? Anybody? Pin
Wastedtalent18-Jan-19 4:39
professionalWastedtalent18-Jan-19 4:39 
GeneralRe: Razor Pages? Anybody? Pin
Marc Clifton18-Jan-19 3:30
mvaMarc Clifton18-Jan-19 3:30 
A few things I noticed at some point, but because I don't use Razor, take this with a grain of salt:

1. Razor compiles the HTML in C# that is the run to generate the actual string that gets sent to the client. At one point, I had hundreds of temp DLL's lying around, probably because Razor wasn't compiling in-memory.

2. Because Razor does this compile thing, first time page loading is slow.

3. Because Razor does this compile thing and subsequent page loads are fast because it "knows" nothing has changed (caching the HTML, I guess) I noticed that sometimes changes to the page HTML/JS (or maybe even the backend) weren't reflected until I forced IIS to restart so it reloaded / recompiled the pages. Something like that.

While it's convenient, I loathe, and I mean really loathe, mixing back-end code with front-end layout in one file. Like I said, convenient but I really disliked it.
Latest Article - A Concise Overview of Threads

Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

Artificial intelligence is the only remedy for natural stupidity. - CDP1802

GeneralRe: Razor Pages? Anybody? Pin
#realJSOP18-Jan-19 5:20
professional#realJSOP18-Jan-19 5:20 
GeneralA "Life is Good" Moment Pin
W Balboos, GHB18-Jan-19 0:46
W Balboos, GHB18-Jan-19 0:46 
GeneralRe: A "Life is Good" Moment Pin
OriginalGriff18-Jan-19 0:53
mveOriginalGriff18-Jan-19 0:53 
GeneralRe: A "Life is Good" Moment Pin
W Balboos, GHB18-Jan-19 0:59
W Balboos, GHB18-Jan-19 0:59 
GeneralRe: A "Life is Good" Moment Pin
OriginalGriff18-Jan-19 1:07
mveOriginalGriff18-Jan-19 1:07 
GeneralRe: A "Life is Good" Moment Pin
W Balboos, GHB18-Jan-19 1:19
W Balboos, GHB18-Jan-19 1:19 
GeneralRe: A "Life is Good" Moment Pin
OriginalGriff18-Jan-19 1:30
mveOriginalGriff18-Jan-19 1:30 
GeneralRe: A "Life is Good" Moment Pin
Slacker00718-Jan-19 1:41
professionalSlacker00718-Jan-19 1:41 
GeneralRe: A "Life is Good" Moment Pin
OriginalGriff18-Jan-19 1:51
mveOriginalGriff18-Jan-19 1:51 
GeneralIt's been a half century Pin
MadMyche18-Jan-19 0:21
professionalMadMyche18-Jan-19 0:21 
GeneralRe: It's been a half century Pin
Mark_Wallace18-Jan-19 0:23
Mark_Wallace18-Jan-19 0:23 
GeneralRe: It's been a half century Pin
OriginalGriff18-Jan-19 0:32
mveOriginalGriff18-Jan-19 0:32 
GeneralRe: It's been a half century Pin
CPallini18-Jan-19 1:33
mveCPallini18-Jan-19 1:33 
GeneralRe: It's been a half century Pin
  Forogar  18-Jan-19 2:01
professional  Forogar  18-Jan-19 2:01 
GeneralRe: It's been a half century Pin
dandy7218-Jan-19 6:36
dandy7218-Jan-19 6:36 
GeneralRe: It's been a half century Pin
  Forogar  18-Jan-19 7:03
professional  Forogar  18-Jan-19 7:03 
GeneralRe: It's been a half century Pin
RickZeeland18-Jan-19 2:43
mveRickZeeland18-Jan-19 2:43 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.