ArticleslgStudy

computer science

.NET Compact Framework

.NET Compact Framework 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 .NET Compact Framework rather than just read about it. In short: The Microsoft .NET Compact Framework (.NET CF) is a version of the .NET Framework originally designed to run on resource constrained mobile/embedded devices such as personal digital assistants (PDAs), mobile phones, factory controllers, set-top boxes, etc. The .NET Compact Framework uses some of the same class libraries as the full .NET Framework and also a few libraries designed specifically for mobile devices such…

Key takeaways

  • .NET Compact Framework 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 .NET Compact Framework to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of .NET Compact Framework from memory before moving on to harder problems.

Reference excerpt

The Microsoft .NET Compact Framework (.NET CF) is a version of the .NET Framework originally designed to run on resource constrained mobile/embedded devices such as personal digital assistants (PDAs), mobile phones, factory controllers, set-top boxes, etc. The .NET Compact Framework uses some of the same class libraries as the full .NET Framework and also a few libraries designed specifically for mobile devices such as .NET Compact Framework controls. However, the libraries are not exact copies of the .NET Framework; they are scaled down to use less space.

Development It is possible to develop applications that use the .NET Compact Framework in Visual Studio .NET 2003, in Visual Studio 2005 and in Visual Studio 2008, in C# or Visual Basic .NET. Applications developed with Basic4ppc are also eventually compiled for the .NET CF. The resulting applications are designed to run on a special, mobile-device, high performance JIT compiler. The Microsoft .NET Compact Framework 3.5 Redistributable contains the common language runtime and class libraries built for the .NET Compact Framework. In addition to version 3.5 support, it also supports applications developed for version 1.0 and 2.0. The .NET Compact Framework 3.5 provides new features such as Windows Communication Foundation, LINQ, SoundPlayer, new runtime tool support, and many other features. The UI development is based on Windows Forms which is also available on the desktop version of the .NET Framework. User interfaces can easily be created with Visual Studio by placing .NET Compact Framework controls like buttons, text boxes, etc. on the forms. Also features like data binding are available for the .NET CF. A major disadvantage of the UI development is that modern looking applications with support for finger-based touch screen interaction are not that easy to implement. This is mainly due to the desktop-oriented user interface concept on which Windows Forms is based, although some third party libraries with custom controls for this purpose are available.

Deployment To be able to run applications powered by the .NET Compact Framework, the platform must support the Microsoft .NET Compact Framework runtime. Some operating systems which do include .NET CF are Windows CE 4.1, Microsoft Pocket PC, Microsoft Pocket PC 2002, Smartphone 2003, and Symbian v3. .NET Compact Framework applications can be run on desktop computers with the full .NET Framework as long as they only access the shared parts of both frameworks, though their user interface cannot be upgraded to look like that of an application developed for desktop PCs. A version of the .NET Compact Framework is also available for the Xbox 360 console. While it features the same runtime as the regular .NET CF, only a subset of the class library is available. This version is used by XNA Framework to run managed games on the console. There are other limitations as well, such as the number of threads being limited to 256. Unlike other versions of .NET CF, the Xbox 360 version allows setting processor affinity to threads created. The threads are scheduled among four concurrent threads running on the multiple processor cores of the system.

Release history

See also .NET Compact Framework controls .NET Framework .NET Micro Framework Windows CE Windows Mobile

References

External links .NET Compact Framework

Worked examples

Example 1 — a first encounter with .NET Compact Framework

Start with the simplest possible case. Write down what .NET Compact Framework 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 .NET Compact Framework 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 .NET Compact Framework 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 .NET Compact Framework

In research
.NET Compact Framework 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 .NET Compact Framework 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
.NET Compact Framework is common in secondary-school and first-year university syllabi. It links to neighbouring topics .NET Framework implementations, 2002 software, Windows CE, so understanding it makes those chapters shorter.
In everyday life
Look for .NET Compact Framework 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 “.NET Compact Framework” →

How to study .NET Compact Framework in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what .NET Compact Framework 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 .NET Compact Framework out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is .NET Compact Framework in simple terms?

The Microsoft .NET Compact Framework (.NET CF) is a version of the .NET Framework originally designed to run on resource constrained mobile/embedded devices such as personal digital assistants (PDAs), mobile phones, factory controllers, set-top boxes, etc. The .NET Compact Framework uses some of th…

Why does .NET Compact Framework 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 .NET Compact Framework?

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 .NET Compact Framework.

Tags

  • .NET Framework implementations
  • 2002 software
  • Windows CE
  • Windows Mobile

Keep exploring