Smooth transition from php to asp.net c# [closed] - c#

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I was wondering if anyone has any tips on transitioning from PHP to asp.net c#? I've been developing in PHP for 7 years and I'm interested in learning asp.net. However, I've been disappointed with the books that I've read so far. Seems like every asp.net book has so many examples of clicking here and dragging here and right click on this, etc... that I seem to get lost. Learning the C# language isn't bad...I think I'm getting lost in either the IDE or the .NET framework. Any tips would be greatly appreciated.
Thanks!

I suggest you look at asp.net/mvc, not webforms - it will be a more natural migration.
The good resource is the official site: http://asp.net/mvc - it has tutorials, videos and more.
The .NET base class library (BCL) is very large. It is what you will interact with most of the time (outside of your own code). The only advice I can give - look things up on MSDN. It has very good documentation and it is worth taking your time reading through it.
For Visual Studio - the VS tips and tricks blog is a really good resource to learn about it.

Coming from PHP there's probably less you need to un-learn (I was a classic ASP programmer for a long time and made the jump to .NET about seven years ago).
Microsoft has a bunch of free tutorials, as does the W3Schools site. I found the Macon State tutorials to be extremely helpful when I was starting out:
http://www.maconstateit.net/tutorials/aspnet20/default.htm
The Microsoft exam prep books are pretty straightforward, too, mostly dealing with code instead of drag-and-drop.

I felt the exact same way about the .NET / Visual Studio environment when I first approached it.
If you're not into all the GUI stuff I would recommend George Shepherd's ASP.NET 4 Step by Step from Microsoft Press.
I learned ASP.NET basics on the 3.5 version of this book and I loved it. He really starts with the nuts and bolts stuff (open a telnet window and interact directly with the HTTP server for example) that I think would appeal to most *NIX veterans. His approach gave me a good feel for what all the complicated controls in ASP.NET are really doing under the hood, which was instrumental in growing my understanding of the platform.
http://www.amazon.com/Microsoft-ASP-NET-Step/dp/0735627010/ref=sr_1_5?s=books&ie=UTF8&qid=1325190956&sr=1-5

Related

Windows 8 and Desktop Apps [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I found out that windows 8 is going to be heavily dependent on C++, HTML5 and CSS based apps(WPF ?). I spend a lot of time working on applications like matlab, scipy and C# as programming language at my workplace. Considering this, is there going to be any big change for desktop app developers ? are these apps going to be re-written under new code and C# has any future for desktop apps?
A lot of hearsay at the moment until September it seems there is nothing definite.
There is wide speculation on whether Jupiter will be the unifying
user-interface model for Windows, Web and mobile. Burela believes
Jupiter may a “next generation” XAML-based framework, perhaps a
“mashup between WPF & Silverlight.”
There also appears to be equally strong support for three key
programming languages: C# to appease the .NET developers, C++ to
appease the Windows core developers, and HTML5/JavaScript to try to
lure developers from other platforms.
Of course the controversy has been Microsoft’s focus on JavaScript
while nearly ignoring Silverlight and .NET developers. Articles like
this one — though unofficial and speculative — should help calm some
nervous developers.
Source: http://www.isdotnetdead.com/windows-8-supports-all-programming-models/#
ZDnet try asking probing questions.
Here is another link about the future of C#
Okay, your question confuses some terms - based on the articles you cite.
Microsoft are quoted as saying that the application they demonstrated on Windows 8 was written using HTML and JavaScript. The article interprets this as saying that WPF and Silverlight are likely to be binned in favour of HTML and JavaScript.
Let's have a think about this.
As far as I'm aware, Microsoft have been really keen to run applications in the Browser for a very long time. They have made ActiveX controls that run in a browser, they have written Silverlight to run in a browser. They are one of the leaders in the whole "browser based applications" concept. People may criticise their methods of achieving this in the past, but at least they were trying.
When you consider that Microsoft currently have a desktop package called Office and also a web-based package called Office365, you can understand why they might want to just have one package to maintain that works on the desktop and in a browser.
My final note - the ARS Technica article describes HTML tooling as inferior, but seeing as you can use the same tools to write a WPF application or an HTML application I don't agree with this point.

C# Video Tutorials [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am a experienced PHP developer and planning to learn C# for developing desktop apps. Being unfamiliar with C# and desktop languages I couldnt find a good Video tutorial, and Visual C# different then C#?
Can anyone please link me to good Video Series for learning C#
there are some good C# tutorials here from msdn.
Also Microsoft has some videos here : http://msdn.microsoft.com/en-us/vcsharp/bb798022
NOTE: If you know Java by any chance, you might be wasting your time on video tutorials, C# is so similar to Java and you can pick it up by experience during the project you are working on. The MSDN library is very helpful and similar to Java API.
If you want to learn to develop desktop applications in C# then there are two obvious directions to go...
Windows Forms video tutorials: http://windowsclient.net/learn/videos.aspx
WPF (Windows Presentation Foundation) video tutorials: http://windowsclient.net/learn/videos_wpf.aspx
Windows Forms is the "old school" framework for quickly setting up user interfaces for Windows desktops. WPF is the newer framework that allows for more flexibility and modularity with your code.
C# is just one of the languages offered by Microsoft to generate .NET code. Some of the videos will feature heavy use of C# whereas others might feature VB (Visual Basic) or even XAML (a declarative language used in WPF).
Have fun!
Once I watched these video series. There are 35 videos about C#. Some of them are really relative with desktop application. http://www.quack-ware.com/tutorials/CSharp.aspx?page=1
Pluralsight has a good training program with a free trial period: http://www.pluralsight-training.net/microsoft/courses/Index
Microsoft's Channel 9 has a lot of great videos. It is really about .Net in general, but has a lot of great stuff on C#. http://channel9.msdn.com/

C# and .NET: Best way to learn both? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I have a C++ background and having to develop a larger application written in C# and using the .NET framework. So far I've been reading a lot of tutorials online but looking for books preferably unless there are some really good longer tutorials out there. The project I am working on involves threading, sockets, and GUI design. What are the best books these days? I'm using .NET 3.5 for my application.
As already mentioned, Jon's book is very good. Also very good is Mark's book "Essential C# 4.0".
I was the technical editor of both books.
The books are well named. If what you are looking for is an in-depth guide to the C# language, Jon's book is marginally better. If what you are looking for is thorough coverage of the essential features of the language and frameworks, Mark's book has the edge. But I would recommend either unreservedly.
Grab Jon Skeets book, C# in Depth:
http://www.manning.com/affiliate/idevaffiliate.php?id=876_230
Companion web site:
http://csharpindepth.com/
"The definitive what, how, and why of C# 3" - Eric Lippert, Microsoft (from the foreword)
"Become a C# 3 maestro!" - Fabrice Marguerie, C# MVP and author of LINQ in Action
"The best C# book I've ever read." - Chris Mullins, C# MVP
"Clear and concise." - Robin Shahan, GoldMail.com
"A treat!" - Anil Radhakrishna, ASP.NET MVP
"Reveals C#'s powerful mysteries" - Christopher Haypt, BuildingWebApps.com
"So good, it hurts my head." - J. D. Conley, Hive 7 Inc.
"Enriches the beginner, polishes the expert." - Josh Cronemeyer, ThoughtWorks
Follow Jon Skeet's answers here on StackOverflow
Without a doubt: Pro C# 2010 and the .NET 4 Platform (or Pro C# 2008 and the .NET 3.5 Platform if you insist on .NET 3.5)
I'm sure you'll get many responses for useful books and tutorials and such, but for me, one of the biggest helps was installing and using JetBrains ReSharper. I was already familiar with a lot of development methodologies used by the team I joined. ReSharper was a great way to be constantly oriented to C# and .NET-specific standards and potential usages.
Resharper site
Head First C# is pretty good. All the Head First! books are pretty good).
Another good book is C# In A Nutshell, from O'Reilly.
It's old, but still one of the the best in-depth books about .Net framework/CLR fundamentals, is Don Box's Essential .Net
For indepth learning - CLR via C# 3rd Edition
visual c# step by step does a great job of not only familiarizing you with the language and .net, it also does a good job of teaching you to get around in visual studio. It starts out very basic, but by the time you reach the end of the book it has touched on event handling, database access, xml, and even asp.net giving you a solid enough foundation to be able to decide what you want to learn next. Most students in my class had little trouble learning the concepts here. If you already know c++ you might find this a bit basic, but the starter sections could be used to familiarize yourself with the visual studio environment if you aren't already, so they wouldn't be just an extended rehash of things you already know.

Need Help with a new project [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I am starting my first software engineering job in a week and wanted to sharpen my skills up. I'm looking for someone to suggest a good week long, web application project that can help me sharpen up my C#, Javascipt, and JQuery.
Thanks!
Brandon
Edit: As noted below this is a pretty broad question. Let me give a little more background. I am a strong programmer, but an entry level one. My experience as an intern for a year gave me glimpses into a number of the .Net and C# technologies, but what I have never done was put them all together into an inclusive project. I'm looking for a project idea that will have me setting up both client and server side code (purely for practice) that will provide me better insight into how each piece of the puzzle fits together.
write a blog engine. its useful, easy, and has bounded, easily understood requirements.
You could start with one of the ASP.NET Starter Kits and build upon it.
Being that you have C# experience, I highly recommend trying Asp.Net MVC as I feel it is the future of MS Web programming (I am not alone in this opinion... though it is just an opinion).
If nothing else, the MVC (model-view-controller) organization is a well established and useful method of coding that is used accross all sorts of platforms like php, ruby on rails, etc. - not as much of an 'island' like Asp.Net WebForms (Asp.Net WebForms are still great).
There are all sorts of great tutorials, the most famous being Nerd Dinner
You might also want to check out the materials available under the jquery tag on Channel9. There is a great video from PDC2008 that talks about ASP.NET and jQuery and another jQuery for the ASP.NET Developer presentation from DevDays 2010.

Starting Intermediate Level C# Class, with heavy focus on UML... Your best tips or experinced advice? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm starting my 2nd class in C# programming through Kaplan online school. I have some limited interaction with the professor and the class online, but nothing like in an actual school. I'm about to go through "Modern Software Development Using C#.NET" by Richard Wiener. It seems the book as a extremely heavy focus on UML (which I don't even really know what that is right now!)
You experinced Csharpers.... any tips to keep in mind as I go through this to keep in perspective how the modern software engineer works outside the classroom?
Any perspectives to share as I start understanding UML and intermediate C# programming?
Some companies will use UML everywhere. Some use it nowhere. I'm not a big fan myself - I prefer ad-hoc diagrams and plenty of other communication (notes on the diagram, actual talking etc).
The good thing about an ad-hoc approach is that you can leave it as vague as you like or make it really detailed. The bad thing about it is you can't generate any code from it - but I've never really liked generating code from UML. (Others swear by it, mind.)
You certainly don't need to know UML to learn C#.
UML would come very close to the end of the list of things that gave me insight into the complex world of programming. I find it very distracting when trying to design something, and too time consuming for real system descriptions. I have always thought it is important and tried to start my project with UML diagram, but it wasn't ever worth it.
The bigger the projects you are working in the more you need a language to speak with, known by all members of the project team - a common language like UML! But you need not to start learning C# with UML.

Categories