I can work on an ASP.NET application. What should a Java / PHP developer know before running?

I am primarily a Java and PHP developer and have some experience with .NET with C #, but mostly on the desktop.

What advice would you give me when starting a new ASP.NET application? What is the best MVC choice? What should i avoid? What are the main differences in developing a web application using ASP.NET, unlike PHP or Java? Are there any conventions that ASP.NET uses to work with PHP and Java?

What are some best practices or things that I should avoid doing together?

Anything you might think would be very helpful.

+3
source share
4 answers

PHP, # , , , . , .

-, ASP.NET MVC ASP.NET Webforms - ASP.NET. MVC ( - ), WebForms, . , , , PHP, . ASP.NET ( ). PHP, , . , , ASP.NET, , .

ASP.NET MVC, MVC: . , , , , , "" . , - , - , . , PHP , ASP.NET MVC "". , , , , , , ASP.NET MVC Microsoft . , .

WebForms. ( ), . , . . , ASP.NET, Windows, , .

. (, SQLClient), ( DAL) LINQ to SQL LINQ Entities? "", . DAL, . LINQ to SQL/Entities , . , .

WebForms, , MVC, - (DLL). Visual Studio/ASP.NET . , , ( MVC). , , . , - , . , , .

WebForms ( MVC, ):

, GridView ObjectDataSource, . . ObjectDataSource - , - . -, SQLDataSource LinqDataSource .

!

, Microsoft WebParts, Login Navigation. , .., .

, , , . , .

, ASP.NET (, "MyPageClass" ), . , , . sessionObj, .

- !

+3

-, . -, - . , , .

, ​​ MVC, , , .

+2

, , POST/GET.

+1

- ASP.NET -; , , . , ViewState .

+1

Source: https://habr.com/ru/post/1731020/


All Articles