|
For those new to message boards please try to follow a few simple rules when posting your question.- Choose the correct forum for your message. Posting a VB.NET question in the C++ forum will end in tears.
- Be specific! Don't ask "can someone send me the code to create an application that does 'X'. Pinpoint exactly what it is you need help with.
- Keep the subject line brief, but descriptive. eg "File Serialization problem"
- Keep the question as brief as possible. If you have to include code, include the smallest snippet of code you can.
- Be careful when including code that you haven't made a typo. Typing mistakes can become the focal point instead of the actual question you asked.
- Do not remove or empty a message if others have replied. Keep the thread intact and available for others to search and read. If your problem was answered then edit your message and add "[Solved]" to the subject line of the original post, and cast an approval vote to the one or several answers that really helped you.
- If you are posting source code with your question, place it inside <pre></pre> tags. We advise you also check the "Encode "<" (and other HTML) characters when pasting" checkbox before pasting anything inside the PRE block, and make sure "Use HTML in this post" check box is checked.
- Be courteous and DON'T SHOUT. Everyone here helps because they enjoy helping others, not because it's their job.
- Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
- Do not be abusive, offensive, inappropriate or harass anyone on the boards. Doing so will get you kicked off and banned. Play nice.
- If you have a school or university assignment, assume that your teacher or lecturer is also reading these forums.
- No advertising or soliciting.
- We reserve the right to move your posts to a more appropriate forum or to delete anything deemed inappropriate or illegal.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
|
|
|
|
|
Apologies for the shouting but this is important.
When answering a question please:
- Read the question carefully
- Understand that English isn't everyone's first language so be lenient of bad spelling and grammar
- If a question is poorly phrased then either ask for clarification, ignore it, or mark it down. Insults are not welcome
- If the question is inappropriate then click the 'vote to remove message' button
Insults, slap-downs and sarcasm aren't welcome. Let's work to help developers, not make them feel stupid.
cheers,
Chris Maunder
The Code Project Co-founder
Microsoft C++ MVP
|
|
|
|
|
Doing lots of web work in my current job...
We got a legacy solution (though still in use) which has ASP.NET/.NET4.8 Web projects in it.
Unfortunately, looking at it today (with VS 17.8.2, if it's of any relevance - i.e. latest one with the .net8 bits) and... I can't get any breakpoint to work!
I wonder... If anyone else here experiences the same misfortune? or has any idea?
|
|
|
|
|
|
Did you post the correct link? Or report the problem in the OP correctly?
The link suggests a problem with viewing a value. The OP suggests a problem with setting the break point (just that.)
|
|
|
|
|
my boss sent me this link and it seemed to be only vaguely related... but the 3rd last post suggested what solved it for us apparently, to add that in the .csproj,
<DebugType>portable</DebugType>
|
|
|
|
|
I am primarily a test automation engineer, and I have very little experience with full-stack Web development, but I'd like to learn. I have an idea for a training/education video platform in the vein of Pluralsite or Udemy but tailored for college-level instructors and their students.
A professor creates accounts for his/her students, and when the students log in they are directed to a page with links to tutorial/instructional videos relevant to the course. The video player is set up in such a way that the student can't fast forward, only pause or rewind or scroll up to the video's current elapsed time. After the student reaches the end of the video, he/she can scroll the entire length of the tutorial (permanently) and unlocks the next video in the series. The idea is that the student can earn a participation grade by watching the tutorials from beginning to end and can't "cheat" just by scrolling to the end.
The tutorials will be interrupted randomly with video clips displaying questions which will appear on an upcoming exam, kind of like YouTube ads you can skip after a few seconds. Every question on a given exam will show up, but not every question will appear to every student. The students are therefore incentivized to watch every video so as to gather test questions then work together with their peers to prepare for the test.
I believe this could be a useful tool for teachers who can't fit all the material they're required to cover in a single 55 minute lecture. For example, a computer science instructor could use the lecture to discuss concepts and theory and then use the tutorial system to demonstrate how to code.
I'd like some advice on how to get started. Has anyone already done something like this? What's a good framework to build the UI? What about the backend? I have some experience with React.js and C# ASP.NET.
Can anyone recommend any good tutorials for this sort of project?
Here's a big one: are there any open-source tools I can use to build mock-ups of web pages? Can I use an open-source video player, or would I have to build one from scratch to get it to do What I want it to?
|
|
|
|
|
You do not say what language skills you have, as that will affect the choices you make. At a minimum you would need to be skilled at HTML, CSS and Javascript for the front-end. You then need a backend language and framwork, and good knowledge of database. Languages and frameworks to consider include:
- PHP
- Python with Flask or Django
- ASP.NET with C# or VB.NET
So you should consider which of the above you have any knowledge of and proceed from there. One of the best starting points for tutorials on the majority of the above is W3Schools Online Web Tutorials[^].
|
|
|
|
|
I have some experience with React.js and C#.
|
|
|
|
|
|
I am using C# in Visual Studio and am branching into web development. I was under the impression that C# can be used for front-end development but I don't see a way to do it. Do I need to use something else for the front end and c# for the back end?
|
|
|
|
|
Are you looking for Blazor[^]?
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I am not sure what I am looking for, I have experience with C#, and I want to use it for developing a website. I thought all I needed was C# but obviously, I was naive in my thinking. Would Blazer be the tool I am looking for?
Thanks for any help, as I am really new to website development.
|
|
|
|
|
Blazor has the strapline "Use the power of .NET and C# to build full stack web apps without writing a line of JavaScript", so it's probably going to be close to what you're after.
But if you're building a website, it won't hurt to have at least some knowledge of HTML[^], CSS[^], and JavaScript[^] (or preferably TypeScript[^]).
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Thanks, I will look into that.
|
|
|
|
|
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
|
|
|
|