VisualStudioFeeds

All Visual Studio blogs in one place

AddThis Social Bookmark Button
Originally posted on: http://geekswithblogs.net/TATWORTH/archive/2014/04/18/12-little-known-facts-on-css-and-a-free-e-book.aspxAt http://www.sitepoint.com/12-little-known-css-facts, besides some useful facts on CSS by precept and example, there is the offer of a free E-book on HTML5 basics.

The book is available as PDF, MOBI and EPUB. The only catch is that you need a free logon to learnable.com. I am reading the book now.

AddThis Social Bookmark Button
Recall that a WrapPanel stacks controls horizontally until it fills the available space and then wraps to a new line.  (Or stacks vertically and wraps to a new column, if the orientation is vertical). The TabPanel, normally used to display the tabs in a TabControl, behaves a little like the WrapPanel.  But when it decides to wrap to a new line, […]

AddThis Social Bookmark Button
ayendOne of the nice features that Voron got from LMDB is the notion of multi trees. If I recall correctly, LMDB calls them duplicate items, or something like that. Basically, it is the ability to store multiple values for a single key. Those items are actually stored as a nested tree, which effectively gives us a great way to handle duplicates. From an API standpoint, this looks like this:
// store
tree.MultiAdd(tx, "Eini", "users/1");
tree.MultiAdd(tx, "Eini", "users/3");
tree.MultiAdd(tx, "Eini", "users/5");



//read
using(var it = tree.MultiRead(tx, "Eini"))
{
if(it.Seek(Slice.BeforeAllKeys) == false)
yield break;
do
{
yield return it.CurrentKey; // "users/1", "users/3", "users/5"
}while(it.MoveNext());
}
Internally, we handle this in the following fashion: If a multi add operation is the very first such operation, we’ll add it as a simple key/value pair in the tree. If a multi add operation is the 2nd such operation, we’ll create a new tree, and add both operations to the new tree. The original tree will have the key/nested tree reference stored. That lead to a very easy to use API, which is quite useful in many cases....(Read whole news on source site)

AddThis Social Bookmark Button
Originally posted on: http://geekswithblogs.net/TATWORTH/archive/2014/04/18/default-to-https-rather-than-http-for-web-sites.aspxFor a long time I have advocated that my clients use for all their Extranet web sites, whether the information is confidential or not.

Now there is an excellent article by Kent Finley at http://www.wired.com/2014/04/https/, on the Internet switching to HTTPS even for "static context sites". I commend his article to all web developers and administrators

AddThis Social Bookmark Button
My previous two blog posts presented a pair of universal apps named Contoso Cookbook and MyComix Reader. Universal apps are apps that run on Windows and Windows Phone and, in the future, on other devices such as Xbox Ones. When you create a universal app in Visual Studio, the resulting solution contains three projects: a Windows project, a Windows Phone project, and a shared project containing code and resources shared by the other two projects. Typically, the shared project holds source-code files containing components used in the other projects, images and other shared assets, and a
shared App.xaml file (along with App.xaml.cs). The XAML files representing views (as well as the code-behind files accompanying the XAML files) are typically local to the Windows and Windows Phone project, enabling you to skin the app differently for different form factors. Can XAML files representing views be placed in the shared project so they can be used on Windows and Windows Phone? Of course! Sometimes it makes a lot of sense to use the same view in both projects, especially if the UX presented on each platform doesn’t rely on controls that are unique to the platform. Case in...(Read whole news on source site)

AddThis Social Bookmark Button
Originally posted on: http://geekswithblogs.net/TATWORTH/archive/2014/04/18/apress-deal-of-the-day---18apr2014---sql-server.aspx Today's $10 deal of the day from APress at http://www.apress.com/9781430247913 is SQL Server 2012 Data Integration Recipes "SQL Server 2012 Data Integration Recipes provides focused and practical solutions to real world problems of moving data in and out of SQL Server, helping to create robust and resilient ETL environments. "

Search

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Contact

Email:
Subject:
Message:
Anti-spam: How many eyes has a typical person?

Follow us on FB

Home