Now I know why I don't use ASP.NET, Razor, and all that cr*p
-
OK, granted, the specs on the computer at work suck: 8GB RAM i5-2500 CPU at 3.30Ghz Probably a 5400 RPM hard drive that's always thrashing. (and I seem to be one of the lucky ones with 8GB RAM!!!) However: 1. It takes for flipping ever (a good 30 seconds) for Visual Studio to launch the website as it interfaces through IIS and loads a hundred System.Microsoft.sh*t assemblies. 2. If I try to debug, it's about a 60 second wait time, a message frequently pops up that something can't start, it tries to integrate debugging with Chrome (for elephants sake, I'm trying to debug the server-side C# code, not the Javascript, I'll use the console window in Chrome for that, thank you very elephanting much, I don't need or want integrated Javascript client debugging in the IDE) 3. If #2 happens, I have to reset the URL to localhost:[someport] 4. Now remember, I'm running this stuff as localhost, so everything is elaphanting LOCAL. Yet it takes a good 10 seconds to load a "hello world" page. The time delays are what gets me the most. So many elephanting sub-systems seem to be involved. Conversely, the web sites that I write don't use ASP.NET, Razor, or any of that garbage. The server launches instantly, the web pages come up instantly, and I'm a happy camper debugging server side code in the VS and client-side code in Chrome. My experience with Microsoft's high-level technologies for web development makes me X| Sadly, I have to use this pile of stinking dung for a simple project at work. And as I said above, the crap machine they give you here at work is probably in large part responsible for my experience. Marc
Latest Article - Merkle Trees 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
I've been developing using .NET since 2005 and I agree with what you wrote. The start-up delay really annoys me, especially when you see how well (performance wise) Java sites work (they start up pretty much instantly). .NET is very convenient to work with though - the framework, IDE, and third party support is really good and Microsoft have put a lot of effort into adding new features/enhancing existing features over the years. I'm in the process of switching over to .NET Core, but hardly ever use MVC these days - it's all Web API and Angular for the kiddies these days :)
Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.
-
OK, granted, the specs on the computer at work suck: 8GB RAM i5-2500 CPU at 3.30Ghz Probably a 5400 RPM hard drive that's always thrashing. (and I seem to be one of the lucky ones with 8GB RAM!!!) However: 1. It takes for flipping ever (a good 30 seconds) for Visual Studio to launch the website as it interfaces through IIS and loads a hundred System.Microsoft.sh*t assemblies. 2. If I try to debug, it's about a 60 second wait time, a message frequently pops up that something can't start, it tries to integrate debugging with Chrome (for elephants sake, I'm trying to debug the server-side C# code, not the Javascript, I'll use the console window in Chrome for that, thank you very elephanting much, I don't need or want integrated Javascript client debugging in the IDE) 3. If #2 happens, I have to reset the URL to localhost:[someport] 4. Now remember, I'm running this stuff as localhost, so everything is elaphanting LOCAL. Yet it takes a good 10 seconds to load a "hello world" page. The time delays are what gets me the most. So many elephanting sub-systems seem to be involved. Conversely, the web sites that I write don't use ASP.NET, Razor, or any of that garbage. The server launches instantly, the web pages come up instantly, and I'm a happy camper debugging server side code in the VS and client-side code in Chrome. My experience with Microsoft's high-level technologies for web development makes me X| Sadly, I have to use this pile of stinking dung for a simple project at work. And as I said above, the crap machine they give you here at work is probably in large part responsible for my experience. Marc
Latest Article - Merkle Trees 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
I know you're complaining out of the frustration of it and I've been hit by the same thing quite often. XCode on iOS has done this to me numerous times too. And of course VSTudio and associated technologies will just kill you at times. So the following is not a lecture but a continuing of the conversation... This is the price we pay for structured code based upon patterns that provide code organization. It does impose overhead at times. However, once the web app is initially started it is _usually_ quite fast. This is OOP, not just a script running in the background. It's the trade-off of creating code that is organized. There are always faster ways, than OOP. However, those faster ways tend to lead people into creating code that other people don't want to read. Assembly is very fast running, but very slow to read. :) (all you assembly coders out there are going to chime in and say, "I can read assembly so fast." :) ) Again, this isn't a lecture but a good discussion about trade-offs.
-
I am rewarded by my company with a similar setup though at least I have a 256GB SSD drive which helps. I have also started using VS2017 which has a lightweight solution load option. It's a bit dumb but does help a tad. What irks is that my own machine is far better specified than this but they won't let me use it. :-)
R. Giskard Reventlov wrote:
What irks is that my own machine is far better specified than this but they won't let me use it.
Indeed, my laptop is better performing. SSD's, 16GB ram, 8 core processor... Marc
Latest Article - Merkle Trees 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
-
I am rewarded by my company with a similar setup though at least I have a 256GB SSD drive which helps. I have also started using VS2017 which has a lightweight solution load option. It's a bit dumb but does help a tad. What irks is that my own machine is far better specified than this but they won't let me use it. :-)
R. Giskard Reventlov wrote:
though at least I have a 256GB SSD drive which helps
I agree. I think that is probably the most important feature of all in speed with Windows and Visual Studio especially. I just upgraded to an SSD from an HDD at home and the change has been extremely dramatic. Also, at work we all have SSDs and it makes everything far better. A lot of software is I/O killer -- especially VStudio.
-
Chris Maunder wrote:
Have you played with the new ASP.NET Core stuff?
No, but I actually want to. I imagine it's a lot lighter weight, given that IIS doesn't exist (and hopefully never will) on Linux boxes.
Chris Maunder wrote:
What are you currently using?
I wrote my own HTTP/S server from core .NET classes (not "Core" stuff), use a "semantic" multithreading router, and rely heavily on Newtonsoft.Json. The rest is jQuery, Bootstrap, and maybe a wee bit of Knockout (I really have little use for MVVM models, actually, as crazy as that sounds) and lots of Ajax for a nice responsive UI experience, wrapped in some client-side libraries I put together to make life easier (less typing) and my UI poison of choice is jqWidgets (which is actually quite cool.) No Angular. No Backbone. No React. It's amazing how much can get done when you don't add several framework layers between point A (give me the value of this control) to point B (send it to the server.) Marc
Latest Article - Merkle Trees 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
-
I know you're complaining out of the frustration of it and I've been hit by the same thing quite often. XCode on iOS has done this to me numerous times too. And of course VSTudio and associated technologies will just kill you at times. So the following is not a lecture but a continuing of the conversation... This is the price we pay for structured code based upon patterns that provide code organization. It does impose overhead at times. However, once the web app is initially started it is _usually_ quite fast. This is OOP, not just a script running in the background. It's the trade-off of creating code that is organized. There are always faster ways, than OOP. However, those faster ways tend to lead people into creating code that other people don't want to read. Assembly is very fast running, but very slow to read. :) (all you assembly coders out there are going to chime in and say, "I can read assembly so fast." :) ) Again, this isn't a lecture but a good discussion about trade-offs.
raddevus wrote:
This is the price we pay for structured code based upon patterns that provide code organization.
No it isn't. :) I have a reference website that I use for the starting point of anything else that I build that is just as structured, using good patterns and code organization. In fact, better, I think, because I personally think that mixing C# code with Javascript that requires a template engine to parse and build as it serves pages, well, while it sounds cool, it's really bad practice, IMO, and I avoid it like the plague. The result is much more readable Javascript, clean separation between the HTML and the Javascript, and a well formed Javascript library that I've pieced together as I identify re-use.
raddevus wrote:
However, those faster ways tend to lead people into creating code that other people don't want to read.
Too true. I can't imagine I could convince anyone here at work to do it differently. Regardless, I'm quite content to do development of my own websites with my tech, and if anyone wants to contribute, they have to learn it or bugger off. ;)
raddevus wrote:
Again, this isn't a lecture but a good discussion about trade-offs.
True again. And the tradeoff is actually less with regards to technology than it is to people's perception, buy in, and willingness to learn, at least in my experience. Marc
Latest Article - Merkle Trees 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
-
OK, granted, the specs on the computer at work suck: 8GB RAM i5-2500 CPU at 3.30Ghz Probably a 5400 RPM hard drive that's always thrashing. (and I seem to be one of the lucky ones with 8GB RAM!!!) However: 1. It takes for flipping ever (a good 30 seconds) for Visual Studio to launch the website as it interfaces through IIS and loads a hundred System.Microsoft.sh*t assemblies. 2. If I try to debug, it's about a 60 second wait time, a message frequently pops up that something can't start, it tries to integrate debugging with Chrome (for elephants sake, I'm trying to debug the server-side C# code, not the Javascript, I'll use the console window in Chrome for that, thank you very elephanting much, I don't need or want integrated Javascript client debugging in the IDE) 3. If #2 happens, I have to reset the URL to localhost:[someport] 4. Now remember, I'm running this stuff as localhost, so everything is elaphanting LOCAL. Yet it takes a good 10 seconds to load a "hello world" page. The time delays are what gets me the most. So many elephanting sub-systems seem to be involved. Conversely, the web sites that I write don't use ASP.NET, Razor, or any of that garbage. The server launches instantly, the web pages come up instantly, and I'm a happy camper debugging server side code in the VS and client-side code in Chrome. My experience with Microsoft's high-level technologies for web development makes me X| Sadly, I have to use this pile of stinking dung for a simple project at work. And as I said above, the crap machine they give you here at work is probably in large part responsible for my experience. Marc
Latest Article - Merkle Trees 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
Sounds exactly like my box (before I up'ed to SSD - definite improvement and 16G - no noticable change) but even before the up's it was never that slow and never thrashed even when compiling in running in full 'dev mode' (VS13, MySQL server and clients, NotePad++, browser - many tabs, email excel and word all at the same time.)! Disable the bloat services and useless task scheduler entries start with superfetch - it on purposly fills all memory with useless apps: MS says it 'loads the apps you use most' - that's bullshit, after months of use I caught it still loading [ms] apps I never used even once, and not loading a lot I did use every day. Everything got faster without it. It's useless, even without SSD the advantage (even if it worked properly) would be negligable. Absolutely avoid chrome like it has leprosy. Disable stupid crap, like the Adobe Reader update checker. If you trust yourself turn off any anti-virus full-time read/write-to-disk scanning (in fact mine's on-demand only) - just scan anything you download as and when. Unless you must have it SQL Server is a hog. (BTW: Only need Compact Edition for VS to work) Even now with firefox, and a couple of explorer windows and taskman there's only 29 processes in my taskman list - before clean up was closer to 40 and it seemed even moving the mouse would rattle the disk. (Mostly that was the superfetch effect - swapping active apps in and out to save the precious pre-loaded ms crapolapps.) I've got an old i3 laptop that outperforms one i7 machine a client provides for me at their office - but then again they loaded it with "speed up" utilities - what a joke those things are.
Sin tack the any key okay
-
raddevus wrote:
This is the price we pay for structured code based upon patterns that provide code organization.
No it isn't. :) I have a reference website that I use for the starting point of anything else that I build that is just as structured, using good patterns and code organization. In fact, better, I think, because I personally think that mixing C# code with Javascript that requires a template engine to parse and build as it serves pages, well, while it sounds cool, it's really bad practice, IMO, and I avoid it like the plague. The result is much more readable Javascript, clean separation between the HTML and the Javascript, and a well formed Javascript library that I've pieced together as I identify re-use.
raddevus wrote:
However, those faster ways tend to lead people into creating code that other people don't want to read.
Too true. I can't imagine I could convince anyone here at work to do it differently. Regardless, I'm quite content to do development of my own websites with my tech, and if anyone wants to contribute, they have to learn it or bugger off. ;)
raddevus wrote:
Again, this isn't a lecture but a good discussion about trade-offs.
True again. And the tradeoff is actually less with regards to technology than it is to people's perception, buy in, and willingness to learn, at least in my experience. Marc
Latest Article - Merkle Trees 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
That's a great post. I agree with you. This is a great summary of the situation...
Marc Clifton wrote:
And the tradeoff is actually less with regards to technology than it is to people's perception, buy in, and willingness to learn,
Master developers can create new frameworks that have considered trade-offs and which create architectural frameworks that can be passed on to others. I honestly think that is the case of what you have. Now, getting others to buy in to that can be problematic. Also, many companies are just going to ask what Stack you're working on and expect a limited answer like: 1. ASP.NET MVC 2. LAMP 3. AngularJS (which isn't actually complete either since you need backend) -- but just saying Angular gives a dev Gravitas. :) 4. other stack But my point here is that companies just hear the buzzwords and have good or bad feelings about the specific stack and that's basically how they determine their architectural underpinnings. Or some guy comes along and says, "I know Python and Django. I could do the whole thing in a week." 2 years later.... :laugh:
-
That's a great post. I agree with you. This is a great summary of the situation...
Marc Clifton wrote:
And the tradeoff is actually less with regards to technology than it is to people's perception, buy in, and willingness to learn,
Master developers can create new frameworks that have considered trade-offs and which create architectural frameworks that can be passed on to others. I honestly think that is the case of what you have. Now, getting others to buy in to that can be problematic. Also, many companies are just going to ask what Stack you're working on and expect a limited answer like: 1. ASP.NET MVC 2. LAMP 3. AngularJS (which isn't actually complete either since you need backend) -- but just saying Angular gives a dev Gravitas. :) 4. other stack But my point here is that companies just hear the buzzwords and have good or bad feelings about the specific stack and that's basically how they determine their architectural underpinnings. Or some guy comes along and says, "I know Python and Django. I could do the whole thing in a week." 2 years later.... :laugh:
raddevus wrote:
Also, many companies are just going to ask what Stack you're working on
Exactly. Somewhere along the way, the concept of "full stack developer" came along, whereas my concept of a "full stack" is rather different. ;) The worst part is, these so-called full stack developers are expected to know the Javascript, the DOM, CSS, some client-side MVVM, some single page tech, as well as some layout tech like Bootstrap (which is a time saver), as well as the back-end: writing the REST API's, the database design, etc. Oh, and not to mention, this one developer is expected to create performant, good looking, web sites! Holy script, JavaMan! And frankly, given how fubar'd client side development is, I much prefer the back-end.
raddevus wrote:
2 years later....
So so true. The CTO where I used to work made this promise. And literally, 3 years later... Marc
Latest Article - Merkle Trees 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
-
Chris Maunder wrote:
Have you played with the new ASP.NET Core stuff?
No, but I actually want to. I imagine it's a lot lighter weight, given that IIS doesn't exist (and hopefully never will) on Linux boxes.
Chris Maunder wrote:
What are you currently using?
I wrote my own HTTP/S server from core .NET classes (not "Core" stuff), use a "semantic" multithreading router, and rely heavily on Newtonsoft.Json. The rest is jQuery, Bootstrap, and maybe a wee bit of Knockout (I really have little use for MVVM models, actually, as crazy as that sounds) and lots of Ajax for a nice responsive UI experience, wrapped in some client-side libraries I put together to make life easier (less typing) and my UI poison of choice is jqWidgets (which is actually quite cool.) No Angular. No Backbone. No React. It's amazing how much can get done when you don't add several framework layers between point A (give me the value of this control) to point B (send it to the server.) Marc
Latest Article - Merkle Trees 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
Marc Clifton wrote:
I wrote my own HTTP/S server
Ladies and Gentleman, I present to you: A Developer.
cheers Chris Maunder
-
Marc Clifton wrote:
I wrote my own HTTP/S server
Ladies and Gentleman, I present to you: A Developer.
cheers Chris Maunder
Forsooth!
#SupportHeForShe Government can give you nothing but what it takes from somebody else. A government big enough to give you everything you want is big enough to take everything you've got, including your freedom.-Ezra Taft Benson You must accept 1 of 2 basic premises: Either we are alone in the universe or we are not alone. Either way, the implications are staggering!-Wernher von Braun
-
OK, granted, the specs on the computer at work suck: 8GB RAM i5-2500 CPU at 3.30Ghz Probably a 5400 RPM hard drive that's always thrashing. (and I seem to be one of the lucky ones with 8GB RAM!!!) However: 1. It takes for flipping ever (a good 30 seconds) for Visual Studio to launch the website as it interfaces through IIS and loads a hundred System.Microsoft.sh*t assemblies. 2. If I try to debug, it's about a 60 second wait time, a message frequently pops up that something can't start, it tries to integrate debugging with Chrome (for elephants sake, I'm trying to debug the server-side C# code, not the Javascript, I'll use the console window in Chrome for that, thank you very elephanting much, I don't need or want integrated Javascript client debugging in the IDE) 3. If #2 happens, I have to reset the URL to localhost:[someport] 4. Now remember, I'm running this stuff as localhost, so everything is elaphanting LOCAL. Yet it takes a good 10 seconds to load a "hello world" page. The time delays are what gets me the most. So many elephanting sub-systems seem to be involved. Conversely, the web sites that I write don't use ASP.NET, Razor, or any of that garbage. The server launches instantly, the web pages come up instantly, and I'm a happy camper debugging server side code in the VS and client-side code in Chrome. My experience with Microsoft's high-level technologies for web development makes me X| Sadly, I have to use this pile of stinking dung for a simple project at work. And as I said above, the crap machine they give you here at work is probably in large part responsible for my experience. Marc
Latest Article - Merkle Trees 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
Don't debug. Build, refresh page. If something goes wrong, set breakpoint and instead of F5 use one of those VS AttachTo [AttachTo-Next - Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=ziyasal.AttachTo-Next) extensions for debugging. Makes for a pleasanter experience. Not perfect but better than F5. Debug JS in Chrome dev tools or whatever.
Kevin
-
raddevus wrote:
Also, many companies are just going to ask what Stack you're working on
Exactly. Somewhere along the way, the concept of "full stack developer" came along, whereas my concept of a "full stack" is rather different. ;) The worst part is, these so-called full stack developers are expected to know the Javascript, the DOM, CSS, some client-side MVVM, some single page tech, as well as some layout tech like Bootstrap (which is a time saver), as well as the back-end: writing the REST API's, the database design, etc. Oh, and not to mention, this one developer is expected to create performant, good looking, web sites! Holy script, JavaMan! And frankly, given how fubar'd client side development is, I much prefer the back-end.
raddevus wrote:
2 years later....
So so true. The CTO where I used to work made this promise. And literally, 3 years later... Marc
Latest Article - Merkle Trees 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
Marc Clifton wrote:
as well as the back-end: writing the REST API's, the database design, etc. Oh, and not to mention, this one developer is expected to create performant, good looking, web sites! Holy script, JavaMan!
We just need you to know everything about everything. :) Great discussion. :thumbsup:
-
OK, granted, the specs on the computer at work suck: 8GB RAM i5-2500 CPU at 3.30Ghz Probably a 5400 RPM hard drive that's always thrashing. (and I seem to be one of the lucky ones with 8GB RAM!!!) However: 1. It takes for flipping ever (a good 30 seconds) for Visual Studio to launch the website as it interfaces through IIS and loads a hundred System.Microsoft.sh*t assemblies. 2. If I try to debug, it's about a 60 second wait time, a message frequently pops up that something can't start, it tries to integrate debugging with Chrome (for elephants sake, I'm trying to debug the server-side C# code, not the Javascript, I'll use the console window in Chrome for that, thank you very elephanting much, I don't need or want integrated Javascript client debugging in the IDE) 3. If #2 happens, I have to reset the URL to localhost:[someport] 4. Now remember, I'm running this stuff as localhost, so everything is elaphanting LOCAL. Yet it takes a good 10 seconds to load a "hello world" page. The time delays are what gets me the most. So many elephanting sub-systems seem to be involved. Conversely, the web sites that I write don't use ASP.NET, Razor, or any of that garbage. The server launches instantly, the web pages come up instantly, and I'm a happy camper debugging server side code in the VS and client-side code in Chrome. My experience with Microsoft's high-level technologies for web development makes me X| Sadly, I have to use this pile of stinking dung for a simple project at work. And as I said above, the crap machine they give you here at work is probably in large part responsible for my experience. Marc
Latest Article - Merkle Trees 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
My company forced upgraded me to a lower spec computer than what I had prior... (upgraded meaning Win10 on a slower machine instead of Win7 on a faster one). Before I gave up the old machine, I managed to discover that the company webpage had it documented as a lower end laptop than what it was, and I had the hardware guy here remove the 'incorrect' components and put them in my downgraded (I mean upgraded) laptop. I think I almost made it out with an equal exchange. But yah... those load times when working on a project really break up any attempt at work. It is just long enough for my mind to wander and think about something else. So instead of losing 1 minute every time I hit F5... I really lose about 10 :~
-
Sounds exactly like my box (before I up'ed to SSD - definite improvement and 16G - no noticable change) but even before the up's it was never that slow and never thrashed even when compiling in running in full 'dev mode' (VS13, MySQL server and clients, NotePad++, browser - many tabs, email excel and word all at the same time.)! Disable the bloat services and useless task scheduler entries start with superfetch - it on purposly fills all memory with useless apps: MS says it 'loads the apps you use most' - that's bullshit, after months of use I caught it still loading [ms] apps I never used even once, and not loading a lot I did use every day. Everything got faster without it. It's useless, even without SSD the advantage (even if it worked properly) would be negligable. Absolutely avoid chrome like it has leprosy. Disable stupid crap, like the Adobe Reader update checker. If you trust yourself turn off any anti-virus full-time read/write-to-disk scanning (in fact mine's on-demand only) - just scan anything you download as and when. Unless you must have it SQL Server is a hog. (BTW: Only need Compact Edition for VS to work) Even now with firefox, and a couple of explorer windows and taskman there's only 29 processes in my taskman list - before clean up was closer to 40 and it seemed even moving the mouse would rattle the disk. (Mostly that was the superfetch effect - swapping active apps in and out to save the precious pre-loaded ms crapolapps.) I've got an old i3 laptop that outperforms one i7 machine a client provides for me at their office - but then again they loaded it with "speed up" utilities - what a joke those things are.
Sin tack the any key okay
You won't notice a difference with 16GB of RAM until you have 3 instances of Visual Studio, database management software, Outlook, Firefox (with 20 tabs open), Chrome (streaming Pandora and level 2 stock data), and a remote connection to a server all open at the same time. The highest I've gotten my work machine to was nearly 12GB :-D
if (Object.DividedByZero == true) { Universe.Implode(); } Meus ratio ex fortis machina. Simplicitatis de formae ac munus. -Foothill, 2016
-
OK, granted, the specs on the computer at work suck: 8GB RAM i5-2500 CPU at 3.30Ghz Probably a 5400 RPM hard drive that's always thrashing. (and I seem to be one of the lucky ones with 8GB RAM!!!) However: 1. It takes for flipping ever (a good 30 seconds) for Visual Studio to launch the website as it interfaces through IIS and loads a hundred System.Microsoft.sh*t assemblies. 2. If I try to debug, it's about a 60 second wait time, a message frequently pops up that something can't start, it tries to integrate debugging with Chrome (for elephants sake, I'm trying to debug the server-side C# code, not the Javascript, I'll use the console window in Chrome for that, thank you very elephanting much, I don't need or want integrated Javascript client debugging in the IDE) 3. If #2 happens, I have to reset the URL to localhost:[someport] 4. Now remember, I'm running this stuff as localhost, so everything is elaphanting LOCAL. Yet it takes a good 10 seconds to load a "hello world" page. The time delays are what gets me the most. So many elephanting sub-systems seem to be involved. Conversely, the web sites that I write don't use ASP.NET, Razor, or any of that garbage. The server launches instantly, the web pages come up instantly, and I'm a happy camper debugging server side code in the VS and client-side code in Chrome. My experience with Microsoft's high-level technologies for web development makes me X| Sadly, I have to use this pile of stinking dung for a simple project at work. And as I said above, the crap machine they give you here at work is probably in large part responsible for my experience. Marc
Latest Article - Merkle Trees 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
I never had this problem with VS 2010. Recently, I was forced to upgrade an ASP.Net app (to keep up with report version) and started using VS 2015. My inner loop suddenly got unpleasantly disrupted watching the indeterminate wait cursors. 4GB of memory doesn't go far with VS 2015! :( I'm waiting for the dust to settle with VS 2017. I'm actually past due for new hardware, but this 7.5 y/o rig still handles most of my needs quite well. (OK, the SSD was put in just a year and a half ago...huge difference!) :)
"Go forth into the source" - Neal Morse
-
I know you're complaining out of the frustration of it and I've been hit by the same thing quite often. XCode on iOS has done this to me numerous times too. And of course VSTudio and associated technologies will just kill you at times. So the following is not a lecture but a continuing of the conversation... This is the price we pay for structured code based upon patterns that provide code organization. It does impose overhead at times. However, once the web app is initially started it is _usually_ quite fast. This is OOP, not just a script running in the background. It's the trade-off of creating code that is organized. There are always faster ways, than OOP. However, those faster ways tend to lead people into creating code that other people don't want to read. Assembly is very fast running, but very slow to read. :) (all you assembly coders out there are going to chime in and say, "I can read assembly so fast." :) ) Again, this isn't a lecture but a good discussion about trade-offs.
-
Xcode with objective c rocks. They improved also the pods import. Not sure what problems you have with it, but overall can't complain at all.
Over all it's not bad. Was more thinking about just the sheer size of its footprint and sluggishness at times. I was also thinking about the issue I ran into below. My code has all been XCode via Swift (not objective-c). But, here's a problem I was _lucky_ enough to stumble into first and I was in the middle of a project and it totally crushed my app and design view. Luckily I reverted the code and was able to finally fix it via editing the design file via text editor (outside of XCode). It ended up being a bug in XCode. ios - Why do internal inconsistencies occur in Main.storyboard and how do I get around it? - Stack Overflow[^]
-
Marc Clifton wrote:
I wrote my own HTTP/S server
Ladies and Gentleman, I present to you: A Developer.
cheers Chris Maunder
Chris Maunder wrote:
I present to you: A Developer.
I resemble that remark! :laugh: Marc
Latest Article - Merkle Trees 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
-
Chris Maunder wrote:
Have you played with the new ASP.NET Core stuff?
No, but I actually want to. I imagine it's a lot lighter weight, given that IIS doesn't exist (and hopefully never will) on Linux boxes.
Chris Maunder wrote:
What are you currently using?
I wrote my own HTTP/S server from core .NET classes (not "Core" stuff), use a "semantic" multithreading router, and rely heavily on Newtonsoft.Json. The rest is jQuery, Bootstrap, and maybe a wee bit of Knockout (I really have little use for MVVM models, actually, as crazy as that sounds) and lots of Ajax for a nice responsive UI experience, wrapped in some client-side libraries I put together to make life easier (less typing) and my UI poison of choice is jqWidgets (which is actually quite cool.) No Angular. No Backbone. No React. It's amazing how much can get done when you don't add several framework layers between point A (give me the value of this control) to point B (send it to the server.) Marc
Latest Article - Merkle Trees 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
I'm amazed at the over engineering MS does... which makes it harder to learn/change/work with in some of it's stacks. I recently completed a project with a simple
HttpListener
for the web server andVue.js
for the client side [my first real web project after a lifetime of winforms development]. ps:Vue.js
is awesome, simple and powerful !!