Saturday, December 7, 2013

How to fix Session Cookie Problems in IE11

Problem

We had built website in MVC3 before 1 year and deployed on IIS 6. It was tested with all browsers like IE (7,8,9,10), Firefox and Google Chrome. All function are running perfectly.

Yesterday we noticed weird problem with IE 11. User can't login to site on IE 11. Then again we checked with all browsers but this problems is occurred with IE 11 only.

After goggling and reads blogs we find solution for same. We changed below source in web.config

Solution

<authentication mode="Forms">
  <forms loginUrl="~/YourLoginUrl" timeout="2880" cookieless="UseCookies" />
</authentication>

We have add cookieless="UseCookies" to forms tag and problems is resolved.


We like to know Why it is happened?


The problem rests with some IIS instances thinking that IE11 is a cookieless browser (i.e. cant support cookies). In our problem case the server was setting the authentication cookie and sending it back to the browser, but was then ignoring the cookie on subsequent requests.

The solution is to either patch the browser capabilities so that it knows IE11 can do cookies (outlined in another answer on this page), or change the default behavior to force it to use cookies even if it thinks the browser can’t do cookies.

So, We need to just added the following to our forms section in web.config:
cookieless="UseCookies"



Reference : 

Wednesday, January 11, 2012

XamlPadX 4.0 : Awesome Free Tool For XMAL

XamlPadX 4.0 is awesome tool for XMAL editor for WPF/Silverlight. XamlPadX has features as per bellow.
  • Menus have been rearranged to maximize the space.
  • Basic Control predefined styles sample code
  • Command Interpreter for  syntax help
  • Addins: 
    • Clipboard viewer - which works well for analyzing rtf/xaml ... 
    • Path Designer/Jasema
    • Color Picker
  • Snapshot utility to take snapshots and save the XAML rendering
  • Syntax highlighting and collapsing
  • Error logs - left bottom corner has a link to the stack trace when there is an error
  • Error light - editor has a red/green box at the bottom right corner
  • Bug fixes/code restructuring
     
    Download/Install: XamlpadX [On Vista, save to desktop, right click and Run as Admin]
    Zipped file in case you have problem downloading the installable:Click here

Monday, January 9, 2012

8 Reasons for Develop Windows 8 Application


Jensen Harris explains what should take care to develop "Metro Application" for windows 8. Hear how the UI was designed to work seamlessly with a diversity of devices and form factors. Go behind the scenes and learn all about the new app model that allows you to create powerful new apps. All while retaining the ability to use your existing apps. Web-connected and web-powered apps built using HTML5 and JavaScript have access to the power of the PC. Touch-optimized browsing, with the full power of hardware-accelerated Internet Explorer 10 transforms your experiences with the web. BUILD is the first place to dive deep into the future of Windows.

The reasons for develop windows are as per bellow.
  • Metro design style
  • Fast and Fluid
  • Snap and scale beautiful
  • Use the right contracts
  • Invest in great tile
  • Feel connected and live
  • Roam to the cloud
  • Embrace metro principals
     

Saturday, January 7, 2012

What's New in the .NET Framework 4.5 Developer Preview

This topic contains information about key features and improvements in the .NET Framework 4.5 Developer Preview. This topic does not provide comprehensive information and is subject to change.

New features and improvements are described as per bellow.

.NET for Metro style apps

Metro style apps are designed for specific form factors and leverage the power of the Windows operating system. A subset of the .NET Framework is available for building Metro style apps for Windows using C# or Visual Basic. This subset is called .NET APIs for Metro style apps. For more information about this subset.

Core New Features and Improvements

The following features and improvements were added to the common language runtime and to .NET Framework classes:
  • Ability to limit how long the regular expression engine will attempt to resolve a regular expression before it times out.
  • Ability to define the culture for an application domain.
  • Console support for Unicode (UTF-16) encoding.
  • Support for versioning of cultural string ordering and comparison data.
  • Better performance when retrieving resources.
  • Zip compression improvements to reduce the size of a compressed file.
  • Ability to customize a reflection context to override default reflection behavior through the CustomReflectionContext class.

Friday, January 6, 2012

Project “Crescent”

Crescent is interactively visualizing data, quickly analytical insights, and generally having fun with data!

Crescent is reporting services’ new tool targeted at data consumers to visually explore their data, answer ad-hoc questions with ease, and to present and collaborate with others in a SharePoint environment. Crescent is a thin browser experience and is working against a BI Semantic Model. BI Semantic Model is available on the client through the Excel-based Power Pivot modeling tool, or on the server through Analysis Services Tabular project with Denali CTP3.
  • Self Service Alerting 
  • SharePoint Shared Service 
  • Excel rendering as XLSX, Word rendering as DOCX  
  • BI Development Studio integrated in Visual Studio 2010  





Not only did we adopt the Visual Studio 2010 shell for BI Development Studio for report design, but we also re-architected our integration with Visual Studio in general for RDLC designer and report viewer controls. This will be available with the upcoming next version of Visual Studio and enable much more simultaneous availability of SQL Server Reporting Services functionality in Visual Studio as well.

The feature pack for SQL Server “Denali” CTP3 is available here.

References

Wednesday, January 4, 2012

In WPF getting error -"specified element is already the logical child of another element. disconnect it first."


→ I have found this error at the time of using datagrid. I have one condition to set visibility of the particular datagrid column.

→ I have used the following ColumnTemplate in the Grid.

  
→ Here, I was using Directly writing Content in the Header , so after set visibility Collapsed to Visible or vice versa for the particular colums, I was getting this error.

→ I have found the solution that , define the Template for the header instead of direct content as below. The Problem has been resolved by this.


Friday, November 18, 2011

Google Music - Set your music free (For USA Only)

Google announced now, Google user can purchase songs online and share their song on Android phones or Google Music Locker.






Google Music Locker

Google music locker is free Google Music account. You must set up your  Google Music Account before buying any music. User can create their Google music account at music.google.com or you can sign in to Google Music with your Gmail address. Now you can download and manage your music collection. Google also provide music manager software for your android mobile or tablet.
A sample Google Music Locker


Right now, Google sets limit to storing only 20,000 songs in your Google Music locker. Songs kept in your locker will be available to stream or download to all your devices and computers that use the same Gmail account.