ArticleslgStudy

computer science

ASP.NET

ASP.NET is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand ASP.NET rather than just read about it. In short: ASP.NET is a server-side web-application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, applications and services.

ASP.NET — main illustration
ASP.NET — illustration

Key takeaways

  • ASP.NET belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect ASP.NET to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of ASP.NET from memory before moving on to harder problems.

Reference excerpt

ASP.NET is a server-side web-application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, applications and services. The name stands for Active Server Pages Network Enabled Technologies. Microsoft first announced ASP.NET to the public under the codename ASP+, and it is a re-implementation of their Active Server Pages (ASP) technology. ASP.NET is built on the Common Language Runtime (CLR), allowing programmers to write ASP.NET code using any supported .NET language. The ASP.NET SOAP extension framework allows ASP.NET components to process SOAP messages. In 2016, Microsoft released ASP.NET Core as ASP.NET's successor. This new version is a re-implementation of ASP.NET as a modular web framework, together with other frameworks like Entity Framework. The new framework uses the new open-source .NET Compiler Platform (codename "Roslyn") and is cross platform. ASP.NET MVC, ASP.NET Web API, and ASP.NET Web Pages (a platform using only Razor pages) have merged into a unified MVC (model–view–controller) 6.

Programming models

ASP.NET supports a number of programming models for building web applications:

ASP.NET Web Forms – A framework for building modular pages out of components, with UI events being processed server-side. This framework is not included in the ASP.NET Core versions; it only works in the "classic" ASP.NET, on Windows. ASP.NET MVC – allows building web pages using the model–view–controller design pattern. ASP.NET Web Pages – A lightweight syntax for adding dynamic code and data access directly inside HTML markup. ASP.NET Web API – A framework for building Web APIs on top of the .NET Framework. ASP.NET WebHooks – Implements the Webhook pattern for subscribing to and publishing events via HTTP. SignalR – A real-time communications framework for bi-directional communication between client and server. Other ASP.NET extensions include:

ASP.NET Handler – Components that implement the System.Web.IHttpHandler interface. Unlike ASP.NET Pages, they have no HTML-markup file, no events and other supporting. All they have is a code-file (written in any .NET-compatible language) that writes some data to the server HTTP response. HTTP handlers are similar to ISAPI extensions. ASP.NET AJAX – An extension with both client-side as well as server-side components for writing ASP.NET pages that incorporate Ajax functionality. ASP.NET Dynamic Data – A scaffolding extension to build data driven web applications.

IIS integrated pipeline

On IIS 6.0 and lower, pages written using different versions of the ASP framework cannot share session state without the use of third-party libraries. This does not apply to ASP.NET and ASP applications running side by side on IIS 7. With IIS 7.0, modules may be run in an integrated pipeline that allows modules written in any language to be executed for any request.

Third-party frameworks It is not essential to use the standard Web forms development model when developing with ASP.NET. Noteworthy frameworks designed for the platform include:

Base One Foundation Component Library (BFC) is RAD framework for building .NET database and distributed computing applications. DotNetNuke is an open-source solution that provides both a web application framework and a content management system that allows for advanced extensibility through modules, skins, and providers. Castle MonoRail, an open-source MVC framework with an execution model similar to Ruby on Rails. The framework is commonly used with Castle ActiveRecord, an ORM layer built on NHibernate.

Versions ASP.NET's release history tightly correlates with the .NET Framework releases:

Other implementations The Mono Project supports "everything in .NET 4.7 except WPF, WWF, and with limited WCF and limited ASP.NET async stack." ASP.NET can be run with Mono using one of three options: Apache hosting using the mod_mono module, FastCGI hosting, and XSP.

References

External links

Official website ASP.NET on MSDN Some of new features in ASP.NET 4 and vs 2010 IDE Archived 2018-12-25 at the Wayback Machine

Illustrations

ASP.NET illustration
ASP.NET: ASP.NET integration with IIS
ASP.NET integration with IIS

Worked examples

Example 1 — a first encounter with ASP.NET

Start with the simplest possible case. Write down what ASP.NET claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to ASP.NET before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about ASP.NET ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of ASP.NET

In research
ASP.NET appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses ASP.NET in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
ASP.NET is common in secondary-school and first-year university syllabi. It links to neighbouring topics 2002 software, ASP.NET, Microsoft Visual Studio, so understanding it makes those chapters shorter.
In everyday life
Look for ASP.NET outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “ASP.NET” →

How to study ASP.NET in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what ASP.NET means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain ASP.NET out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is ASP.NET in simple terms?

ASP.NET is a server-side web-application framework designed for web development to produce dynamic web pages. It was developed by Microsoft to allow programmers to build dynamic web sites, applications and services.

Why does ASP.NET matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study ASP.NET?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on ASP.NET.

Tags

  • 2002 software
  • ASP.NET
  • Microsoft Visual Studio
  • Microsoft application programming interfaces
  • Microsoft free software
  • Software using the Apache license
  • Template engines
  • Web frameworks

Keep exploring