Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 6 years ago.
Improve this question
I want to make web apps. Should I start with a ASP MVC books or first with C# books, due ASP MVC is written in this language.
Thank you.
Absolutely definitely and without any hesitation you should first learn the .NET framework by picking a CLS language such as C# or VB.NET before getting into ASP.NET MVC. Once you learn .NET, depending on your level of experience of web development in general you might start by learning the HTTP protocol and some markup such as HTML. I have seen many developers starting to work with ASP.NET MVC without knowing anything about the HTTP protocol which is at the base of every web application. Javascript comes next.
Once you are familiar with those concepts you could jump into ASP.NET MVC. At least that's the advice I can give you. If you have no experience with .NET and you start directly with ASP.NET MVC that would be very counter productive.
Yes, you should learn C# first. Especially if you have no prior programming language. If you already know an OO language, it might not be that important to study C# first, but I would definitely recommend you to read a book on it, or use tutorials and practice, before diving into MVC.
MVC is a framework. You write code for it in one of the .NET languages, such as C# or VB.NET. If you can't code C# at a basic level (or one of it's friends), MVC, the book and its examples, will make no sense to you.
Related
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 4 years ago.
Improve this question
What is the main feature of Microsoft's .Net Blazor? Can we use it in place of React or Angular? Will Blazor provide all the tools which are provided in Angular or React?
In my opinion the main advantages of using Blazor instead of React or Angular are:
C# and ASP.NET can be used both on the client and server-side. Currently the cost of switching is high (imho) and removing the need for JavaScript libraries would reduce this. It is more or less the same argument for using Node.js on the server-side. But in the case of Blazor you remove JavaScript in favour for C# and ASP.NET. Who does not like that? :)
You can use shared models (or even functional code) that will reduce duplicate code, will save time and prevent mistakes caused by client-server model mismatch.
It is correct that Blazor and Angular/React are in fact not the same thing. Blazor generates WebAssembly and React/Angular do not (currently). However, the first two arguments are still valid if you are thinking of replacing Angular/React with Blazor. Just keep in mind that Blazor is still not fully supported and does not have all the features that the Javascript libraries have.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 5 years ago.
Improve this question
I was looking for advice around on whether which framework to consider for my university's final year project. I'm on my final year and need to create a project management website for demonstration of my programming skills. There'll be an admin, multiple users, such as student, project supervisor and lead (clients). I've already developed few functionalities using ASP.NET Web Forms but there have been little confusion on which approach will be better, as I've seen many web solutions available online mostly with MVC framework. As it's a university project for demonstration of an online project management system, it will not be the type of large scale web development.
It really does not matter if it will be large scale project or not, MVC is the way to do it. Web Forms are not supported anymore. Although they are great way of implementing web sites, they are old and they are really not scaling well with today web standard requirements. My advice is to use Default MVC app template that comes with Visual Studio and adjust it to your needs. AS far as users go, you can use MVC Filters to restrict access to certain actions or functionalities.
Use ASP.NET Core - it will be a good experience for your future interviews :)
This experience will also be useful for ASP.NET MVC 5 and WebApi 2.
I also faced same issue when i was doing my final year project. finally i decided to go with MVC and it helps me a lot to when finding an internship.it will really help in future interviews also. i just download sample MVC project from the internet and just follow their coding. i used http://www.sourcecodester.com/ to find sample MVC Projects.hope this help you.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm a starter in web developing, weak at php-js-css but have c# experience.
For a new website project I want to use c# but have some problems with the view.
I won't use those standard-looking webform controls that I use for desktop apps, I need a better and modern appearance, a "Bootstrap-like view" for webform controls.
My goal is:
To be not having to learn js-css in detail for this website project, since it will take extra time for me to learn these. I want to solve this problem with c# compatible and easy to use tools / frameworks if possible.
For this purpose:
can I use a such a recommended framework class with c#,
or could just a css template do it,
or is there a 3rd simpler way
It is important for me to choose the right way before I start the project, any help is appreciated.
You absolutely can. You need to use javascript or typescript for the UI and then use Asp.Net WebApi to do any of the server-side functionality. Any of the popular javascript frameworks play very well with WebApi as long as you create the endpoints the correct way.
Here are some tutorials that can help get you started:
Hands On Lab: Build a Single Page Application (SPA) with ASP.NET Web API and Angular.js
AngularJS CRUD Operations with WebAPI, EF and Bootstrap
ASP.NET Web API application with Angularjs Forms and Bootstrap
Creating your first SPA Application using AngularJS and WebAPI – All CRUD Operations
Pluralsight also has a number of video tutorials that are well worth the cost if you can afford it.
Hope that helps.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I was looking in the Internet if there is any article about trends in ASP.NET. There are many such articles and each one gives their own suggestions.
Could you point some technologies that are commonly used building ASP website?
I'm interested in trends in:
standard websites
client-server apps using client basing on ASP (maybe bad idea?)
I want to find out about the technologies, useful libraries, etc.
Please, don't hate this thread, as far as I noticed (in posts/comments in the whole Web), many people that want to start learning e.g. ASP with most known and the best technologies (for this time) on their own have problems with finding clearly answer.
Specialists could share their experiences and tell something about technologies used in their companies/projects. Maybe, please, describe the kind of your app and used technologies. Thanks
If you read .NET Technology Guide for Business Applications by Microsoft press, you will have a better idea what options there are (mostly Microsoft stack). It all depends on your requirements, so you might want to think about them first.
For me personally, in a lot of cases I end up with ASP.NET MVC 5 (with bootstrap 3 for responsive design), web API 2 for the backend services, and deploy them to Azure.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
For a newcomer to .NET Web Development and programming in general, who chooses C# as there preferred language?
Is it better to learn C# first, without trying to apply it to web development? It seems most literature for C# uses Console or Windows Forms as a learning platform. So would that be the best direction?
Or should you practice in web development and try to learn C# alongside?
You need to understand the fundamentals of C# in order to develop anything useful, be it an ASP.NET website, windows client or web service.
I would start with some good tutorials around the basics of types, classes, methods, events and so on to get to grips with C#. C# Station has some good introductory tutorials here.
To develop web specific skills, start with HTML and CSS.
Then look at how the ASP.NET platform integrates both the C# (application code) and the HTML and CSS (presentational code).
And good luck!
I've helped several people go both from previous languages (like C++) as well as no experience to using C#.
Definately learn C# before you try any particular kind of development (like Web stuff). It will only confuse the newcomer.
If you already know a language, reimplementing a small application from the old language to the new language can help a lot.
Also there are often books for common language transitions - the C# for C++ developers books are good examples. I recommend reading them.
Here's my teaching plan (in short summary):
Give an overview of C# language (types, methods, Main()
Have students write Hello World from the console.
Have students implement the "Simon Says" game from the console.
Have students implement "Simon Says" in WPF. (Using the designer. This used to be Windows Forms, but WPF is a cleaner model)
Give a survey of the more advanced features in C# - delegates, events, etc.
Have students implement "Simon Says" in ASP.NET.
I disagree about learning C# in a bubble. If your end goal is to do web development why start with developing anything but?
The one exception is the console. It's incredibly easy to learn if, for, foreach, etc. in the console.
Do you have any programming experience, web or otherwise? If the answer is no, I'd learn XHTML and CSS first. There are a million tutorials online and it is pretty easy.
If you already have web programming experience then learning C# and applying to the web shouldn't be very difficult. Make sure you read the basics of the two types of ASP.NET (WebForms and MVC) and pick which makes more sense to you. Go thru the tutorials on the asp.net and you should have a fairly good start.
That's how I did it anyway.
My suggestion would be to do both as if you are doing only web development, then console or Windows applications may not be meaningful to complete. Another point is that there may be parts of C# that are specific to Webforms such as AJAX functionality to name one example though the ASP.Net MVC may be another worth looking at to some extent.
I would start with the simple, "Hello World!" example(Which can be done in a few ways in the web case and it is worth knowing all of them, e.g. straight HTML that doesn't have anything fancy, a Response.Write in the .aspx file, a Response.Write in the code behind, and using the "<%=" and "%>" tags for the last form) and then expand on that by using storage in files or databases and work towards building up various skills around a core of seeing C# used within web stuff.