|
Given the vast distances involved, I'm not that worried.
|
|
|
|
|
As long as you don't breach my 600 yard security perimeter, you're fine.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
As I read the post OP doesn't ask about MVC vs WebForms but ASP.NET view engine vs Razor view engine...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Yeah, I got that on the reread. Still, it's worth a rant about ViewState.
|
|
|
|
|
Kill ViewState!!!
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
Yeah, I'm not a fan of viewstate either.
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I can't find the article that I read on Razor over ASP.NET but taking over the syntax / less is more argument.
I read that the razor engine is supposed to lightweight compare to asp.net and also faster.
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
There is no advantages of Razor engine over ASP.NET engine...In fact ASP.NET engine slightly faster...
I think Marc is right it was created to bring RoR users over, by showing how easy the migration can be...
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
|
I'm currently working on an MVC app myself. The only difference I found between the two is just a matter of preference. If you're used to the ASP.NET syntax of doing things, the ASPX engine would probably make more sense to you.
Razor takes some getting used to and I'm finding more examples of the Razor view code when Googling problems than I am using ASPX.
|
|
|
|
|
Dave Kreskowiak wrote: I'm finding more examples of the Razor view code when Googling problems than I am using ASPX
The most valid reason for using Razor IMHO.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
Functionally Razor and ASP are equivalent I suppose , though razor does auto html-encode stuff after the @ . Around the time Razor came out, Scott Gu wrote this[^], the looping/conditional statement syntax is all kinds of win for me, I've yet to find a neat way to line up the <% brackets, especially around the curly braces.
tldr; pretty much nothing, unless you want a terser syntax (which I prefer).
|
|
|
|
|
It's the same as any 'which language is better' question, e.g. C# vs VB.net vs F#. They are functionally equivalent so use whichever one you like more.
|
|
|
|
|
Exactly, as an experienced developer you are likely to have patterns that accomplish things as well as MVC, in many cases your coding patterns may be more appropriate and better for any given situation(at least that's what I like to tell myself).
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
I use it because I love C#. But realistically IIS is the wrong tool for the job I want to do. I wish I could have a simple to configure Web Server that easily scaled, didn't have myriads of problems with permissions, and doesn't "recycle" because it wants to.
If there were a way to use C# and ASP.NET without IIS I think I would. (Then again, I have done 0 research with that statement)
|
|
|
|
|
I don't know what the current level of support is like under Apache, but it used to be a little tedious do set it up to serve .Net. Things may have improved and been updated since that time (2007 or so).
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013
|
|
|
|
|
I've written systems that do that, and it's a huge pain in the ass. While IIS has to be configured for some of the issues you brought up, I don't think anyone else will build a faster more scalable web server for windows. They moved http processing into a driver to optimize performance.
|
|
|
|
|
I use MVC for the web api
I use it because I have limited experience in the web and advanced knowledge in none web, so I use what I know.
That is the deciding factor for just about every situation that I need to choose a language.
Go with what you know best.
|
|
|
|
|
I did not read the entire thread so hopefully this isn't a repost...
The source
The biggest thing for my preference of razor is the expressive nature of it. I prefer patterns in code that let developers express what they want while the boring parts "just work".
The unit testability is nice I guess.
|
|
|
|
|
Little Johnny is working away furiously in the woodwork room when the teacher enters.
"what are you making there, Johnny?" he asks,
"a portable" replies Johnny. The teacher looks puzzled,
"a portable what?".
Johnny replies
"I don't know yet Sir, I've only made the handles!"
|
|
|
|
|
Don't get too carried away...
Anything that is unrelated to elephants is irrelephant Anonymous ----- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944 ----- I'd just like a chance to prove that money can't make me happy. Me, all the time
|
|
|
|
|
Johnny has a definite future in management.
According to my calculations, I should be able to retire about 5 years after I die.
|
|
|
|
|
We all know what you would of made!
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
|
Collin Jasnoch wrote: Any one know where a downloadable PDF of this[^] is? Right click, Print, choose a PDF printer.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|