I've searched this forum and didn't really find the answer I am looking for. I am a bit overwhelmed with all the information in the getting started section. I don't feel I am confused, just wondering if I am on the right track.
I come from a PHP background and making the switch to ASP.NET (at least trying to). I've started doing the MVC music store tutorial and it makes sense. It's just a lot different than PHP. A lot is done for me and don't always get WHY its done the way it
is (maybe because I am new to the framework) I just want to know where to start AND where to go. Webforms? MVC? Other?
And are there any books that you guys recommend to get me up to speed. I looked at some beginner books but I find they spend way too much time on HOW to program, the language (C#) and other web dev concepts. I would like a book that explains only ASP.NET
and related concepts or atleast for the most part.
What type of PHP development did you do? Did you mix code and output in the same files? Maybe use some include files? Or did you use one of the MVC frameworks like CakePHP? Either way, I would steer well clear of Web Forms if I were you. If MVC makes sense,
and you want to do stuff like unit testing etc, then stick with learning MVC. If you do not need that level of separation and architecture, then have a look at Razor Web Pages and WebMatrix:
http://www.asp.net/web-pages
One last question - why are you looking to move from PHP to ASP.NET?
It varied depending on the project; yes there were times where code and output were all in the same file. But I have also worked with CodeIgniter and am quite comfortable with the MVC pattern.
Are razor web pages equivalent of mixing code and output (similar to PHP for putting together something quick)?
I want to move to ASP.NET because at my current workplace they use ASP.NET, I don’t work there as a developer so if there’s ever an opening I could apply for it. I started learning C# to play around with XNA and I liked the language. I also I think it’s
great that I can use the same language (C#) for other things than just web apps. And even if I do work on PHP project on the side I am sure there are things I could learn from ASP.NET.
Book on ASP.NET (MVC). Not a beginner book that spends (a lot of) time explaining How to program (variables, classes, oop, etc.). I learned C# from Oreilly's C# in a Nutshell book and would like something similar. A good reference book maybe ? Or something
for intermediate programmers. I am searching at amazon but not sure which one to pick. Thanks.
devgan
Member
10 Points
5 Posts
Advice on Switching from PHP to ASP.NET
May 03, 2011 02:52 PM|LINK
Hi,
I've searched this forum and didn't really find the answer I am looking for. I am a bit overwhelmed with all the information in the getting started section. I don't feel I am confused, just wondering if I am on the right track.
I come from a PHP background and making the switch to ASP.NET (at least trying to). I've started doing the MVC music store tutorial and it makes sense. It's just a lot different than PHP. A lot is done for me and don't always get WHY its done the way it is (maybe because I am new to the framework) I just want to know where to start AND where to go. Webforms? MVC? Other?
And are there any books that you guys recommend to get me up to speed. I looked at some beginner books but I find they spend way too much time on HOW to program, the language (C#) and other web dev concepts. I would like a book that explains only ASP.NET and related concepts or atleast for the most part.
thanks
Akash
Mikesdotnett...
All-Star
154818 Points
19853 Posts
Moderator
MVP
Re: Advice on Switching from PHP to ASP.NET
May 03, 2011 03:14 PM|LINK
What type of PHP development did you do? Did you mix code and output in the same files? Maybe use some include files? Or did you use one of the MVC frameworks like CakePHP? Either way, I would steer well clear of Web Forms if I were you. If MVC makes sense, and you want to do stuff like unit testing etc, then stick with learning MVC. If you do not need that level of separation and architecture, then have a look at Razor Web Pages and WebMatrix: http://www.asp.net/web-pages
One last question - why are you looking to move from PHP to ASP.NET?
Beginning ASP.NET Web Pages with WebMatrix | My Site | Twitter
devgan
Member
10 Points
5 Posts
Re: Advice on Switching from PHP to ASP.NET
May 03, 2011 04:31 PM|LINK
It varied depending on the project; yes there were times where code and output were all in the same file. But I have also worked with CodeIgniter and am quite comfortable with the MVC pattern.
Are razor web pages equivalent of mixing code and output (similar to PHP for putting together something quick)?
I want to move to ASP.NET because at my current workplace they use ASP.NET, I don’t work there as a developer so if there’s ever an opening I could apply for it. I started learning C# to play around with XNA and I liked the language. I also I think it’s great that I can use the same language (C#) for other things than just web apps. And even if I do work on PHP project on the side I am sure there are things I could learn from ASP.NET.
Akash
Mikesdotnett...
All-Star
154818 Points
19853 Posts
Moderator
MVP
Re: Advice on Switching from PHP to ASP.NET
May 03, 2011 05:02 PM|LINK
Yep. And then there's a migration path: http://msdn.microsoft.com/en-gb/magazine/hh148144.aspx
Beginning ASP.NET Web Pages with WebMatrix | My Site | Twitter
devgan
Member
10 Points
5 Posts
Re: Advice on Switching from PHP to ASP.NET
May 03, 2011 06:26 PM|LINK
Thank you! Any - on point - book to recommend ?
Mikesdotnett...
All-Star
154818 Points
19853 Posts
Moderator
MVP
Re: Advice on Switching from PHP to ASP.NET
May 03, 2011 06:46 PM|LINK
Book about what in particular? You seem comfortable with C#, so what specifically do you want to learn?
Beginning ASP.NET Web Pages with WebMatrix | My Site | Twitter
devgan
Member
10 Points
5 Posts
Re: Advice on Switching from PHP to ASP.NET
May 03, 2011 07:47 PM|LINK
Book on ASP.NET (MVC). Not a beginner book that spends (a lot of) time explaining How to program (variables, classes, oop, etc.). I learned C# from Oreilly's C# in a Nutshell book and would like something similar. A good reference book maybe ? Or something for intermediate programmers. I am searching at amazon but not sure which one to pick. Thanks.
Akash
Mikesdotnett...
All-Star
154818 Points
19853 Posts
Moderator
MVP
Re: Advice on Switching from PHP to ASP.NET
May 03, 2011 08:27 PM|LINK
Steve Sanderson's book - whichever is the latest one. This would be ideal: http://www.amazon.com/Pro-ASP-NET-MVC-3-Framework/dp/1430234040/ref=dp_ob_title_bk but its not ready until June. I don't know if any good MVC 3 books are out yet.
Beginning ASP.NET Web Pages with WebMatrix | My Site | Twitter
devgan
Member
10 Points
5 Posts
Re: Advice on Switching from PHP to ASP.NET
May 03, 2011 09:18 PM|LINK
Alright. Thanks for all your help.
Akash