Skip to main content

Adding Context Awareness to C#

  • Conference paper
Book cover Smart Sensing and Context (EuroSSC 2006)

Part of the book series: Lecture Notes in Computer Science ((LNCCN,volume 4272))

Included in the following conference series:

Abstract

In this paper, we propose a context-aware extension of the C# programming language. Bringing the context-awareness at the level of the programming language constructs comes with the advantage of lowering the effort required to specify the contextual polymorphic behavior of the applications. The application developer is released, at a great extent, from the responsibility of managing the context-awareness without reducing the programmer’s ability to express the context-dependent behavior. In order to insert context-awareness into the C# programming language we have extended the programming language constructs (i.e. constant, variable, function, object) with context awareness. We have also provided language constructs for dealing with the context model.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Chen, G., Kotz, D.: A Survey of Context-Aware Mobile Computing Research. Technical Report TR2000-381, Computer Science Dartmouth College (2000)

    Google Scholar 

  2. Costanza, P., Hirschfeld, R.: Language Constructs for Context-oriented Programming - An Overview of ContextL. In: Dynamic Languages Symposium (at OOPSLA 2005) (2005)

    Google Scholar 

  3. Gu, T., Pung, H.K., Zhang, D.Q.: A Service-oriented middleware for building context-aware services. Journal of network and computer applications 28(1), 1–18 (2005)

    Article  Google Scholar 

  4. Keays, R., Rakotonirainy, A.: Context-oriented Programming. In: Proceedings of the International Workshop on Data Engineering for Wireless and Mobile Access (2003)

    Google Scholar 

  5. Kniesel, G.: Dynamic Object-Based Inheritance with Subtyping. PhD thesis, University of Bonn, Institute for Computer Science III (2000)

    Google Scholar 

  6. Korpip, P., Mntyjrvi, J., Kela, J., Kernen, H., Malm, E.-J.: Managing Context Information in Mobile Devices. IEEE Pervasive Computing Magazine special issue: Dealing with Uncertainty 2(3), 42–51 (2003)

    Google Scholar 

  7. Lieberman, H.: Using Prototypical Objects to Implement Shared Behavior in Object Oriented Systems. In: Proceedings of OOPSLA, vol. 6, pp. 214–223 (1986)

    Google Scholar 

  8. Mostfaoui, G.K., Pasquier-Rocha, J., Brezillon, P.: Context-Aware Computing: A Guide for the Pervasive Computing Community. In: Proceedings of the 2004 IEEE International Conference on Pervasive Services (ICPS 2004), pp. 39–48 (2004)

    Google Scholar 

  9. Oh, Y., Woo, W.: A Unified Application Service Model for ubiHome by Exploiting Intelligent Context-Awareness. In: Murakami, H., Nakashima, H., Tokuda, H., Yasumura, M. (eds.) UCS 2004. LNCS, vol. 3598, pp. 117–122. Springer, Heidelberg (2005)

    Chapter  Google Scholar 

  10. Keays, R.: Context-Oriented Programming. University of Queensland (2002)

    Google Scholar 

  11. Roman, M., Hess, C., Cerqueira, R., Ranganathan, A., Campbell, R.H., Nahrstedt, K.: A Middleware Infrastructure for Active Spaces. IEEE Pervasive Computing 1(4), 74–83 (2002)

    Article  Google Scholar 

  12. Schilit, B.N., Theimer, M.: Disseminating active map information to mobile hosts. IEEE Network 8(5), 22–32 (1994)

    Article  Google Scholar 

  13. Shehzad, A., Ngo, H.Q., Pham, K.A., Lee, S.Y.: Formal Modeling in Context-Aware Systems. In: Proceedings of KI2004 Workshop on Modeling and Retrieval of Context, University of Ulm (2004)

    Google Scholar 

  14. Weiser, M.: The Computer for the 21st Century. Scientific American 265(3), 94–104 (1991)

    Article  Google Scholar 

  15. Yau, S.S., Karim, F.: An Adaptive Middleware for Context-Sensitive Communications for Real-Time Applications in Ubiquitous Computing Environment. Real-Time Systems 26(1), 29–61 (2004)

    Article  MATH  Google Scholar 

  16. May 2006, Available: http://www.antlr.org/

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Rarau, A., Salomie, I. (2006). Adding Context Awareness to C#. In: Havinga, P., Lijding, M., Meratnia, N., Wegdam, M. (eds) Smart Sensing and Context. EuroSSC 2006. Lecture Notes in Computer Science, vol 4272. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11907503_8

Download citation

  • DOI: https://doi.org/10.1007/11907503_8

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-47842-3

  • Online ISBN: 978-3-540-47845-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics