Do I Need to Learn JavaScript to Build a Website After Learning C#?

0
4
Asked By CuriousCoder42 On

I've just started learning the basics of C# and I'm eager to kick off a project by building a website. I've heard a lot about needing to know JavaScript too. Is this true, or can I get away with just using C# for my project?

4 Answers

Answered By CSharpExplorer On

You can definitely create a website using just C#. Consider using Razor Pages or Blazor. Remember that the front end is mainly about presenting the data from the back end, so what you choose really depends on how you want to shape that data for users. If you do decide to venture into JavaScript, I'd suggest looking into Quasar with Vue since it's easy to set up and works smoothly if you're coming from a C# background.

Answered By WebDevGuru On

Your website will have both front and back ends. C# is great for the back end, where you'll handle database interactions. The front end, which is what users see, usually relies on JavaScript libraries. However, Blazor now allows you to use C# for front-end tasks too, which is awesome. If you're out for a career boost, learning some JavaScript could be beneficial. But if you're focused on quickly building something and feel confident with C#, Blazor is a solid choice.

Answered By ScriptSavvy On

Yes, you'll want to learn a bit of JavaScript at some point. I suggest getting some foundational skills in HTML, CSS, and JS first. Building a static webpage with those will really help when you dive into back-end projects like MVC, Razor, or Blazor.

Answered By TechyTraveler On

I recommend using either Blazor or ASP.NET MVC with Razor Pages. Some developers might shy away from MVC because it's not the latest trend, but it still does a great job. Just steer clear of using web forms for modern projects!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.