DOTNET
DOTNET
DOTNET
Introduction:
The DOT NET is a software framework. It is developed by Microsoft. It
includes a large library and also provides language inter-operability across some
programming languages. Language inter-operability refers the capability of two
different languages to interact and operate on the same kind of data structures.
Design Features of DOT NET Framework
• Interoperability
• Common Language Runtime engine (CLR)
• Language independence
• Base Class Library
• Simplified deployment
• Security
• Portability
Operators:
3) Object Oriented
C# is object oriented programming language. OOPs makes development and
maintenance easier where as in Procedure-oriented programming language it is not easy
to manage if code grows as project size grow.
4) Type Safe
C# type safe code can only access the memory location that it has permission to execute.
Therefore it improves a security of the program.
5) Interoperability
Interoperability process enables the C# programs to do almost anything that a native C++
application can do.
9) Rich Library
C# provides a lot of inbuilt functions that makes the development fast.
• In asp.net the
System.Web.Caching.Center class is
used to implement caching for a
web application.
• It is important to note that the
System.Web.Caching cache class
cannot be inheritied.
Property
• Count
• EffectivePercentagePhysicalMemoryLimit
• EffectivePrivateBytesLimit
• Item
• Count
Methods
• Add
• Get
• GetParameter
• Insert
• Remove
Output Caching
• File dependency
• Key dependency
• Sql dependency
• Data caching in .net is implemented by
the cache.class which is contained in the
system.web.caching namespace
cache["myvalue"]=value.
They are three main tasks:
cache.Insert("MyData", data,New
CacheDependency(server
.mappath("data.xml")));
• Retrieving data from cache
value=cache[“Myvalue"];