user977150
user977150

Reputation:

ASP.NET Web Pages questions

I'm new to ASP.NET, but have been using PHP for many years. I have started on a educational program, where we are forced to learn ASP.NET, and I'm trying to find the best way.

As i understand there are three different development models you can choose between, when you code ASP.NET:

I found out that "Web Pages" seems to be easiest model to use, because it reminds more about PHP than the other two models.

So i have some questions about the model "Web Pages":

Thanks.

Upvotes: 2

Views: 271

Answers (1)

Mike Brind
Mike Brind

Reputation: 30035

The Web Pages model is just one entry point to developing dynamic sites using ASP.NET. Behind it is the same .NET library that lies behind the other two entry points: Web Forms and MVC. Whatever you can do in MVC and Web Forms, you can also do in Web Pages. You are not restricted to a subset of functionality.

Both C# and VB (your language choices for Web Pages) are fully object-oriented, so you can use OOP as much as you like when developing with Web Pages.

I have written a lot of articles on using Web Pages for web site development, including many that feature advanced OOP-based concepts such as Code-First development using the Entity Framework, and incorporating class libraries into an ASP.NET Web Pages site for data access code.

Upvotes: 2

Related Questions