Archive

Archive for the ‘Not CodeFluent Related :)’ Category

November 23rd 2012 Links: Visual Studio 2012, .NET 4.5, Office 2013, IE10, Windows 8, SQL Server 2012, TFS, TypeScript, Build

November 23, 2012 Leave a comment

Here is our new entry in our link-listing series:

 

Windows 8

Windows 8 launched
Windows 8 has been released.

Windows Phone 8 launched
Windows Phone 8 has been released.

Microsoft Design Language: The newest official way to refer to ‘Metro’
Microsoft Design Language is apparently the new term for the design first known as Metro…

 

Visual Studio 2012 / .NET 4.5

Visual Studio 2012 and .NET 4.5 Launched
Visual Studio 2012 and .NET 4.5 have been released.

Visual Studio 2012 Update 1 CTP 4
Microsoft released the final CTP of Visual Studio 2012 Update 1.

Productivity Power Tools 2012
Power Tools for Visual Studio 2012.

 

Office 2013

Office 2013 reaches RTM!
Office 2013 Family product reaches RTM! (Office 2013, Lync 2013, Exchange 2013, SharePoint 2013)

 

IE10

IE10: Fast, Fluid, Perfect for Touch, and Available Now for Windows 7
IE10 available for Windows 7.

 

SQL Server 2012

Announcing Microsoft SQL Server 2012 Service Pack 1 (SP1)
Updates and new capabilities for SQL Server 2012.

 

Software Development

TypeScript
Microsoft unveiled Anders Hejlsberg’s newest creation: TypeScript.

Team Foundation Service is Released
A version of Team Foundation Server hosted on Windows Azure.

Announcing the release of the .NET Framework for Windows Phone 8
.NET on Windows Phone 8

 

Miscellaneous

Windows head Steven Sinofsky leaves Microsoft
Microsoft executive Steven Sinofsky, in charge of Windows has left the company.

Microsoft To End Windows Live Messenger Service
Windows Live Messenger Service to be retired soon.

Build
The Build conference 2012.

 

 

Cheers,

Thibault Nestor

How to enable IE 9 compatibility mode for your website

September 28, 2012 3 comments

For each major release IE gains new features and brings its support to industry standards more closely. However it also increases risk that older websites may not display correctly.

As a matter of fact, playing with IE 10 Developer Preview we noticed some rendering errors on our documentation web pages. We fixed it using the compatibility mode feature introduced by IE 8. With the upcoming release of IE 10 many customer sites will fall into the same kind of problem so here is how to fix it:

We need to force the client browser to use the Compatibility View when they visit our site. This is done either at the webpage level by adding the following meta tag to the header of each webpage you want to use compatibility mode:

<head>
  <!-- Mimic Internet Explorer 9 -->
  <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9" >
  <title>My webpage</title>
</head>

 

or at the folder level by adding the following header to each Web.config file of each web directory you want to use compatibility mode:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <system.webServer>
    <httpProtocol>
      <customHeaders>
        <clear />
        <add name="X-UA-Compatible" value="IE=EmulateIE9" />
      </customHeaders>
    </httpProtocol>
  </system.webServer>
</configuration>

 

or at the website level by implementing the META Switch directly on IIS as follow:

To configure IIS 7 on a Windows Server 2008-based computer to include a custom HTTP response header:

  1. Click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.
  2. In the connections pane, expand the node for the server, and then expand .
  3. Click the Web site where you want to add the custom HTTP response header.
  4. In the Web site pane, double-click in the section.
  5. Under Actions, click Add.
  6. In the Name box, type X-UA-Compatible.
  7. In the Value box, type IE=EmulateIE9.
  8. Click OK.

To configure IIS 6 and earlier versions to include a custom HTTP response header:

  1. Click Start, click Run, type inetmgr.exe, and then click OK.
  2. Expand the server you want and then expand Web Sites.
  3. Right-click the Web site you want and then click Properties.
  4. Click the HTTP Headers tab.
  5. Under Custom HTTP headers, click Add.
  6. In the Custom header name box, type X-UA-Compatible.
  7. In the Custom header value box, typeIE=EmulateIE9.
  8. Click OK two times.

Note that all other browsers will simply ignore this custom HTTP Header. Also note that the compatibility mode set a the website level using your Web server can be overridden by setting a different compatibility mode at the web page level.

You can find more information here: Defining Document Compatibility.

Hope this helps.

Thibault NESTOR

September 26th 2012 Links: Visual Studio, Windows, SharePoint 2013, .NET 4.5, Roslyn, eBooks

September 26, 2012 Leave a comment

Here is our new entry in our link-listing series:

 

Visual Studio

Visual Studio 2012 released to the web

Visual Studio 2012 is available for download!

 

Windows 8

Windows 8 RTM is available for developers

Microsoft gives Windows 8 early access builds for developers.

 

Microsoft finally comes clean(er) on post-Metro naming plans

Microsoft is discontinuing its use of the term “Metro” used to describe the tiled user interface in Windows Phone and Windows 8. Its new name might be ‘Windows Store’.

 

Windows Server 2012

Windows Server 2012 is available

Windows Server 2012 is available!

 

SharePoint 2013

What’s Coming in SharePoint 2013

An updated user experience, some upgrades and I/O performance improvements, collaboration and social networking capabilities, better tagging, SkyDrive Pro replacing SharePoint workspaces and so on.

 

Dev

Announcing the release of .NET Framework 4.5 RTM – Product and Source Code

.NET Framework 4.5 is available as well as the reference source code under the Microsoft Reference Source License (MS-RSL). You’ll find improvements brought by this release and some guidelines to debug with the .NET Framework library reference source.

 

Roslyn September 2012 CTP is now available

Good work in progress!

 

Free eBooks

Programming Windows Phone 7

Microsoft Office 365: Connect and Collaborate Virtually Anywhere, Anytime

Large collection of Free Microsoft eBooks for you, including: SharePoint, Visual Studio, Windows Phone, Windows 8, Office 365, Office 2010, SQL Server 2012, Azure, and more.

Here is a compilation of a variety of free Microsoft eBooks including: SharePoint 2013, Office 2013, Office 365, Azure, Cloud, Windows Phone and so on. Enjoy!

 

Cheers,

Thibault Nestor

July 24th 2012 Links: Software development, Windows Azure, Office

July 24, 2012 Leave a comment

Here’s our new entry in our link-listing series:

 

Software Development

Is the laptop doomed?

Ahaha, we’re not quite there yet, but we sure are getting there Winking smile

 

Entity Framework now Open Source

Big news: The Entity Framework source code is today being released under an open source license (Apache 2.0), and the code repository is now hosted on CodePlex (using Git).

 

Monogame

MonoGame is an Open Source implementation of the Microsoft XNA 4 Framework. Its goal is to allow XNA developers on Xbox 360, Windows & Windows Phone to port their games to the iOS, Android, Mac OS X, Linux and Windows 8 Metro.  (PlayStation Mobile development is currently in progress.)

 

Windows Azure

SOSP Paper – Windows Azure Storage: A Highly Available Cloud Storage Service with Strong Consistency

Wow, that’s interesting: the paper describes how Microsoft provisions and scales out capacity within and across data centers via storage stamps, and how the storage location service is used to manage their stamps and storage accounts. Then it focuses on the details for the three different layers of the architecture within a stamp, why these layers, what their functionality is, how they work, and the two replication engines.

A must read!

 

Office

Microsoft’s new Office: The cloud finally takes center stage

A sneak peek of Office 2013 (a.k.a. Office 15)

 

Microsoft released new Office (Customer Preview)

The new Office is available online (preview).

 

Introducing “Napa” – Office 365 Development Tools

The Visual Studio team released a preview of a new toolset called “Napa”, which is, as they say, “the easiest way to start building apps for the new Cloud App Model”.

 

Hope this helps,

Carl Anderson

Setting-up Oracle Database for .NET development

July 13, 2012 Leave a comment

I recently had to set-up a new development environment for a .NET application consuming an Oracle Database and found out that it wasn’t that easy, so I thought I’d share how I did it.

 

Warranty

I’m just sharing my config and the way I did it.

SoftFluent cannot be held responsible if something goes wrong or does not work, and no support is provided. It’s neither official documentation nor the only way to do it, I’m just sharing my recipe Smile

 

Prerequisites

I downloaded and installed a free Oracle Database Express Edition.

The 11g Release 2 is available here: http://www.oracle.com/technetwork/products/express-edition/downloads/index.html

Yet, in this case I had to install a 10g in 32-bit which can’t be found on OTN anymore…..except on a Japanese OTN page?!!

If you need the Oracle Database 10g Express Edition (x86) as I did here’s the link: http://www.oracle.com/technetwork/jp/database/express-edition/downloads/102xewinsoft-089442-ja.html

 

Installing the Server

Nothing special here: install OracleXE.exe, keep everything by default:

  • installation directory: C:\oraclexe
  • default port: 1521
  • configure the SYS or SYSTEM account

Once installed, an administration web page should start. Check that everything runs fine, if so, you’re done, now let’s prepare it for the .NET world!

 

Installing OCI & ODP.NET

Oracle Call Interface (OCI) is the basic and compulsory method to access Oracle using a client. On top of OCI, we’ll need the Oracle Data Access Components (ODAC). Both OCI and ODAC are a set of dlls and that are shipped as a ZIP, available on Oracle’s web site (http://www.oracle.com/technetwork/database/windows/downloads/utilsoft-087491.html).

In my case I specifically needed the ODAC1110621Xcopy.zip, in your case just be careful to use an ODAC version matching your Oracle Database version and bitness.

Then here’s how I configured my environment:

  • I created a “C:\oracle” just like OracleXE did,
  • I extracted the content of my ODAC1110621Xcopy.zip archive in this directory,
  • I removed the path C:\oraclexe\app\oracle\product\10.2.0\server\bin” from my PATH environment variable…
  • …and added the “C:\oracle\instantclient_11_1” in the PATH so my OCI dlls are used,
  • I copied the Oracle.DataAccess.dll that is in “C:\oracle\odp.net20\odp.net\bin\2.x\” in “C:\oracle\instantclient_11_1”,
  • I removed all Oracle.DataAccess.dll from the GAC so I’ll be sure my .NET apps we’ll always use the Oracle.DataAccess.dll they reference,
  • I copied the OraOps11w.dll contained in the “C:\oracle\bin” in “C:\oracle\instantclient_11_1”

 

Installing SQL Developer

image

 

Setting-up CodeFluent Entities

Since we removed Oracle.DataAccess.dll from the GAC, we need to place it in CodeFluent Entities directory so the Oracle Database Producer can access it.

 

Hope this helps,

Carl Anderson

How to re-enable the Bing search engine “Narrow by Date” feature…

June 26, 2012 2 comments

Bing is a cool search engine.

When you’re a software publisher and you want to see how is your product seen and talked about on the web, Bing gives results that are more interesting than Google because the armies of little goblins working for Bing are more clever than the armies of little elves working for Google.

These Bing goblins, well educated and smart as they are, are capable of stripping out all the junk content coming from anywhere around the world, copied by infamous robots machines from outer regions, from bogus sites to bogus sites, from ghost content farm to ghost content farm. This bogus content causes some Google searches to become totally irrelevant, with the good information buried among tons of rubbish, at least for the 10 first returned pages.

So, Bing is better for some searches, but Alas! The manager goblins (the elder one with beards) at Bing have decided for no reason to remove the very useful “Narrow By Date” feature. This feature allows to … well… narrow the search by date. It’s very useful when you’re using a search engine to spot the same result regularly and are only interested by the “last” documents indexed, not the one from year 1966 say… (hmmm… I wonder whether those  goblins were active at that date…).

Google has that available, up and ready, in the lower left region of the result page, in the Tools section (although I admit it’s not shown by default). Behind the covers, this Google ‘Narrow By Date’ feature works by using the TBS query string parameter (ok, and for the non-geek readers, cool down, the following should remain in the field of all possibilities).

This is all explained here in details: How to trick Google into Giving you Realtime Search

The good news is Bing also supports this hidden TBS parameter as well! So the trick is easy: just add it manually to the query string and … tadaaaaaa:

Before:

Bing Narrow By Date Missing

After (with the TBS query string parameter added, and the return button pressed):

Bing Narrow By Date

Once the “Narrow By Date” section has appeared it will stay there as long as you continue narrowing by date.

Happy Bing-ing!

June 13th 2012 Links: Windows 8, Visual Studio, .NET 4.5, Windows Azure

June 13, 2012 Leave a comment

Following the steps of Scott Guthrie’s link-listing series, here’s our new batch of links in our own series:

 

Windows 8

Delivering Windows 8 Release Preview

Microsoft announces its final pre-release of Windows 8, Internet Explorer 10, and Windows 8 apps (Hotmail, SkyDrive, Messenger, etc.).

 

Learn to build Metro style apps

Thinking of developing a Windows 8 Metro application? You’ll find all what you need here!

 

A World of Samples at your Fingertips

Microsoft Windows 8 samples

 

Visual Studio

Visual Studio 2012 RC available

Visual Studio 2012 RC is available!

 

A Design with All-Caps

Microsoft’s reasoning about their all-caps menu in Visual Studio 2012 (?!!!).

 

My Favorite Features: Creating Storyboards with PowerPoint

A sweat feature: use PowerPoint to create your Windows 8 Metro app storyboards!

 

Dev

What’s New in the .NET 4.5 Base Class Library

This article covers the big (and some of the small) improvements made to the BCL in the .NET Framework 4.5.

 

Meet the new Windows Azure

Scott Guthrie unveils the new Windows Azure Smile

 

Cheers,

Carl Anderson

Follow

Get every new post delivered to your Inbox.

Join 49 other followers