Click here to Skip to main content
15,906,574 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.

 
PraiseRe: Little Feat Pin
Slacker00716-Oct-19 3:53
professionalSlacker00716-Oct-19 3:53 
GeneralRe: Little Feat Pin
Dave Kreskowiak16-Oct-19 9:45
mveDave Kreskowiak16-Oct-19 9:45 
GeneralRe: Little Feat Pin
Mike Hankey16-Oct-19 11:17
mveMike Hankey16-Oct-19 11:17 
GeneralRe: Little Feat Pin
jeron115-Oct-19 14:58
jeron115-Oct-19 14:58 
GeneralRe: Little Feat Pin
Majerus15-Oct-19 16:50
Majerus15-Oct-19 16:50 
GeneralRe: Little Feat Pin
Sander Rossel15-Oct-19 23:08
professionalSander Rossel15-Oct-19 23:08 
GeneralRe: Little Feat Pin
Mike Hankey16-Oct-19 2:59
mveMike Hankey16-Oct-19 2:59 
GeneralI pretty much despise all of Microsoft's web development technologies Pin
Marc Clifton15-Oct-19 7:47
mvaMarc Clifton15-Oct-19 7:47 
ASP.NET, yuck.
Razor, yuck.
Even ASP.NET Core, ok, the pipeline concept is cool but it's so obtuse as to how to actually use it, and when you don't need it, how do you get rid of it, etc., etc.,

Basically, all of these technologies I've had to spend more time figuring out why they don't work than actually getting work done.

For example:

My latest adventure with Razor was refactoring an email template to handle multiple "you have been assigned a task..." messages, rather than one email per task.

So I thought, ok, I'll just add a models field and code it like this:

foreach(var model in @Model.models)

and refactor the rest of the code to use @model.whatever rather than @Model.whatever

Well, something about Razor is arbitrarily case insensitive, so the above worked in some places and not in others.

And geez, look at the code it generated:

public class RazorEngine_2468f450d36643faac8694a9733cba74 : RazorEngine.Templating.TemplateBase<.entityType in Foo.</a>> {

That piece, "entityType in Foo" is supposed to be part an inner div, like <div>@model.entityType in Foo<div>

But foreach(var modelInfo in @Model.models) and used as @modelInfo.whatever, well that worked fine.

POC.

GeneralRe: I pretty much despise all of Microsoft's web development technologies PinPopular
PIEBALDconsult15-Oct-19 7:57
mvePIEBALDconsult15-Oct-19 7:57 
GeneralRe: I pretty much despise all of Microsoft's web development technologies Pin
Slacker00715-Oct-19 8:24
professionalSlacker00715-Oct-19 8:24 
GeneralRe: I pretty much despise all of Microsoft's web development technologies Pin
PIEBALDconsult15-Oct-19 8:30
mvePIEBALDconsult15-Oct-19 8:30 
GeneralRe: I pretty much despise all of Microsoft's web development technologies Pin
Kent Sharkey15-Oct-19 8:31
staffKent Sharkey15-Oct-19 8:31 
GeneralRe: I pretty much despise all of Microsoft's web development technologies Pin
kentgorrell15-Oct-19 20:50
professionalkentgorrell15-Oct-19 20:50 
GeneralRe: I pretty much despise all of Microsoft's web development technologies Pin
Jan Heckman16-Oct-19 23:44
professionalJan Heckman16-Oct-19 23:44 
PraiseRe: I pretty much despise all of Microsoft's web development technologies Pin
PeejayAdams15-Oct-19 22:08
PeejayAdams15-Oct-19 22:08 
GeneralRe: I pretty much despise all of Microsoft's web development technologies Pin
#realJSOP15-Oct-19 8:38
professional#realJSOP15-Oct-19 8:38 
GeneralRe: I pretty much despise all of Microsoft's web development technologies Pin
dandy7215-Oct-19 9:17
dandy7215-Oct-19 9:17 
GeneralRe: I pretty much despise all of Microsoft's web development technologies Pin
abmv15-Oct-19 9:18
professionalabmv15-Oct-19 9:18 
GeneralRe: I pretty much despise all of Microsoft's web development technologies Pin
User 1106097915-Oct-19 9:56
User 1106097915-Oct-19 9:56 
GeneralRe: I pretty much despise all of Microsoft's web development technologies Pin
Dar Brett15-Oct-19 15:23
Dar Brett15-Oct-19 15:23 
GeneralRe: I pretty much despise all of Microsoft's web development technologies Pin
Nathan Minier16-Oct-19 1:28
professionalNathan Minier16-Oct-19 1:28 
GeneralRe: I pretty much despise all of Microsoft's web development technologies Pin
  Forogar  16-Oct-19 3:40
professional  Forogar  16-Oct-19 3:40 
GeneralRe: I pretty much despise all of Microsoft's web development technologies Pin
Nathan Minier16-Oct-19 3:42
professionalNathan Minier16-Oct-19 3:42 
GeneralRe: I pretty much despise all of Microsoft's web development technologies Pin
  Forogar  16-Oct-19 4:23
professional  Forogar  16-Oct-19 4:23 
GeneralRe: I pretty much despise all of Microsoft's web development technologies Pin
Sander Rossel15-Oct-19 23:16
professionalSander Rossel15-Oct-19 23:16 

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.