Welcome to AspAdvice Sign in | Join | Help
Hello All,

I wish all my friends, students and well wishers a Very Happy and Prosperous New Year. May All Your Unrealized Dreams Come True. Happy New Year!

Regards,

Joydip

Hi All,

Just to let you know that I have cleared the Brainbench certification tests in  .NET Framework 4 and ASP.NET 4 today.

Cheers,

Joydip 

Hi Friends,

I wish you all a Very Happy and Safe Diwali.

Cheers,

Joydip 

Hi All, 

Packt Publishing brings to you an exciting choice of discounts for Microsoft books and e-books. To know more, visit this link: http://www.packtpub.com/news/packt-microsoft-carnival

Thanks,

Joydip 

Hello All,

I have been selected as Microsoft MVP for 2012. I was also selected as Microsoft MVP in 2007, 2008, 2009, 2010 and 2011. So, this time, it's my 6th Microsoft MVP Award in a row! My heartiest thanks to Microsoft for this award. My thanks to my friends, well wishers, students and my family members also for all the support I received from them.

Regards,

Joydip
A XAP file is just a Zip file that has a different extension. You can easily use libraries like SharpLib or DotNetZip to extract the contents of it. You can also manualy change the extension of a .xap file to .zip and then extract it in a folder. When extracted, you would get all the assemblies that were bundled as part of the .xap file. 

While exploring today on extracting assemblies from a .zap file, I came across this code snippet that can be used to extract assemblies from a XAP file:

public List<Assembly> ExtractAssembliesFromXap(Stream stream) {
        List<Assembly> assemblies = new List<Assembly>();

        string appManifest = new StreamReader(Application.GetResourceStream(
            new StreamResourceInfo(stream, null), new Uri("AppManifest.xaml",
                                       UriKind.Relative)).Stream).ReadToEnd();

        XElement deploy = XDocument.Parse(appManifest).Root;

        List<XElement> parts = (from assemblyParts in deploy.Elements().Elements()
                                select assemblyParts).ToList();

        foreach (XElement xe in parts) {
            string source = xe.Attribute("Source").Value;
            AssemblyPart asmPart = new AssemblyPart();
            StreamResourceInfo streamInfo = Application.GetResourceStream(
                 new StreamResourceInfo(stream, "application/binary"),
                 new Uri(source, UriKind.Relative));

            assemblies.Add(asmPart.Load(streamInfo.Stream));
        }
        return assemblies;
    }

This code is taken from this link: http://stackoverflow.com/questions/3801065/extract-assembly-from-all-the-dlls-inside-xap

Thanks,

Joydip
Hi All,

I wish all my readers, friends, well wishers and family members a Very Happy Colorful Holi.

Thanks,

Joydip
Hi All,

Watch out for Software Passion Summit 2012 scheduled for 19-20th March 2012 at the Clarion Hotel Post in Göteborg, Sweden. Here are the program details: http://softwarepassion.se/program.do

You can find the list of speakers here: http://softwarepassion.se/speakers.do

Thanks,

Joydip
Hi All,

The latest release of Microsoft's Visual Studio IDE is Visual Studio 11. It is to be released soon. Check out my article titled, "What's New in Visual Studio 11" that discusses the new features of this release. Here's the link to the article: http://drdobbs.com/windows/231903151

Please vote and let me know your thoughts.

Cheers,

Joydip
Hello Friends,

I have been selected as Microsoft MVP for 2011. I was also selected as Microsoft MVP in 2007, 2008, 2009 and 2010. So, this time, it's my 5th Microsoft MVP Award in a row! My heartiest thanks to Microsoft for selecting me again. My thanks to my friends, well wishers, students and family members for the continued support I received from them.

Regards,

Joydip

Hello Friends,

My first article at Simple-Talk is now live. Here's the link:http://www.simple-talk.com/content/article.aspx?article=1249

Please vote and let me know your thoughts.

Thanks,

Joydip 

Hello Friends,
 
Just to let you all know that Visual Studio Live is coming up soon. The event would be held from April 18th to April 20th 2011. Here's the link where you would get more information: http://www.vslive.com/lv

Visual Studio Live is an event that offers offers developers, programmers, software engineers and architects an unbiased blend of practical and immediately - applicable training in Visual Studio, Silverlight, WPF, .NET and more. It is a great event to get in touch with the rock stars of the Microsoft development team, the technology gurus and MVP community while participating in some hard core coding sessions. Are you planning to go? If so, you can register now at http://bit.ly/VSliveLVReg. 
 
Thanks,
 
Joydip 

Hello Friends,

I have been down with health issues for quite some time now. I would be flying to my home city (Kolkata) soon for a few days - need to visit a very reputed doctor there. I will be back soon. Till then, please do drop me mails at joydipkanjilal@yahoo.com if you need anything. Please excuse me if it takes me time to respond back to your mails. I will do all I can to respond to your mails as soon as I can.

Cheers,

Joydip 

Hello Friends,

My first ever article at Code Magazine is now live. Here's the link to the article: http://www.code-magazine.com/Article.aspx?quickid=112071

Please cast your votes!

Thanks,

Joydip

Hi Friends,

My latest book titled, "Visual Studio 2010 and .NET 4 Six-in-One" is now live!

Here is the link to the book at Amazon: http://www.amazon.com/Visual-Studio-2010-NET-Programmer/dp/0470499486/

Thanks,

Joydip

More Posts Next page »