Saturday, 28 April 2012

2 Minute Visual Studio 11 Beta Demo from Dev Week

The type 'System.IO.Packaging.Package' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase'.

While i was working with the Open XML SDK 2.0, after i added the reference of  DocumentFormat.OpemXml  assembly and i build the Application I ran into this Error Message.


The type 'System.IO.Packaging.Package' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'


Just add another reference to WindowsBase assembly that is found in the .NET Tab.


File Name Gets Truncated When Downloading The File Using Mozilla Firefox

Solved the Firefox Space problem. Surround your FileName with quotes.

You can Change the Code like this.


HttpContext.Current.Response.AddHeader("Content-Disposition", "attachment; filename=" & """Month wise Employee Details" & "" & file.Extension)

HttpContext.Current.Response.ContentType = type
Response.TransmitFile(filename)
Response.End()



Friday, 27 April 2012

MUGH Windows Azure Boot Camp


MUGH is happy to announce first of its kind “Community Windows Azure Boot Camp”. These community boot-camps are totally FREE - for the community, by the community.

Agenda:
  • Welcome
  • Cloud computing and Windows Azure
  • Basic Roles
  • Advanced Roles
  • Storage Basics
    • Storing data with Azure Tables
    • Storing data with Blobs
    • Messaging with queues

Speaker: Phani Tipparaju
Phani Tipparaju is a Consulting Architect and co-founder of BrainScale consulting where he focuses on helping various customers with their architecture, design efforts and mentoring of developers. He regularly speaks at Hyderabad and Bangalore user group events. Besides architecting applications he is very focused on Azure and VS ALM. He is also an instructor with Pluralsight and helps with their on-demand sales in India. He blogs at - AllThingsAzure.com



Register @ http://mughwindowsazure.eventbrite.com/


Date: Saturday, May 5, 2012
Time: 9:30 AM - 5:00 PM


Venue:
Microsoft Office
Road No. 36, Jubliee Hills,
Hyderabad, Andhra Pradesh, India


Note:
  1. These sessions will be accompanied by Hands on labs
  2. Only candidates with laptops and data card (for internet) should enroll for this
  3. You should have minimum of 2 years of work experience (in .Net/ windows platform)
  4. Attendees should also have credit cards. This is for Azure sign-up (the credit card is only for sign-up, it won’t be charged)
  5. The list of software will be sent to registered candidates two days before the boot-camp day
  6. Lunch, Tea/ Coffee will be provided





Monday, 23 April 2012

How to Enable IE 8 Compatibility View for your whole Web site or for specific Web site directories

With the release of  Internet Explorer 9, many Customer sites suddenly had rendering Errors and Problems displaying the site correctly.

In order to avoid Expensive and time consuming corrections Internet Explorer 9 has a new functionality called Compatibility View which enables the Browser to Emulate IE8.

Web Developers and site Administrators can configure IIS and their Sites to tell IE 9 to Automatically Emulate IE 8 when they visit their sites  or Just specific Web Pages.

This is done Automatically by adding a custom HTTP Header to IIS and the Website web.config or to add a Meta Tag to Specific Pages.

The HTTP Header is interpreted by IE which will activate the Compatibility View and all other browsers will simply ignore this HTTP Header.

Here is Steps to do in IIS 7.5

1. Start s IIS Manager to do this, click Start, Click on Run ,type inetmgr, and then click OK.
2.Under Connections ,double-click the Server that you want, and then double-click Site.
3.Click the Web site,Where you want to add the custom HTTP Response Header.

4.Under  Website Name double-click on HTTP Response Headers in IIS Section.

5.Under Actions Actions ,Click Add.
6.In the Name box ,type X-UA-Compatible.

7.In the Value box, type IE=EmulateIE8.
8.Click OK.


How Add the custom HTTP response header in the Web.config file

    To add this header to the Web.config file, create or revise the Web.config file as follows.
<?xml version="1.0" encoding="utf-8"?>
  <configuration>
     <system.webServer>
           <httpProtocol> 
               <customHeaders> 
                    <clear /> 
                    <add name="X-UA-Compatible" value="IE=EmulateIE8" /> 
               </customHeaders> 
           </httpProtocol> 
     </system.webServer> 
  </configuration>
Note Add this new or revised Web.config file to each Web directory in which you want to use compatibility mode.

Resources:
 

Why are some webpages blank or incorrectly displayed in Internet Explorer?

Internet Explorer 9 Compatibility View


Wednesday, 11 April 2012

Developer Conference 2012


Developer Conference 2012 

Developer Conference 2012 

Saturday, April 21, 2012 at 8:30 AM (GMT+0530)

Hyderabad, India

Agenda & Details Will be published soon. Watch out this space for more details.
 

  Register