You’re looking to memorize ASP.NET? I can’t blame you. Not only is it an greatly adaptable platform, but .NET designers are in high demand and will proceed to be. Shockingly, it can be a threatening platform to memorize — particularly if you’re brand modern to improvement or have never utilized Java or C++. Be that as it may, once over the world-renowned bump, you’ll discover it to be a rewarding and pleasant stage to create for. This blog is planned to induce you up and running on the ASP.NET stack, being able to write your own applications.
Task 1: Neglect the Naysayers
The majority of ASP.NET’s critics are kids who know nothing about the platform other than it was made by Microsoft; they haven’t spent five minutes with it to come up with any kind of informed opinion.
While there are certainly valid criticisms of the platform, they are typically made by developers who not only know C# and the .NET Framework, but PHP, Ruby, C++, Java, and other platforms.
Task 2: Choose the Comfortable Programming language
ASP.NET is frequently incorrectly thought of as a programming language; it is really a platform built on .NET’s Common Language Runtime (CLR), the component of the .NET System capable for executing .NET applications. Since of this, a .NET developer can utilize whatever .NET-enabled language they need to compose their ASP.NET application. This implies you’ll be able to write an application in C#, Visual Basic.NET, Python, PHP, Perl, and many other languages. As long as there’s a .NET compiler for your chosen language, you’ll be able to compose an ASP.NET application with it.
Task 3: Read Books To Gain More Knowledge
There is no shortage of ASP.NET books in the world, but there are bad books, good books, and excellent books. The two listed here are excellent, and I want you to read them in order.
Beginning ASP.NET 4 in C# and VB
Author: Imar Spaanjaars
Beginning ASP.NET 4 in C# and VB starts at the very beginning by walking you through downloading and installing a free version of Visual Studio called Visual Web Developer Express. You’ll then embark on your ASP.NET journey, learning syntax, controls, themes, and other features of the platform. Just as Visual C# 2010 Step by Step gives you the solid foundation in C#, Spaanjaars’ Beginning ASP.NET 4 in C# and VB gives you a solid foundation in ASP.NET fundamentals.
Professional ASP.NET 4 in C# and VB
Author: Bill Evjen, Scott Hanselman and Devin Rader
This book dives deeper into ASP.NET to give you a more complete understanding of the platform. It will not only expand upon the topics covered in Spaanjaars’ book, but it will introduce you to other features of ASP.NET and the .NET Framework: sessions, the provider model, membership (authentication and user roles), security, state management, caching, and the list goes on. There is not much this book does not cover, and it will be an invaluable resource you can return to when you need a refresher on a particular feature or topic.
Task 4: Now Time for Create Something
Reading book is one thing and performing on it is another. Whereas you without a doubt followed alongside the illustrations within the previously listed books, doing something on your own is one of the most excellent ways to memorize. So for this task, compose something. Building your own blogging engine, gatherings, or to-do list will put what you’ve learned into hone. Starting from scratch and adding more to your project as you wrap up a bit. Make sure you include the following features:
- Database-Driven: It should be database driven. Use Microsoft’s SQL Server Express as your data store, and design the tables you’ll need for your application. If you’re new to designing databases, it’s typically a good idea to think of your data as logical objects. For example, a blog app could have a table called BlogPosts where the table’s fields describe blog posts (title, posting, date of the post, etc). Keep it simple and logical.
- UI: It should have a “front-end.” By this, I mean the portion of the app that visitors would see; it’s the content that your project is supposed to display. If you build a blog, it’s the blog posts, archives, etc. If you’re building a forum, it’s the threads and posts contained within the forum. If it’s a to-do, list, it’s the tasks you (or other users) are to keep track of.
- Admin:It should have a “back-end.” This is the administrative portion of the project, where you maintain the blog posts, forum, or to-do list. Make sure you protect it by requiring administrators to authenticate.
Never fear to crack open a book or ask questions on the Web. Sites like www.stackoverflow.com and forums.asp.net are valuable resources where you can ask questions and get tips from pros who have used the platform for years.
Task 5: Watch the ASP.NET from Scratch MVC Screencasts
The WebForms technology you have been using up to this point is just one of the programming patterns you can use to create ASP.NET applications. A second programming model is ASP.NET MVC. It’s still ASP.NET but uses a different programming pattern called Model-View-Controller (MVC), and it is noticeably different than WebForms.
To get started with the MVC Framework, watch the following ASP.NET from Scratch lessons:
- MVC Introduction
- Routing in MVC
- Controllers and Simple Model Validation
- Views in MVC3
Task 6: Understand MVC by Reading Some Books
Newsletters are a medium, where someone else takes the time to curate the content for you. The traditional ones will land into your inbox on the periodical basis and there are few in a form of a blog.
Pro ASP.NET MVC 3 Framework
Author: Steven Sanderson, Adam Freeman
Parts of this book will be reviewed from the ASP.NET from Scratch screencasts, but it does cover other topics such as Test Driven Development (TDD), security, and extending MVC, as well as dive deeper into topics covered in the ASP.NET from Scratch videos. This is a must-have resource for any ASP.NET developer wanting to grasp the MVC Framework.
Professional ASP.NET MVC 3
Author: Jon Galloway, Phil Haack, Brad Wilson, K. Scott Allen
Once again, there will be review material, as many topics are covered in ASP.NET from Scratch and Professional ASP.NET MVC 3, but this is an excellent resource to give you other developers’ perspective on the MVC framework.
Task 7: Rewrite Something using the MVC Framework
Just as writing something for Task 4 made a different set of your understanding of ASP.NET WebForms, you would like to write something utilizing the MVC System. For best practice write an existing project using newly discovered knowledge. So for this task, modify the app you composed for Task 4, but use the MVC System rather than WebForms. This rewrite ought to follow to the same prerequisites as Task 4, and it has the same additional credit. Once again, do not hesitate to utilize your book or visit www.stackoverflow.com and forums.asp.net in case you get stuck.
Task 8: Follow the Expertise
Many Microsoft employees involved with ASP.NET blog and tweet regularly, but not every ASP.NET master works for Microsoft. Be sure to follow these guys and subscribe to their blogs:
- Scott Guthrie (@scottgu, weblogs.asp.net/scottgu/) is one of the original architects of ASP.NET and offers informational tweets and blog posts on the subject (particularly new stuff).
- Scott Hanselman (@shanselman, hanselman.com/) tweets a lot, but he provides a ton of information on .NET and technology in general.
- Phil Haack (@haacked, haacked.com/) also works for Microsoft in the MVC team, and his information blog posts cover a wide array of ASP.NET topics. He’s also responsible for NuGet, a package management utility for Visual Studio and .NET apps.
- ASP.NET Team (@aspnet, www.asp.net) is the ASP.NET website, featuring community spotlights, forums, and tutorials.
Task 9: Stay Up to Date
Computer technology is a fast-paced industry, and ASP.NET is no exception. Since its release in 2002, ASP.NET has gone through five major versions (and one point release), with a new version coming in 2012, and ASP.NET MVC has seen three versions since its 2009 release. Things move rather quickly, and keeping up with the changes and improvements of new versions are a necessity.
Thankfully, it is relatively easy to stay current with ASP.NET. Microsoft releases several Community Technical Previews (CTP) before every major release. Not only do you get to play with the new features in the upcoming version, but you have documentation, including a thorough “what’s new/changed”, with every CTP release.
This blog will get you on the road to ASP.NET goodness. It’s a fantastic platform, and it gets better with every new version and point release. With ASP.NET use some of the useful .NET scripts to make creativity in your programming.