NinethSense oWnZ mE!: Praveen’s drawing book

Choose a Topic:

Tue
3
Jun '08

A simple ISAPI extension with C#

 
using System;
 
namespace ConsoleApplication1
{
    class Program
    {
         static void Main(string[] args)
        {
                 Console.Write(“Content-type: text/html\n\n);
                 Console.Write(“Hello World!”);
        }
    }
}
 


After the build-ing, you will get an executable file. If you try to execute it from console, you will see some text printed out - inluding a ‘hello world!’.

Now the configuration part :)

1. Invoke your IIS - Internet Information Services.
2. On the website, click right button -> Properties
3. Home Directory Tab
4. Configuration Button. ‘Applicaiton Window’
5. Click ‘Add’
6. Now you point your new exe file and give your own extension
7. done :)
8. For testing, create a dummy file with the extension you provided. (content can be anything or empty file)
9. Call it from your browser - like http://localhost/test.cgix
10. You should see ‘Hello World!’ :)




Note: This is not a standard ISAPI extension. Miles to go …
'

Parallel Extensions to the .NET Framework 3.5 has been released

Parallel Extensions simplifies development by providing library-based support for introducing concurrency into applications written with any .NET language, including C# and Visual Basic. It includes the Task Parallel Library (TPL), which provides imperative data and task parallelism; Parallel LINQ (PLINQ), which provides declarative data parallelism; and all new Coordination Data Structures (CDS), which provide support for work coordination and managing shared state.


Download URL: http://www.microsoft.com/downloads/details.aspx?FamilyId=348F73FD-593D-4B3C-B055-694C50D2B0F3&displaylang=en


The library is made up of the following components:
  • The Task Parallel Library (TPL), which provides support for imperative data and task parallelism.
  • Parallel LINQ (PLINQ), which provides support for declarative data parallelism.
  • Coordination Data Structures (CDS), which provide support for work coordination and managing shared state.
  • '

    Parallel Computing Development Center

    Microsoft’s Parallel Computing developer center is dedicated to providing information, ideas, community, and technology to developers to make it easier to write programs that perform and scale well on parallel hardware.

    URL: http://msdn.microsoft.com/hi-in/concurrency/default(en-us).aspx
    The CodeProject Microsoft Developer Network Official ASP.NET Forums Microsoft .NET Framework Community Microsoft Most Valuable Professional Kidoos forums Microsoft Visual Studio Developer Home Professional Information Technology Solutions Microsoft Research Home Kerala Microsoft Users Group Community Website