|
Is it possible to create web application with both webforms and mvc?
|
|
|
|
|
|
A very simple search revealed this.......Mixing WebForms and MVC Razor Views
I'm sure there are others, but maybe you need to start with "How to search" before getting into fancy pants topics like mixing webforms and mvc.
|
|
|
|
|
Once you start down the dark path, forever will it dominate your destiny, consume you it will.
-Yoda
|
|
|
|
|
I have fairly powerful PC (8 core FX-9370 AMD with 64Gb), and had no problem to run anything even together, but now I installed Andriod Studio to start a new project and when Android Studio running the CPU never goes under 20%...
It is a Java thing or some Android Studio problem?
Any experience with this?
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
|
|
|
|
|
Task Manager's Details tab should be able to tell you which process is hogging one of your cores. Sorting by CPU should make it obvious.
Process Explorer from Sysinternals might be able to show a little more details. But typically Task Manager is sufficient.
|
|
|
|
|
dandy72 wrote: Process Explorer from Sysinternals
A good one - for Windows... I'm on Linux with this...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
|
|
|
|
|
Every modern IDE that I know of sucks up CPU cycles at a crazy rate.
|
|
|
|
|
I never saw VS consuming CPU cycles just by being started, if I do not request it to perform some operation.
Plain editing (with IntelliSense support and immediate marking of syntax errors) is barely noticable on the CPU load. If I start the program I am developing to run under control of VS, there is of course some CPU load even when the program is at a breakpoint or waiting for input, with no active threads. This is to be expeced: VS monitors e.g. the heap and GC continously. But this is at such a level that I never though of it - nowhere close to 20%.
If you have threads running under the debugger, and these are in some active state, you must expect the CPU load to be somewhat higher than if you run the executable standalone, especially if you set a lot of conditional breakpoints, and those threads hit the breakpoint without satisfying the condition. Other debugging functions, like monitoring memory use etc., are also bound to take some resources.
So I cannot agree with your statement.
(For the sake of being impolite: But on the other hand, I have been using Eclipse...)
|
|
|
|
|
Member 7989122 wrote: Plain editing (with IntelliSense support and immediate marking of syntax errors) is barely noticable on the CPU load.
I see you're not familiar with ReSharper...
|
|
|
|
|
The only reason I do not use ReSharper is that it slows my PC down so much. I only have an old Phenom II x4 965 and no SSD, so it is quite noticeable. I'll start using it when I upgrade to an SSD.
|
|
|
|
|
djordje.nikolic97 wrote: The only reason I do not use ReSharper is that it slows my PC down so much
That was my point. No matter how fast a system is, ReSharper will find a way to make it feel sluggish.
|
|
|
|
|
Yes, I know that resharper slows down VS. but the project I came into has 190 c#\wpf sub projects. Very slow loading and compiling. It has evolved to get this large and no time to redesign it right.
|
|
|
|
|
I've seen this same issue with Arduino studio (it's written in Java) and I have to shut down the IDE all the time or the fans will run on my PC as the CPU usage goes way up.
Maybe Android Studio was checking for SDK updates or other types of updates. Or maybe Gradle (build system) is running in background?
Maybe it was still doing some background updating since you just installed it? Is it keeping high CPU now?
I haven't seen Android Studio be that bad and I do quite a bit of Android development. Every revision of Android Studio does get a bit more bloated however.
I Opened Android Studio and Watched Task Manager
I have the latest version Android Studio and I fired it up and it is sitting on the splash / open a project screen at about 0.8%. Then I opened a project and let it sit and it's at 0% while I'm doing nothing in it.
|
|
|
|
|
It was a background worker (I left it run overnight to finish) that installed a local copy of Gradle, even I have the latest already installed on shared location... After finishing it, it came to peace with the computer...
Wondering why the shared Gradle didn't satisfied it, maybe that I installed it under /opt...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
|
|
|
|
|
Kornfeld Eliyahu Peter wrote: It was a background worker (I left it run overnight to finish) that installed a local copy of Gradle
Interesting. It is a bit disconcerting that it does this stuff in the background but doesn't even let you know so we see the behavior and can't really tell what is happening. It's not very helpful of the devs to not just give a warning that the background thing is running. Glad you discovered what it was.
|
|
|
|
|
"Speaking of Java"? who did this? wasn't me!
Android studio only use 20% of your CPU? You must have one of those 100 cores new Xentreon ultimate CPU, don't you, hey?!
|
|
|
|
|
I'm guessing it is the IntelliJ-based Android Studio we're talking about. IntelliJ is notorious for its long indexing times :P
The JVM is - in my experience, at least - not too CPU-intensive, it is mostly the RAM that gets used up quick (or at least with the ConcMarkSweep GC; in Java 8, the G1 seems to do better: -XX:+UseG1GC )
|
|
|
|
|
|
I find it both ironic and humorous that you can't install that app on your Kindle Fire.
".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
|
|
|
|
|
It's even more funny/ironic considering the name of the app/mug is Ember!
"Go forth into the source" - Neal Morse
|
|
|
|
|
Iiiiigit, why not invest in a Espresso machine. Heat up in between something around 20 seconds and get a more or less fresh Cup of coffee?
Sorry and all the best
It does not solve my Problem, but it answers my question
modified 19-Jan-21 21:04pm.
|
|
|
|
|
kmoorevs wrote: concert tickets to see Dream Theater
|
|
|
|
|
kmoorevs wrote: that lasts around 2.5 hours on a charge
so you make your coffee, and realise you forgot to charge the cup.
...anyway I'd never take that long to drink a cup of coffee, unless I fall asleep half way through (which does happen once in a while and no, it's never decaf), in which case I make a fresh one.
(In fact anything over 10 mins (very rare) is pour out and make another, I can't abide stale coffee.)
Message Signature
(Click to edit ->)
|
|
|
|
|
Got a bag of loose white tea for Christmas
|
|
|
|