Visual studio feeds

All Visual Studio blogs in one place

Subscribe

Enter your email address:

Delivered by FeedBurner

Increase your website traffic with Attracta.com

Google+

Contact

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

Follow us on FB

Search

What is new in RavenDB 3.0: Query diagnostics

AddThis Social Bookmark Button
We talked a lot about the changes we made for indexing, now let us talk about the kind of changes we are talking about from the query side of things. More precisely, this is when we start asking questions about our queries. Timing queries. While it is rare that we have slow queries in RavenDB, it does happen, and when it does, we treat it very seriously. However, in the last few cases that we have seen, the actual problem wasn’t with RavenDB, it was with sending the data back to the client when we had a large result set
and large number of documents. In RavenDB 3.0, we have added the ability to get detailed statistics about what is the cost of the query in every stage of the pipeline.
RavenQueryStatistics stats; var users = session.Query("Orders/Totals") .Statistics(out stats) .Customize(x => x.ShowTimings()) .Where(x=>x.Company == "companies/11" || x.Employee == "employees/2") .ToList(); foreach (var kvp in...(Read whole news on source site)

AngularJS Snippets for Sublime, Visual Studio and WebStorm

AddThis Social Bookmark Button
It is nice to have some help to follow your own patterns. That is why I created some simple file templates and snippets that follow my AngularJS Style Guidelines. You can find a series of file templates and snippets for the various editors and IDEs that I use. These include Sublime, Visual Studio and WebStorm. (I may add others over time). Here are templates and/or snippets for some of the web development editors and IDEs. Sublime Text AngularJS snippets that follow these styles and guidelines. Download the Sublime Angular snippets Place it in your Packages folder Restart Sublime In a

O’Reilly Deal on Performance Titles to 05:00 PT 18 September 2014

AddThis Social Bookmark Button
Originally posted on: http://geekswithblogs.net/TATWORTH/archive/2014/09/17/orsquoreilly-deal-on-performance-titles-to-0500-pt-18-september.aspxTo celebrate the Velocity conference, at http://shop.oreilly.com/category/deals/velocity-celebration.do?code=CFVLNY14, O’Reilly are offering 50% off a number of titles. High Performance Browser Networking “How prepared are you to build fast and efficient web applications? This eloquent book provides what every web developer should know about the network, from fundamental limitations that affect performance to major innovations for building even more powerful browser applications—including HTTP 2.0 and XHR improvements, Server-Sent Events (SSE), WebSocket, and WebRTC. ” Even Faster Web Sites “Performance is critical to the success of any web site, and yet
today's web applications push browsers to their limits with increasing amounts of rich content and heavy use of Ajax. In this book, Steve Souders, web performance evangelist at Google and former Chief Performance Yahoo!, provides valuable techniques to help you optimize your site's performance.” High Performance Web Sites “Want your web site to display more quickly? This book presents 14 specific rules that will cut 25% to 50% off response time when users request a page. Author Steve Souders, in his job as Chief Performance Yahoo!, collected these best practices while optimizing some of the most-visited...(Read whole news on source site)

A Xamarin Project

AddThis Social Bookmark Button
Recently, Steve Smith, CTO of Falafel suggested we form a small team to re-write our Falafel2Go application which had been written a year earlier in Xamarin.  The goal was to learn, to demonstrate and to blog about Xamarin Forms.  This … Continue reading → For the complete article and hyperlinks, please visit my blog at http://JesseLiberty.com

What is new in RavenDB 3.0: Indexing enhancements

AddThis Social Bookmark Button
We talked previously about the kind of improvements we have in RavenDB 3.0 for the indexing backend. In this post, I want to go over a few features that are much more visible. Attachment indexing. This is a feature that I am not so hot about, mostly because we want to move all attachment usages to RavenFS. But in the meantime, you can reference the contents of an attachment during index. That can let you do things like store large text data in an attachment, but still make it available for the indexes. That said, there is no tracking of
the attachment, so if it change, the document that referred to it won’t be re-indexed as well. But for the common case where both the attachments and the documents are always changed together, that can be a pretty nice thing to have. Optimized new index creation. In RavenDB 2.5, creating a new index would force us to go over all of the documents in the database, not just the documents that we have in that collection. In many cases, that surprised users, because they expected there to be some sort of physical separation between the collections. In RavenDB 3.0, we changed...(Read whole news on source site)

Creating Checkboxes using Bootstrap and MVC

AddThis Social Bookmark Button
The normal HTML check box just does not look good. Yes, bootstrap has a CSS class that will attempt to at least let it render consistently across browsers, but it still is just the default HTML look. In addition, trying to hit a check box on a mobile phone can sometimes be a little challenging. In an MVC project we are doing for a client, they wanted the check boxes to look more like buttons. Since we were already using bootstrap for this project we were able to create our own check boxes using the “btn-group” class from bootstrap. Let’s walk
through how we created these. Normal Check Boxes As most of you know, creating normal check boxes in MVC is easy to do with the CheckBox HTML helper class. The code below is what you write for creating standard HTML check boxes in MVC:
@using (Html.BeginForm()) {  
    @Html.CheckBox("IsJazz") Jazz     @Html.CheckBox("IsCountry") Country     @Html.CheckBox("IsRock") Rock  
}
Bootstrap Check Boxes With bootstrap you add a
with a class of either “checkbox” or “checkbox-inline” around your check boxes. You also add a

#1,160 – Adding a Text Label to the Circular Progress Control

AddThis Social Bookmark Button
In an earlier post, we created a custom circular progress control, deriving from a Shape element.  Below, we add a text element in the middle of the progress arc to indicate % complete.  We could have also done this by building the text into the control itself.  But the approach shown below is an example of combining the progress control […]

Home