LIGHT UP THE WEB using SilverLight

Silverlight is a cross-browser, cross-platform plug-in for delivering the next generation of Microsoft .NET–based media experiences and rich interactive applications for the Web.

Click here to experience the Silverlight based web application really awesome tool from Microsoft.I am sure you will all get delighted once see this site.

Please make sure to download and install the Microsoft Silverlight beta version before running the website.

DinnerNow.net A fantastic fusion of .NET 3.0 Technologies

Yesterday night I saw an interesting video from Microsoft which showcase the usage of several technologies including: IIS7, ASP.NET Ajax Extensions, Linq, Windows Communication Foundation, Windows Workflow Foundation, Windows Presentation Foundation, Windows Powershell, and the .NET Compact Framework.

I believe at the end of seeing this video you all guys will understand how fast the technologies are growing up and how fast you need to hurry up to fit yourself.

DinnerNow is a fictious marketplace where customers can order food from local restaurants for delivery to their home or office. This sample is designed to demonstrate how you can develop a connected application using several new Microsoft technologies.

Click here to view the video of this interesting application where you can understand how all the latest technologies are used by Microsoft Developers in this application.

The DinnerNow sample application is available for download. You can download the entire DinnerNow sample code from CodePlex.

The DinnerNow sample application was developed by several individuals from the Microsoft Developer & Platform Evangelism group.

Indigo a new flavour from Microsoft

Indigo is the managed communication stack that will ship with WinFX. It is the “V.Next” for ASP.NET Web Methods, .NET Remoting, Enterprise Services, System.Messaging, and WSE.

Indigo integrates many advanced Web services technologies — some standards, some in draft form — with Microsoft’s platform and tools. Indigo is Microsoft technology that delivers on its implementation of secure, reliable Web services. Microsoft’s overwhelming dominance in desktop operating systems means that Indigo will automatically have an enormous impact, jump-starting a new generation of Web services-enabled applications and expanding the possibilities of service-oriented architectures. Indigo will be used in both the enterprise and consumer markets, but the consumer market will feel the first strong impact. Consumer acceptance will then drive enterprise adoption — part of a growing trend that Gartner has identified as the “consumerization” of IT.

Indigo is built on and extends Microsoft’s .NET technologies, and it could also become part of the next-generation Internet infrastructure — essentially becoming an enterprise service bus, in which the “enterprise” is the Internet. However, Microsoft could not achieve this without partnerships and further standards efforts.

Indigo uses the core established Web service specifications SOAP (Simple Object Access Protocol) and WSDL (Web Services Description Language), and will use other key specifications now under development, including WS-ReliableMessaging, WS-Addressing and security specifications, to ensure composeable development and rapid application runtime. Some of these have not yet been agreed to by all vendors, and this move represents part of Microsoft’s efforts to establish them in the marketplace. Indigo also introduces a way to make XML (Extensible Markup Language) transport more efficient by using binary representation within the Indigo system. This will enable better performance and a unified programming model that reaches from a single system to the entire Internet. 

Modifying App_GlobalResources

To modify the resources file programmatically using C# there are several techniques one of the technique is using XML.

Basically the XML format of a resource file will be like:

<data name=”Language” xml:space=”preserve”>
    <value>Language</value>
</data>
<data>name=”Language_Name” xml:space=”preserve”>
    <value>US-English</value>
</data>
data name=”Welcome” xml:space=”preserve”>
    <value>Welcome</value>
</data>

Taking this part of the resource file and do editing. To read a resource file we need ResXResourceReader Class. To add this System.Windows.Forms assembly of this class, we add a code part in web.config file.
<assemblies />
     <add assembly=”System.Windows.Forms,
    Version=2.0.0.0, Culture=neutral,
    PublicKeyToken=B77A5C561934E089″ />
</assemblies />

To read the resource file keys

  string filename = Request.PhysicalApplicationPath + App_GlobalResources\\resource.resx” + 

            Stream stream = new FileStream(filename, FileMode.Open, FileAccess.Read, FileShare.Read);
            ResXResourceReader RrX = new ResXResourceReader(stream);
            IDictionaryEnumerator RrEn = RrX.GetEnumerator();
            SortedList slist = new SortedList();
            while (RrEn.MoveNext())
            {
                slist.Add(RrEn.Key, RrEn.Value);
            }
            RrX.Close();
            stream.Dispose();

Update the resource file

filename = Request.PhysicalApplicationPath + App_GlobalResources\\” + filename;
        XmlDocument xmlDoc = new XmlDocument();
        xmlDoc.Load(filename);
        XmlNodeList nlist = xmlDoc.GetElementsByTagName(“
data);
        XmlNode childnode = nlist.Item(id);
        childnode.Attributes[“
xml:space].Value = “default;              
        xmlDoc.Save(filename);
        XmlNode lastnode = childnode.SelectSingleNode(“
value);
        lastnode.InnerText = txtResourceValue.Text;
        xmlDoc.Save(filename);

‘Package This’ a new GUI Tool from Microsoft

One more  good tool for creating help files.

This created by the MSDN development team which allows you to choose documentation sets from the MSDN Library to save as HXS or CHM format files. Simply select nodes in the MSDN Library Tree View to package as your own local mini-library, or to build into your own library. It supports Multiple languages as well.

What It Does

Package This is a GUI tool written in C# for creating help files (.chm and .hxs) from the content obtained from the MSDN Library via the MSDN Content Service. You select the content you want from the table of contents, build a help file, and use the content offline. You are making personalized ebooks of MSDN content. Both help file formats also give full text search and keyword search.

The code illustrates how to use the MSDN Content Service to retrieve documentation from MSDN. It also shows how to build .hxs files and .chm files programmatically.
 

This can be obtained from obtained from the MSDN Library via the MSDN Content Service.

http://services.msdn.microsoft.com/ContentServices/ContentService.asmx

Enjoy!!!