Welcome to AspAdvice Sign in | Join | Help

Received Microsoft Most Valuable Professional Award for 2012

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

Extracting Assemblies from a XAP File

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

Wishing You A Happy Colorful Holi

Hi All,

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

Thanks,

Joydip

Software Passion Summit 2012

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

Visual Studio 11 Coming Up!

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

Received the Microsoft Most Valuable Professional Award for 2011

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

My First Article at Simple-Talk is Now Live!

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 

Visual Studio Live is coming up soon (April 18-22) in Las Vegas

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 

Going to Kolkata (The City of Joy) for a while

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 

Declarative Data Parallelism Using Parallel LINQ

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

Visual Studio 2010 and .NET 4 Six-in-One (Wrox)

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

My 75th Article at SSWUG is now live!

Hello Friends,

Sorry for the late post. My 75th article (New Features in Entity Framework 4) at www.sswug.org is now live. Here’s the list of all the articles at www.sswug.org I have authored:

1.  New Features in Entity Framework 4
2.  New Features in Silverlight 4 - Part 2
3.  New Features in Silverlight 4 - Part 1
4.  Working with Language Integrated Query in C# -[Part I]
5.  Static Methods and Thread Safety
6.  Introducing the ADO.NET Entity Framework
7.  Introduction to Windows Presentation Foundation
8.  Introducing the F# Programming Language
9.  The ASP.NET 2.0 Provider Model
10. New Features and Improvements in ASP.NET 3.5 andVisual Studio 2008 (Part II)
11. New Features and Improvements in ASP.NET 3.5 andVisual Studio 2008 (Part I)
12. Understanding Dispose and Finalize in C#
13. Working with Xml Files Using C#
14. Working with Windows Services in Microsoft .NET
15. Understanding Application Domains, Threads andProcesses
16. Introduction to Serialization [Part II]
17. Understanding Web Services [Part II]
18. Take advantage of Connection Pooling in ADO.NET
19. Understanding Response.Redirect, Server.Transferand Cross Page Postbacks
20. New Data Source Controls in ASP.NET
21. Using Http Compression through IIS
22. Business Process Management, Workflow and BusinessProcess Rules - a close look [Part II]
23. Business Process Management, Workflow andBusiness Process Rules a close look [Part I]
24. Tips for improving the response time of webpages
25. Fixes to PageRequestManagerParserErrorExceptionwhen using Ajax Update Panel
26. Tips for Improving ASP.NET ApplicationPerformance
27. Best practices of synchronizing threads
28. Re-throwing exceptions is expensive
29. Understanding Authentication, Authorization andImpersonation in ASP.NET (Part II)
30. Understanding Authentication, Authorization andImpersonation in ASP.NET (Part I)
31. Introducing Windows SharePoint Services
32. Understanding Microsoft Commerce Server (PartII)
33. Understanding Microsoft Commerce Server (Part I)
34. New Features in ADO.NET (Part III)
35. New Features in ADO.NET (Part II)
36. New Features in ADO.NET 2.0 (Part I)
37. Understanding Microsoft BizTalk Server (Part II)
38. Understanding Microsoft BizTalk Server (Part I)
39. Handling Concurrency issues in ADO.NET (Part II)
40. Handling Concurrency issues in ADO.NET (Part I)
41. Understanding Software Testing (Part III)
42. Understanding Software Testing (Part II)
43. Understanding Software Testing (Part I)
44. Understanding the SDLC Phases of a SoftwareProject [Part III]
45. Understanding the SDLC phases of a SoftwareProject [Part II]
46. Understanding the SDLC Phases of a SoftwareProject [Part I]
47. Understanding Windows Share Point Services
48. An Introduction to DotNetNuke
49. Understanding Asynchronous Javascript and XML(AJAX)
50. Risk Management -- Prevention is better thancure [Part II]
51. Risk Management -- Prevention is better thancure [Part I]
52. Understanding Windows Management Instrumentation
53. Understanding the Mono Framework
54. Understanding Software Requirements Management
55. Remoting in .NET [Part II]
56. New Features in ASP.NET 2.0
57. Introducing Software Process Models [Part II]
58. Introducing Software Process Models [Part I]
59. Working with Resource files and SatelliteAssemblies in Microsoft .NET
60. Understanding Web Services [Part I]
61. Introducing ADO.NET Transactions
62. Service Oriented Architecture [Part II]
63. Garbage Collection in Microsoft.NET
64. Solidify your applications using Design Patterns[Part I]
65. Best Practices of Exception Handling
66. Understanding Service Oriented Architecture[Part I]
67. Abstract Classes Vs. Interfaces
68. Efficient String Operations in C#
69. Assemblies—The building blocks of Microsoft .NETframework [Part II]
70. Assemblies—The building blocks of Microsoft .NETframework [Part I]
71. Remoting in Microsoft .NET [Part I]
72. State Management in ASP.NET Part II
73. Introduction to Serialization in Microsoft .NET(Part I)
74. Value and Reference Types in .Net
75. State Management in ASP.NET (Part I)

Thanks,

Joydip

My First Article at MSDN - "Creating Synchronization Providers With The Sync Framework"

Hi Friends,

My first article at MSDN is now live. Here's the link: http://msdn.microsoft.com/en-us/magazine/ff872391.aspx

Please send in your comments.

Regards,

Joydip

Declarative WCF Services using .NET 4.0

Hello Friends,

I just came across a great article by Thiru Thangarathinam on Declarative WCF Services using .NET 4.0. Here's the link to the article: http://www.devx.com/dotnet/Article/42367/1954

I am a big fan of declarative programming and would now like to write a few articles on handling complex operations using declarative programming in WCF soon. I would post the links to those articles here as well.

Stay tuned!

Thanks,

Joydip

Wenlong Dong's blog - A great blog for WCF

Hello Friends,

I was going through Wenlong Dong's blog while browsing the internet for WCF stuff. I could find some great posts on WCF there. Here is the link: http://blogs.msdn.com/wenlong/default.aspx

Thanks,

Joydip

More Posts Next page »