|
Have no idea who voted you 1 for that but fixed it.
Out of curiosity... first I'm hearing of Blazor. Does it compile the C# down to WASM or JS?
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: Does it compile the C# down to WASM or JS?
If you're using Blazor WebAssembly, then it's compiled to WASM.
If you're using Blazor Server, then the C# code runs on the server, and uses SignalR for communication between the server and the client.
There's also Blazor Hybrid for native client apps.
ASP.NET Core Blazor hosting models | Microsoft Learn[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Cool. Good to know. Also, glad to see the push to WASM. Gettin all fancy.
Jeremy Falcon
|
|
|
|
|
I am rtying to setup an Azure Pipeline to build an old Web project.
That uses both .NET v4.8 and .NETstandard 2.0 libraries.
dotnet publish doesn't support that project. I am unsure about migrating the project to new project format... I tried msbuild
msbuild C:...\Webproject.csproj -m -t:Rebuild -p:Configuration=Release;TargetFrameworkVersion=v4.8;OutputPath="c:\temp\webproj"
But then I got strange and puzzling error like:
"C:...\Webproject.csproj" (Rebuild target) (1) ->
(_GetProjectReferenceTargetFrameworkProperties target) ->
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\amd64\Microsoft.Common.CurrentVersion.targets(1842,5):
error : Project '..\OtherProject\OtherProject.csproj' targets 'netstandard2.0'.
It cannot be referenced by a project that targets '.NETFramework,Version=v4.8'.
Never mind, solved it.
Removed the target framework from command line!
(it's in each .csproj anyway)
modified 25-Sep-23 20:09pm.
|
|
|
|
|
how do i install json package in macbook. i have given the command > npm init -y but could not able to install.could anyone help!!!!
|
|
|
|
|
All that npm init does is create a packages.json file that you can use to add features to. If you aren't able to create this file, it means that you don't have Node installed and you will need to download/install it. You can find it here[^].
|
|
|
|
|
In my quest for advice on web app development, my friends pointed me toward JavaScript without hesitation. They emphasized that, without a doubt, JavaScript is the jack of all trades, seamlessly handling scripting tasks on both the client side and the server side. Its flexibility and wide-ranging capabilities make it an indispensable tool in modern web development. I'm not much familiar enough. What is your opinion? Thank you Guys
modified 14-Jul-23 9:40am.
|
|
|
|
|
tiobe index. Look at the graph rather than the chart for most used. You can search for the description of how they get the results.
From the chart you can also see how long they have been doing it historically.
TIOBE Index - TIOBE[^]
Mohammad Sadegh FadaiFard wrote: web app development...JavaScript
Despite it being low in the graph it probably is used quite a bit in web development. The index covers the entire industry and not just 'web'.
I expect C is there for embedded development.
|
|
|
|
|
It is not clear what kind of opinion are you seeking?
* Should you learn javascript? Yes, why not?
* Where to learn? Go to mdn and start the javascript beginners docs
|
|
|
|
|
JavaScript is the only language on the planet that you can use seamlessly on the client and server. When done, this is referred to as an isomorphic application. Any other language that claims to do this is just flat out lying and probably uses JavaScript under the hood. Emscripten used to do that actually, but they've smartly embraced WASM these days.
Speaking of WASM, things are changing with the web, but in a great way. Only problem with it is adoption for that is still in process. Eventually, a lot of languages will be isomorphic with no need for libraries. WASM is awesome.
But, if you want to start today, start with JavaScript and Node as it's still the king. You'll eventually get into WASM, but by and large you'll still need a bit of JavaScript to help run it in the browser, deal with compatibility issues, etc. So, you're going to have to learn JavaScript anyway.
As a side note, Node supports WASM too so it's worth learning regardless.
As another side note, you may see people say they don't like JS on CP. They don't know it well. Their opinion doesn't matter. It has its quirks but it's both beginner and expert friendly.
Jeremy Falcon
|
|
|
|
|
Also, things like the TIOBE index aren't a perfect representation of popularity. Some folks think just because some random dev online cooks up a random table it's meant to be taken as the gospel.
The JavaScript ecosystem is so vast there are plenty of keywords to search for that I doubt the TIOBE index picks them all up. The fact is, if you want to do web development (which is insanely popular) then you're going to learn JavaScript.
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: Also, things like the TIOBE index aren't a perfect representation of popularity. Some folks think just because some random dev online cooks up a random table it's meant to be taken as the gospel.
Except of course that when one wants to assess something in an objective way then one must in fact start with something that is objective.
Every other source of language usage that I have seen is based on limited developer/company surveys. Some of them are even biased where a source that is promoting the usage of the technology being surveyed. Or even quite a few where it is not even usage but rather that it is 'planned' to be used in the future.
But if you have some other source which seems like a better source I would certainly like to see it.
|
|
|
|
|
There's a reason I no longer correspond with you. I'd think you'd have the decency to do the same. This is unprofessional and indicative of a larger issue on your part, where you simply cannot leave someone alone. Feel free to disagree with me all you want. Just leave me out of your communications.
Nothing you can say will change my mind. You're just being disrespectful and wasting my time. And all you're doing is making so the talent will some stop coming to this site to help people.
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: Just leave me out of your communications
Except of course your comment was in fact directed at me. So apparently it is ok for you to comment on my posts but not for me to comment on yours.
Free speech is free speech. That includes dissent.
Also noting you did not post any links to corresponding language comparison usage.
Jeremy Falcon wrote: to this site to help people.
Many of your posts have nothing to do with "helping" people. It is just you expressing an opinion about something.
|
|
|
|
|
jschell wrote: Except of course your comment was in fact directed at me. So apparently it is ok for you to comment on my posts but not for me to comment on yours. I did not comment on your post. I replied in a different part of the thread to give accurate information to refute a bogus point in it. It was done for the sake of the OP getting quality information. I did not and will never engage with you again. You, on the other hand, took that as an opportunity to jump right into another engagement with me. I've made it clear I want nothing to do with talking to you.
jschell wrote: Many of your posts have nothing to do with "helping" people. It is just you expressing an opinion about something. Your opinion means nothing to me. You're argumentative and I would imagine have dysfunctional relationships. Why you cannot just leave me alone I do not know. But your presence is unwelcome. Do not reply to me anymore. Go away. Argue with a wall or something. You're wasting my time and should be blocked.
Jeremy Falcon
|
|
|
|
|
Jeremy Falcon wrote: I did not comment on your post
You commented on tiobe. I was the only one that mentioned tiobe.
Jeremy Falcon wrote: I did not and will never engage with you again.
You said that before yet you continue to do it.
Jeremy Falcon wrote: You, on the other hand, took that as an opportunity to jump right into another engagement with me
Because I understand what free speech means.
|
|
|
|
|
Once again, you did not actually read my post. Understand this at least.... LEAVE ME ALONE.
Jeremy Falcon
|
|
|
|
|
You seem to think you get to respond to me but I don't get to respond to you.
That isn't how it works.
Nor do you get to make posts and then dictate those that can respond and how they can respond. Again that just is not how it works.
|
|
|
|
|
LEAVE ME ALONE. YOU ARE ABUSIVE AND NARCISSISTIC. YOU HAVE NO RESPECT FOR PEOPLE AND ONLY ARGUE. GO AWAY. STOP.
Jeremy Falcon
|
|
|
|
|
I've also just reported you. I want nothing to do with you interacting with you.
Jeremy Falcon
|
|
|
|
|
This thread has been locked.
Thanks,
Sean Ewington
CodeProject
|
|
|
|
|
I agree with your perspective on the TIOBE index. It certainly does not offer a perfect representation of popularity, primarily relying on the number of specific online tutorial searches and not accounting for all the factors that could indicate a language's actual popularity. You're spot on about the JavaScript ecosystem. It's vast and has a myriad of libraries, frameworks, and specialized terms that might not be captured by the TIOBE index's algorithms. The significance of JavaScript in web development is undeniable, and it's almost inevitable to learn this language for any web developer. That said, although the TIOBE index has its limitations, it still provides a kind of barometer to understand general trends in the programming world. It's best used in conjunction with other indicators to gain a more comprehensive and balanced view of programming language popularity.
|
|
|
|
|
I agree, in theory. Just not in practice. Which is why I totally give you the thumbs up still... because intelligent peeps can disagree and be civil. I think. D=
Anywho, it's an outdated barometer. Very outdated. Let me give you one metric that makes that TIOBE index just completely wrong, in terms of web development. NPM's public repo has 25 billion weekly downloads... weekly is not a typo. This doesn't account for private repos, etc. You could easily add more to that to get a more accurate figure since they're not the only repo host (GitHub, etc.).
Now, compare that to NuGet. Granted, not everyone uses NuGet in C++, C#, etc., so this isn't completely accurate either in terms of overall popularity. (I'm excluding things like a Linux distro's repo since it's usually not a developer downloading from that.) The NuGet statistics claim about 3.5 billion weekly downloads. Compare that to 25+ billion a week.
It's fair to say, the JavaScript ecosystem is way, way, way more popular than the TIOBE index suggests. By far.
The fact is, most people that rely on TIOBE are not web developers. It hasn't been truly updated in over a decade. It doesn't matter if they've seen a console.log once or twice, that's not what makes a web developer. It had it's time and place, but the dude that wrote is just let it get stale while the world passed him by. And I seriously doubt that when it was written it took any real statical analysis into consideration.
You see the same mistakes in financial markets. People just blindly assuming that because it's a chart it actually means anything of significance. So, I agree with you as maybe it's a starting point for research, but it's only a starting point at best because the data is not reliable at all. This is only if you know zero about the ecosystem you're studying. If you know anything about it at all, you'd get a more accurate picture just ignoring it.
Jeremy Falcon
|
|
|
|
|
The last time I programmed against a SOAP web service was 2005 and it looks like things in Visual Studio have changed.
Is it still possible to automatically add a reference to a SOAP web service and have it generate the necessary C# files to call the service?
It seems that it only wants to create REST references. But then, I'm not sure I know what I'm looking at.
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|