I have a two years of experience of programming in Visual C# and Visual C++. I would like to know some good online sources to start learning ASP.NET or anything else I should/need to learn before diving into ASP.NET. I found some online videos that are proving to be quite useful. Perhaps I would like to know about some open source projects where I can have a look at the ASP.NET code directly.
Sorry, but I'm going to have to suggest the immediately obvious first:
Official Microsoft ASP .Net Site
There's a link at the top to both "Get Started" and "Learn", and I have found this site incredibly useful over the past year or so.
Speaking as a convert from WinForms to the Web, I offer the following tips
Learn the ASP.NET Life-cycle
Get to grips with the concepts of client vs server-side code; know how pages are served up etc
Don't bite off too much too soon, there are A LOT of new things to learn, and it changes very quickly. But you don't need to be writing a full-blown AJAX web app straight away.
I like http://www.asp.net/learn/ it has some great tuts and some cool videos that walk you through the processes.
Good Luck
IMHO, CodeProject (www.codeproject.com) has lots of excellent articles related to ASP.NET.
Regarding projects, there are plenty of ASP.NET applications in CodePlex (www.codeplex.com) or SourceForge.
Regarding a specific ASP.NET application, http://www.cuyahoga-project.org/ its a great application to see.
Best Regards.
https://web.archive.org/web/20211020202742/https://www.4guysfromrolla.com/
Loads of ASP.NET articles/tutorials at various levels. I found it pretty useful to get my head around some of the concepts.
Just to add, another great resource is www.learnvisualstudio.net
Its not free but it has a plethora of videos covering all aspects of asp.net from 1.1 to 3.5, AJAX, Webservices.
Programmer to Programmer style videos with great examples and downloadable source code.
Good luck :)
Related
Probably sounds a bit stupid but I'm getting confused moving from Classic ASP to ASP.net.
After looking at the two different variants of the language, VB or C#, I have decided to go with C#. I was reading another StackOverflow answer that explained moving from VBScript to C# was easier to learn coming from VBScript.
So, I thought I'd hit W3schools to learn some basics on C# but got confused when I was given the options; Web Pages, MVC or Web Forms. Would somebody please explain the differences and which one would suit me best?
I have been coding in classic ASP/VBScript for many years, building all kinds of web application, some big, some small, and I do not want to use any software like Visual Studio, I just want to write code. I currently use Dreamweaver just for coding.
For a move from classic ASP to a .NET web platform, I would suggest going with ASP.NET/MVC.
WebForms are an abstraction that was created to make VB6 programmers comfortable with working on the web and it is a very leaky abstraction. It uses an event model and an idea of PostBacks that simply is not part of how the web really works. It has limitations that will not be familiar or make much sense at first (you can only have one form on a page, for example). As such MVC will be much more familiar.
I suggest that you watch this video by asp.net official developers as well as other relevant videos at the migrating section
Here's another good video produced to help programmers to choose the programming model (webforms, webpages or mvc, tools, etc)
Although w3schools has several good examples, it has several inconsistencies as well as incorrect information. Good alternatives for w3schools include MDN and IE Reference API (as the name implies, it's aimed to IE, and it's a good reference for when something works in other browsers but not in IE)
I am wanting to learn about Web Development and Windows azure in particular. I thought creating a blogging application for a personal website would be a nice and simple project to accomplish this.
Does anyone know of walkthroughs/tutorials that would help lead me down this path, or even better cover this exact topic?
If the reason I am not finding many tutorials on this topic is because of the inability to use Azure in this way, I would love to know of a more appropriate, but still useful, project to do.
Steve Marx's blog is a perfect place to start - if you go back to the start of this - http://blog.smarx.com - then writing a blog is exactly how he started the blog.
Here's some info about his original PDC presentation - http://azurefeeds.com/post/122/Windows_Azure_Blog_Source_Code_from_PDC.aspx - some of the code will be a little out of date now.
Probably because most developers advise that "Azure is not for running your blog" due to cost.
Cut your teeth on the training kit: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=413e88f8-5966-4a83-b309-53b7b77edf78&displaylang=en
Then head over to Smarx's article for a proof of concept. But if you want a blog ... use Blogger or Wordpress ;)
I have looked some videos and read some articles about MVC, MVP, MVVM. I think, that I understood basic principles and differences. But it seems to me that samples in articles and videos are very easy.
I think that it's easy to learn how to apply these patterns when you can look on some projects.
So I'd like to look on real projects(Winforms/WPF), which use MVC, MVP or MVVM. Could you provide me links to sources of such projects? (If it is open source)
It will be great if projects will have unit tests for Controller/Presenter/ViewModel, because it's one of my problem when I develop applications.
Thanks in advance.
CodePlex will have a fair few http://www.codeplex.com/
I assume you have also used the samples at http://www.asp.net/mvc (you seemed to suggest this in your post)
Edit: also see these questions:
Good examples of WPF applications
Real World ASP.NET MVC Applications with Source Code?
Mini SQL Query at codeplex http://minisqlquery.codeplex.com/
see my answer at https://stackoverflow.com/a/25376174/423356
i'm a novice teaching myself asp.net in c# via trial and error learn by doing, unfortunately this means lots of errors!
i have a custom errors page now that is basically a 404 so that site visitors don't get that ugly application error message .NET throws, but i WOULD like to be able to see what's going wrong myself as people use the site.
so i'm looking to build or learn from a fairly basic error logging c# class, that will send the same information given in a browser when hitting a .NET error, send this into a TXT file and email me the error at the same time would be great
i don't know where to even begin, can someone give me some pointers? an open source class that does this already that i could plugin and play with would work as well. otherwise some links or guidance on where to start reading would be great too.
i sort of have a mental block on understand msdn info-dump pages though, i'm hoping to find some articles on real people talking about implementing the same thing themselves or something like that
please note i'm not looking to use some extensive or complicated third party service for this, i'm hoping to learn from the process of implementing a concise customized one
There are many logging frameworks, but I recommend you use log4net for code-driven logging and ELMAH for ASP.NET logging. Scott Hanselman's ELMAH blog posting is a great introduction to this fantastic tool.
I recommend starting with ELMAH. Here's an overview from Scott Hanselman.
I am looking to get on with contributors on an ASP.NET MVC Project. I am professionally developing for a large firm and don't get enough of it here. I also teach Java Object Oriented practices at a University, and still don't feel that I get enough of the engineering with this. Simply put, I am looking to get onto a project (small, opensource) so that I can gain valuable information and learn from others in the community before I go crazy here (I have reached a proverbial ceiling where I am).
Where is the best place to look for this type of work?
My wannabe expertises... JQuery, ASP.NET MVC, CSharp, AJAX, Javascript, Memberships, and the list continues on. Previous work is mostly private (intranet), so all I have is a couple sites I have put together. http://jancel.doesntexist.com (is one that I am currently working on, won't be here forever, just waiting for customer buyoff). http://hurl.me is the first MVC C# Project I took on to learn more on ASP.NET MVC C#. My experiences started at Preview 2 and am excited to get on board here.
There are any number of open source projects that could easily use a major refactoring of their codebase (and know it). I'd start with SourceForge, find a few you're interested in for their subject matter, and start a conversation. (From your point of view, they don't even need to be currently ASP sites.)
How about MvcContrib? Another thought is Code Camp Server, but I'm not sure how active it is in terms of new features.