Multithreading is a important feature of .NET, which was not there in Visual Basic.
If u want to use Multithreading, import a namespace called as System.Threading.In this namespace there are many classes related to it like Mutex,....
IL is a intermediate language, which is created when you compile the .net program. This is also a object oriented language. This makes cross language inheritance.
C# is a new OOPs language which is developed by Microsoft. This language gives flexibility, mordern, easy to use.
c# is one of the programming language defined as "Type safe version of c with oops" developed by Microsoft corporation.
IL(Intermediate Language) is a code which can be converted by .net to support the cross language support.
(That is whatever the language like c#, vb, c++,j# is used to program in .net that code is converted into IL which is common for all .net platform supporting languages before the execution, it supports the cross language support in .net platform)
Satellite assemblies are often used to deploy language-specific resources for an application. These language-specific assemblies work in side-by-side execution because the application has a separate product ID for each language and installs satellite assemblies in a language-specific subdirectory for each language. When uninstalling, the application removes only the satellite assemblies associated with a given language and .NET Framework version. No core .NET Framework files are removed unless the last language for that .NET Framework version is being removed
Goto command prompt Ist you have to set the path and type csc /t:library filename then you will be created assembly which will stored in the application directory.
for ex. i have file with hello.cs
i used to csc /t:library hello.cs
then it became hello.dll. stored in the application directory.
NET allows to call System.Windows.Forms.Control functions only from thread where control was created. To run them from other thread we need to use Control.Invoke (synchronous call) or Control.BeginInvoke (asynchronous call) functions. For task like showing database records we need Invoke. To implement this :Delegate type for calling form function, delegate instance and function called using this delegate Invoke call from worker thread. Next problem is to stop worker thread correctly. Steps to do this:Set event "Stop Thread" Wait for event "Thread is stopped" While waiting for event process messages using Application.DoEvents function. This prevents deadlock because worker thread makes Invoke calls which are processed in main thread. Thread function checks in every iteration whether Stop Thread event is set. If event is set, function makes clean-up operations, sets event "Thread is stopped" and returns.
Basically there are two ways by which you can enable tracing.
i. page label ii.application label.
For page label tracing in the page directive write the following
and if you want show some message then either wrire trace.write(message) or trace.warn(some warning message)
note that trace.warn will show the message in red color.
TextWriterListener will redirect the tracing output to an instance of the TextWriter or to any object of stream class such as log file, network stram or Console.
Threads are processed differently depending on IIS5. or IIS 6 is used. For each request that comes in, a new instance of the appropriate HttpApplication-derived class is created, as are the associated modules for that app. To avoid reallocating apps and modules too often, each AppDomain maintains a pool of apps and modules. The maximum size of the app pool is the same as the size of the thread pool, so by default, up to 25 requests per worker process can be processed concurrently, each with its own app and module set.
1. ASP.NET Web applications: These include dynamic and data driven browser based applications.
2. Windows Form based applications: These refer to traditional rich client applications.
3. Console applications: These refer to traditional DOS kind of applications like batch scripts.
4. Component Libraries: This refers to components that typically encapsulate some business logic.
5. Windows Custom Controls: As with traditional ActiveX controls, you can develop your own windows controls.
6. Web Custom Controls: The concept of custom controls can be extended to web applications allowing code reuse and modularization.
7. Web services: They are ?web callable? functionality available via industry standards like HTTP, XML and SOAP.
8. Windows Services: They refer to applications that run as services in the background. They can be configured to start automatically when the system boots up.
Identity permissions control code access from one assembly to another. You can use identity permissions, which are a subset of code access permissions, either declaratively or imperatively
CAS is a part of .NET security model that determines whether a piece of code is allowed to run and what resources it can use while running,eg:CAS will allow a application to be read but cannot delete it.