Blog - Title

Visual Studio 2013 Current Status

  • The Ultimate Visual Studio Tips and Tricks Blog

    Visual Studio 2013 Release Candidate Available Today!

    • 0 Comments

    image

     

     

    Hey Folks :)

    Wanted to let you know that the Visual Studio 2013 and Team Foundation Server 2013 Release Candidates were made public today. Here is some guidance and information:

    Please go to Soma’s blog for the main announcement today.

    Action Items:

    - Download Visual Studio 2013 RC

     

    [Update: 9/10/2013]

    You can find more information including new features, platforms and compatibility, and much more here:

    http://msdn.microsoft.com/en-us/library/vstudio/ms165079(v=vs.120).aspx                     

                                                                   

    - Save the date for Visual Studio 2013 Launch on Nov 13th

    Note: Windows Store app development requires Windows 8.1 RTM, which is available to MSDN and TechNet subscribers. Visual Studio 2013 RC does not support Windows 8.1 Preview or Windows Server 2012 R2 Preview. For more information, see system requirements and platform compatibility.

     

     

     

     

     

     

    Direct feedback to the following locations:

    - Connect (for bugs) & VS Feedback Tool (for bugs filed from within VS)

    - UserVoice (for ideas/suggestions)

    - Forums (for Q&A)

    - Support (for in-production use only)

    - You will also have the Send-A-Smile option in the product (the happy face in the upper-right corner), to send general thoughts and sentiment on the release.

  • The Ultimate Visual Studio Tips and Tricks Blog

    SafeNight: Helping Domestic Violence Victims

    • 0 Comments

    Myfriends at Caravan Studios <www.caravanstudios.org>,the newest  division of TechSoup <www.techsoup.org>You can go here for more information:

    http://www.strikingly.com/safenight#1

     

    image

     

     

    Become a member of the community

    Once you've registered with SafeNight, you become a member of the community.  A community who believes that people want to help.  That we can use the resources at our disposal to make change.  A community that believes everyone deserves a violence free life.

     

    Connect with an organization

    Once you've registered, you can connect to a verified domestic violence service organization. These organizations provide shelter and other services to individuals in need.  Once you connect, you will receive requests to sponsor a hotel room when there is an urgent need and no availabe space at a shelter.

     

    Sponsor a hotel stay

    When the organization you are supporting needs help, you will see a notification on your phone.  That lets you know that there is an individual who needs a safe night. By agreeing to sponsor a hotel stay, you give that person a chance to receive additional support in a time of need.

  • The Ultimate Visual Studio Tips and Tricks Blog

    Which version control system should I use in Team Foundation Server 2013: TFVC and GIT Comparison

    • 0 Comments

    I recently had a discussion with a customer about our GIT support. I thought I would share this great documentation for folks who are wondering what our current level of support is and a to compare GIT to the Team Foundation Version Control (TFVC). We want to provide folks the ability to choose the version control systems that suits them best so we offer both centralized (TFVC) and decentralized (GIT) version control alternatives natively in TFS. You can find the documentation below here:

    http://msdn.microsoft.com/en-us/library/ms181368.aspx#tfvc_or_git_summary

     

     

    Which version control system should I use?


    When you create a new team project you choose the version control system your team will use in that project: Team Foundation Version Control (TFVC) or Git. This is a permanent choice for each team project you create, but you can use both TFVC and Git team projects in the same team project collection.

    Connecting to a TFVC team project
     
     

    Team Foundation Version Control (centralized)


    Team Foundation Version Control (TFVC) is a centralized version control system. Typically, Team members have only one version of each file on their dev machines. Historical data is maintained only on the server. Branches are path-based and created on the server.

    TFVC enables two models for your team to make changes:

    • Check out/check in in server workspaces: Before making changes, team members publicly check out a files. Most operations require developers to be connected to the server. (In the past teams blocked more than one person from checking out, but this is now less common.) This system facilitates locking work flows. Other systems that work this way include Visual Source Safe, Perforce, and CVS.

    • Edit and commit from local workspaces: Each team member takes a copy of the latest version of the codebase with them and works offline as needed. Developers check in their changes and resolve conflicts as necessary. Another system that works this way is Subversion.

    Learn more about Team Foundation Version Control (TFVC).

     
     
     

    Git distributed version control (decentralized)


    Git is a decentralized version control system. Each developer has a copy of the entire source repository on their dev machine. Developers can commit each set of changes on their dv machine and perform version control operations such as history and compare without a network connection. Branches are lightweight. When you need to switch contexts, you can quickly create a private local branch. You can quickly switch from one branch to another to pivot among different variations of your codebase. Later, you can merge, publish, or dispose of the branch. Another system that works this way is Mercurial.

    Important note Important

    Git in Visual Studio and TFS is standard Git. You can use Visual Studio with third-party Git services, and you can also use third-party Git clients with TFS.

    Learn more about Git

     

     

     

    Details on the differences between TFVC and Git


    Here’s a comparison chart to help you make a choice between TFVC and Git.

    Capability

    TFVC

    Git

    Alerts

    Team members can receive email alerts when check-ins occur.

    Team members can receive email alerts when commits are pushed to the server.

    Auditability

    Because your team checks in all their work into a centralized system, you can identify which user checked in a changeset and use compare to see what they changed. Looking at a file, you can annotate it to identify who changed a block of code, and when they did it.

    You can identify which user pushed a commit to TFS. (Anyone can claim any identity as the author or committer.) You can identify when changes were made what was changed using history, compare, and annotate.

    Branching

    Path-based branches are used mostly as long-standing constructs to isolate risk of change among feature teams and releases. Team members typically set up an additional workspace for each branch they work on.

    Changes in each branch are independent from each other, so you don’t have to check them in before switching from one branch to another. Merging between sibling branches requires a baseless merging.

    You can get visualizations of your branch structures and where your changesets have been merged.

    See Use branches to isolate risk in Team Foundation Version Control.

    Branching is lightweight and path independent. Many developers create a branch for each new feature they are coding, sometimes on a daily basis. You can quickly switch from one branch to another to pivot among different variations of your codebase. You can create branches that exist only on your dev machine and share them if and when you’re ready.

    You must commit, branch, stash, or undo changes before switching branches. Merging is simple and independent of the commit that the branch is based on.

    You can compare branches to see which commits exist on which branches.

    See Use Git branches to switch contexts, suspend work, and isolate risk.

    Builds (automated by TFBuild)

    You can use all TFBuild capabilities to build any combination of content you want within the team project collection.

    You can use most TFBuild capabilities to build one team project at a time, and one or more repositories at a time. Gated check-in builds aren’t available yet. Symbols can be published, but they are not indexed yet.

    Changes

    Team members can concurrently change files on their dev machines. You upload (check-in) changesets to the server when you create them. You can upload your changes at any time. However, you might be interrupted by conflicts.

    You can change the comment of a changeset after you check it in. You can link changesets to work items and associate them with completed builds.

    Team members can concurrently change files on their dev machines. You create commits on your dev machine independently of contributing them to the team. When you’re ready you must pull the latest commits before you upload (push) yours to the server. When you pull, you might be interrupted by conflicts.

    You cannot change the comment of a commit. You can link commits to work items and associate them with completed builds.

    You can modify and combine commits from the command prompt.

    Code reviews in TFS

    Yes

    Not available yet, but you can comment on and send email about a commit from the web portal.

    CodePlex support

    Yes

    Yes

    Conflict resolution

    You might have to resolve conflicts when you get, check in, merge, or unshelve. You can resolve all types of conflicts in Visual Studio.

    You might have to resolve conflicts when you pull or merge. You can resolve content conflicts in Visual Studio. Other types of conflicts can be resolved from the command prompt.

    File storage

    You can check in large binary files. You might also want to use NuGet in combination or as an alternative.

    You can check in small binary files. You might want to use NuGet as an alternative.

    Files on the client dev machine

    You can browse your files using Source Control Explorer in Visual Studio, or using Windows File Explorer or the command prompt.

    You can browse your files using Windows File Explorer or the command prompt. You cannot yet browse files in Visual Studio.

    Files on the server

    Each team project contains all files under a single root path (for example: $/FabrikamTFVC). You can apply permissions at the file level. You can lock files.

    You can browse your files on the web portal and using Source Control Explorer in Visual Studio.

    Each team project can contain one or more Git repositories and each Git repository can contain one or more branches. The most granular permissions you can apply are to a repository or a branch. Files cannot be locked.

    You can browse your files on the web portal.

    History

    File history is not replicated on the client dev machine and so can be viewed only when you’re connected to the server.

    You can view history in Visual Studio and on the web portal. You can annotate files to see who changed a line, and when they changed it.

    File history is replicated on the client dev machine and can be viewed even when not connected to the server.

    You can view history in Visual Studio and on the web portal. On the web portal you can annotate files to see who changed a line, and when they changed it.

    Manage work on your dev machine

    Pending changes and my work pages

    Changes, commits, and branches pages.

    Migration path

    Git-TF

    Git-TF

    Quality gates

    You can use CI builds, gated check-in builds and check-in policies.

    You can use CI builds. Gated check-in builds aren’t available yet.

    Scale

    You can work on small or very large scale projects using local workspaces. Supports massive scale (millions of files per branch and large binary files) projects using server workspaces.

    You can quickly begin small projects. You can scale up to very large projects, but you have to plan ahead to modularize your codebase. You can create multiple repositories in a team project.

    Suspend your work

    You can suspend from my work page or shelve your changes.

    You can create a branch from (from Visual Studio or the command prompt) from or stash (from the command prompt)

    Tag your files

    You can apply labels to a version of one or more files from either Visual Studio or the command prompt. Each file can have label applied to a different version.

    You can apply tags from the command prompt to individual commits. View tags in the Visual Studio history window.

    Tools

    Client tools: Visual Studio, Eclipse (with Team Explorer Everywhere)

    Server tool: TFS

    Client tools: Visual Studio, Eclipse, and other third-party tools

    Server tools: TFS and third-party services

    User interface

    Visual Studio: Offers all commonly used features and many advanced features.

    TFS web portal: Can browse, comment, annotate, and see history of the codebase.

    TF Command prompt: Installed with Visual Studio. Used for advanced, administrative, and other less common tasks.

    Visual Studio: Offers many commonly used features. Features for some common tasks are not yet available.

    TFS web portal: Can browse, comment, annotate, and see history of the codebase.

    Third-party command prompt: You can install it from Visual Studio. Used for some common and many less common tasks.

    Visual Studio compatibility

    You can use all supported previous versions of Visual Studio.

    You can use Visual Studio 2013 (Git is included) or Visual Studio 2012 Update 3 (you must also install Visual Studio Tools for Git).

    Web portal

    You can browse your codebase (including branches), view history, annotate and comment on changesets and shelvesets, and perform other tasks such as ad hoc downloading of selected parts of your codebase as a .zip file.

    You can browse your codebase, view history, compare branches, annotate and comment on commits, and perform other tasks such as ad hoc downloading of selected parts of your codebase as a .zip file.

  • The Ultimate Visual Studio Tips and Tricks Blog

    Technical Articles for Visual Studio Application Lifecycle Management

    • 0 Comments

    Just came across these the other day and wanted to share below is the information verbatim from http://msdn.microsoft.com/en-us/library/vstudio/ee889983(v=vs.120).aspx

     

    ===

    Welcome to the technical articles for Application Lifecycle Management! These technical articles provide additional resources for you to use when supporting your development efforts with Team Foundation Server. Some provide in-depth technical information about unique scenarios that involve Visual Studio Application Lifecycle Management. Others provide insights into development processes and philosophies from industry experts that you might want to consider when developing your software or working as a team on a software project. These articles represent the viewpoints, opinions, and experience of their individual authors.

     

    Agile Principles

    • Agile Principles and Values, by Jeff Sutherland. Jeff Sutherland provides an overview of the Agile principles as defined in the Manifesto for Agile Software Development.

    • Ten Year Agile Retrospective: How We Can Improve in the Next Ten Years by Jeff Sutherland. Ten years after the publication of the Agile Manifesto, Jeff Sutherland describes the successes of Agile and pinpoints four key success factors for the next ten years.

    • Done and Undone by Ken Schwaber and David Starr. Delivering a done increment is critical to being successful with agile software development. Using both real-world and theoretical examples, the authors demonstrate the difference between perception of "done" and the reality of "done," and how that affects the success of a project. Using these examples, the authors go on to demonstrate tools and strategies that can help teams start with a definition of done that makes sense for them, and methods to help teams communicate dependencies, status, and the meaning of "done."

     

     

    Agile Practices

    • Building and Managing the Product Backlog by Mitch Lacey. A good product backlog is at the heart of any well-functioning agile team. In this article, Mitch Lacey explains the importance of a product backlog, describes what makes a good backlog, and provides some best practices for creating and maintaining your backlog.

    • Prioritization by Mitch Lacey. In this article, Mitch Lacey discusses three methods that have proven very beneficial for many Agile teams: the Kano Model of Customer Satisfaction, a series of Innovation Games by Luke Hohmann, and Karl Weigers’ Relative Weighting model. He describes how any of these methods can help you move from rough prioritization of your backlog to a precise ordering that satisfactorily weighs risk, importance, and customer satisfaction.

    • Estimating by Mitch Lacey. Mitch Lacey discusses the difficulty surrounding software project estimation, and provides tips and tricks for using two agile software estimation techniques when teams are estimating projects.

    • Sprint Planning by Mitch Lacey. Sprint planning does not need to be challenging. In this article, the author provides examples and strategies for keeping sprint planning focused and effective, and detail potential solutions to common problems teams encounter when planning a sprint.

    • Effective Sprint Retrospectives by David Starr. Going beyond techniques, this article offers ways to maintain and improve the practice and results of Retrospectives.

    • Distributed Scrum by David Starr. Distributed teams often struggle with consistent, timely, and effective communication. In this article, David Starr explains how Scrum offers a container in which different types of distributed teams can improve and succeed.

    • Enterprise Agile: Using TFS to support portfolio backlogs across multiple teams by Gregg Boer. Learn how TFS can be configured to support a portfolio of backlogs which provides automatic roll-up and management insight into work across multiple teams.

     

     

    Lean and CMMI

    • Lean Software Development by David J. Anderson. David J. Anderson describes Lean Software Development, its history, and how it can be used by software development project teams.

    • CMMI Principles and Values by David J. Anderson. The concept that an organization can be appraised at a particular maturity level and that this is an indicator of capability to deliver reliable work to the government is a matter of ongoing debate. In this article, David J. Anderson makes a case for Capability Maturity Model Integration (CMMI) and describes how it provides valuable insights for managers, process engineers and all external stakeholders including customers, investors, governance bodies and auditors.

    • The Lean of Scrum by David Starr. In this article, learn about the inherent Lean qualities of the Scrum framework along with various ways to help Scrum Teams improve using Lean Thinking.

     

     

    Development Approaches

    • Microsoft Solutions Framework (MSF) Overview . In this article, learn about the Microsoft Solutions Framework (MSF), an adaptable approach for successfully delivering technology solutions faster, with fewer people and less risk, while enabling higher quality results.

    • Application Analytics: What Every Developer Should Know by Sebastian Holst. In this article, Sebastian Holst discusses the objectives and advantages of application analytics.

    • Exploratory Software Testing by James Whittaker. In this article, an excerpt from his book Exploratory Software Testing: Tips, tricks, tours and techniques to guide test design, James Whittaker discusses goals, advantages, and approaches to exploratory software testing.

    ===

  • The Ultimate Visual Studio Tips and Tricks Blog

    On Vacation

    • 0 Comments

    Folks I will be on vacation until 8/5. See you all in a couple of weeks :)

     

    p.s. Unfortunately I’m not going to the great place shown in the picture…

  • The Ultimate Visual Studio Tips and Tricks Blog

    Visual Studio 2013: IntelliSense

    • 0 Comments

    I’m back! Vacation was great but now I’m ready to get back into the swing of things. I thought we would get things going again with a look at two features of IntelliSense: Pascal Case and keywords.

     

     

    Pascal Case

    This is one of my favorite features! Have you ever been in a situation where you wanted to use IntelliSense to get a method but there are a TON of methods that start with same word and you have to type almost the entire method name:

    5-17-2012 10-19-20 AM

     

    Let's say you want the SetWindowSize Method but really, really don't want to type it out or even scroll down to get the method.  IntelliSense supports Pascal Case.  All you have to do is type "SWS":

    5-17-2012 10-51-08 AM

     

    This is true in a number of areas within Visual Studio now so feel free to try this in other areas (i.e. the search dialog in Solution Explorer).

     

     

     

    Keywords

    To show you the new feature, let’s take a look, way back, at VS2008 IntelliSense.  Notice when I type Console.Key what happens:

    image

     

    IntelliSense used to be this huge alphabetical list and would just show you whatever begins with the keyword you were typing at the time. In this example, it takes me to the “key” area in the list. Notice that it then continues into the “L” and “M” and so forth. That’s great but what if I don’t know what I am looking for but I know that it has the word “key” somewhere in it?  Well, I can go search in the Object Browser, of course or I can use keyword feature that was introduced with IntelliSense for VS2010.  Watch what happens when I do the same thing in the VS2013 editor:

    5-17-2012 10-14-39 AM

     

    It now shows only those items that have the word “key” in them AND doesn’t care where the word is in the name of the member!  So not only do it get items that begin with “Key” but I get ANYTHING that has the word “key” in it.

     

     

     

    Finally

    There are some great hidden gems in the editor and these are just a couple of them. Stay tuned for many more goodies to come.

  • The Ultimate Visual Studio Tips and Tricks Blog

    Visual Studio 2013 Preview: Navigate To

    • 0 Comments

    You can use Navigate To to search for objects, definitions, or references (symbols) in a solution. If you happen to remember the old Navigate To dialog box then you know it was useful but blocked your view of the code:

    5-16-2012 12-25-54 PM

     

    The new Navigate To dialog is much less intrusive. Just press CTRL+,[comma] to see the new dialog:

    5-16-2012 12-33-33 PM

     

    The Navigate To experience will look one of two ways while you are using it. If the symbol is in any open document the relevant line will be highlighted within it:

    5-16-2012 12-50-22 PM

     

    If the symbol is not in an open document then it will show up in the Preview Tab:

    5-16-2012 1-01-17 PM

     

    There is only one search option when using Navigate To that will include (or exclude) external items:

    5-16-2012 1-14-47 PM

     

    At any time you can press ESC to close Navigate To and go back to your original code.

  • The Ultimate Visual Studio Tips and Tricks Blog

    InRelease for Visual Studio 2013 Preview Now Available

    • 0 Comments

     

    In case you haven’t heard we acquired InCycle’s InRelease Business Unit. Here is information on InRelease from the website (http://www.incyclesoftware.com/inrelease/):

    ===

    InRelease is a Continuous Delivery solution for .NET teams that automates the release process from Visual Studio Team Foundation Server (TFS) up to production for faster and simpler deliveries. With pre-defined release paths, InRelease automatically deploys your application as a whole to multiple environments. Based on a business-approval workflow, InRelease improves coordination and communication between development, operations and quality assurance to make release cycles repeatable, visible, and more efficient.

    ===

     

    More interesting is the information from Brian Harry (http://blogs.msdn.com/b/bharry/archive/2013/07/10/inrelease-acquisition-is-complete.aspx):

    [NOTE: Extra space added by me]

    ===

    At TechEd, in early June, I announced our agreement to acquire InRelease – a release management product built specifically for Team Foundation Server by InCycle Software.  Since then, we’ve received tons of requests for more information, demos, etc.  Unfortunately, we’ve only been able to point people at InCycle because the acquisition was not final.  I’m happy to say that about a week ago we closed the acquisition and InRelease is now a part of Microsoft.

     

    That doesn’t mean we can start selling it right away.  There are a number of things that have to happen in order to enable that – getting it on our price lists, shipping a version that is properly branded, serviceable, etc.  All of that will take a few months but there are some good options for you in the interim.  Let me share some of them.

     

    • We are providing a preview of our future Release Management product today.  It’s basically the existing InRelease product with some minimal changes to meet some of our compliance requirements.  You can download it here.  You can also read the InRelease Preview User Guide and ask questions on the forum.

     

    • InCycle Consulting will continue as an independent company and, until we ship the first fully Microsoft product, will continue to provide trials and sell the InRelease product.  Customers who purchase now will be provided a free upgrade to the Microsoft shipped version when it is available.  This is a good way to get started now and be sure that you also have a good path forward.

     

    Hopefully these two paths will solve everyone’s needs while finish up the changes we need to make.

     

    I also want to say a few words about licensing so you, at least, have a little context on what to expect.  We are not ready to announce pricing but I can share a bit about the structure of the licensing.

    • The InRelease release management authoring components will be included in Visual Studio Test Professional, Visual Studio Premium and Visual Studio Ultimate.
    • Everything needed to participate in a release process (as opposed to configuring it) will be included in the Team Foundation Server CAL.
    • The InRelease server components will be integrated into Team Foundation Server 2013.
    • The InRelease deployers (which are required for each node you deploy on) will continue to be licensed separately.

    For now, we are focused on getting InRelease integrated into our on premises product.  We will also support our cloud service but that will come a bit later.

     

    Please give it a try and give us any feedback you have.  As you might imagine, we are currently working on developing and prioritizing our backlog.

    Thanks,

    Brian

    ===

  • The Ultimate Visual Studio Tips and Tricks Blog

    ASP.NET and Web Tools 2012.2

    • 0 Comments

    From http://www.asp.net/vnext

     

    ASP.NET and Web Tools 2012.2 is a tooling refresh of Visual Studio 2012 that extends the existing ASP.NET runtime with new features without breaking existing applications. ASP.NET and Web Tools 2012.2 installs in minutes without altering the current ASP.NET run time components. Click the green button to download and install right now. For a complete description see the Release Notes or watch the video. This .2 update adds a number of new templates and features including:

    • Enhancements to Web Publishing
    • New Web API functionality
    • New templates for Facebook Application and Single Page Application
    • Real-time communication via ASP.NET SignalR
    • Extensionless Web Forms via ASP.NET Friendly URLs
    • Support for the new Windows Azure Authentication

     

    Download ASP.NET and Web Tools 2012.2 Today!

     

     

    From the Release Notes at http://www.asp.net/vnext/overview/fall-2012-update/aspnet-and-web-tools-20122-release-notes-rtw

    New Features in ASP.NET and Web Tools 2012.2

    This section describes features that have been introduced in the ASP.NET and Web Tools 2012.2 release.

    Tooling
    • Page Inspector
    • Editor
      • Support syntax highlighting for CoffeeScript, Mustache, Handlebars, and JsRender.
      • The HTML editor provides Intellisense for Knockout bindings.
      • LESS editing and compiler support to enable building dynamic CSS using LESS.
      • Paste JSON as a .NET class. Using this Special Paste command to paste JSON into a C# or VB.NET code file, and Visual Studio will automatically generate .NET classes inferred from the JSON.
    • Mobile Emulator support adds extensibility hooks so that third-party emulators can be installed as a VSIX. The installed emulators will show up in the F5 dropdown, so that developers can preview their websites on a variety of mobile devices. Read more about this feature in Scott Hanselman’s blog entry on the new BrowserStack integration with Visual Studio.
     
    Web Publishing
    • Web site projects now have the same publishing experience as Web Application projects including publishing to Windows Azure Web Sites.
    • Selective publish – for one or more files you can perform the following actions (after publishing to a Web Deploy endpoint):
      • Publish selected files.
      • See the difference between a local file and a remote file.
      • Update the local file with the remote file or update the remote file with the local file.
     
    ASP.NET MVC Templates
    • The new Facebook Application template makes writing Facebook Canvas applications easy. In a few simple steps, you can create a Facebook application that gets data from a logged in user and integrates with their friends. The template includes a new library to take care of all the plumbing involved in building a Facebook app, including authentication, permissions, accessing Facebook data and more. For more information on using the Facebook Application template see http://go.microsoft.com/fwlink/?LinkID=269921.
    • A new Single Page Application MVC template allows developers to build interactive client-side web apps using HTML 5, CSS 3, and the popular Knockout and jQuery JavaScript libraries, on top of ASP.NET Web API. The template includes a “todo” list application that demonstrates common practices for building a JavaScript HTML5 application that uses a RESTful server API. You can read more at http://www.asp.net/single-page-application.
    • You can now create a VSIX that adds new templates to the ASP.NET MVC New Project dialog. Learn how here: http://go.microsoft.com/fwlink/?LinkId=275019
    • FixedDisplayModes package – MVC project templates have been updated to include the new ‘FixedDisplayModes’ NuGet package, which contains a workaround for a bug in MVC 4. For more information on the fix contained in the package, refer to this blog post (http://blogs.msdn.com/b/rickandy/archive/2012/09/17/asp-net-mvc-4-mobile-caching-bug-fixed.aspx) from the MVC team.
     
    ASP.NET Web API

    ASP.NET Web API has been enhanced with several new features:

    • ASP.NET Web API OData
    • ASP.NET Web API Tracing
    • ASP.NET Web API Help Page
     

    ASP.NET Web API OData

    ASP.NET Web API OData gives you the flexibility you need to build OData endpoints with rich business logic over any data source. With ASP.NET Web API OData you control the amount of OData semantics that you want to expose. ASP.NET Web API OData is included with the ASP.NET MVC 4 project templates and is also available from NuGet (http://www.nuget.org/packages/microsoft.aspnet.webapi.odata).

    ASP.NET Web API OData currently supports the following features:

    • Enable OData query semantics by applying the [Queryable] attribute.
    • Easily validate OData queries and restrict the set of supported query options, operators and functions.
    • Parameter bind to ODataQueryOptions directly to get an abstract syntax tree representation of the query that can then be validated and applied to an IQueryable or IEnumerable.
    • Enable service-driven paging and next page link generation by specifying result limits on [Queryable] attribute.
    • Request an inlined count of the total number of matching resources using $inlinecount.
    • Control null propagation.
    • Any/All operators in $filter.
    • Infer an entity data model by convention or explicitly customize a model in a manner similar to Entity Framework Code-First.
    • Expose entity sets by deriving from EntitySetController.
    • Simple, customizable conventions for exposing navigation properties, manipulating links and implementing OData actions.
    • Simplified routing using the MapODataRoute extension method.
    • Support for versioning by exposing multiple EDM models.
    • Expose service document and $metadata so you can generate clients (.NET, Windows Phone, Windows Store, etc.) for your Web API.
    • Support for the OData Atom, JSON, and JSON verbose formats.
    • Create, update, partially update (PATCH) and delete entities.
    • Query and manipulate relationships between entities.
    • Create relationship links that wire up to your routes.
    • Complex types.
    • Entity Type Inheritance.
    • Collection properties.
    • Enums.
    • OData actions.
    • Built upon the same foundation as WCF Data Services, namely ODataLib (http://www.nuget.org/packages/microsoft.data.odata).

    For more information on ASP.NET Web API OData see http://go.microsoft.com/fwlink/?LinkId=271141.

     

    ASP.NET Web API Tracing

    ASP.NET Web API Tracing integrates tracing data from your web APIs with .NET Tracing. It is now enabled by default in the Web API project template. Tracing data for your web APIs is sent to the Output window and is made available through IntelliTrace. ASP.NET Web API Tracing enables you to trace information about your Web API when hosted on Windows Azure through integration with Windows Azure Diagnostics. You can also install and enable ASP.NET Web API Tracing in any application using the ASP.NET Web API Tracing NuGet package (http://www.nuget.org/packages/microsoft.aspnet.webapi.tracing).

    For more information on configuring and using ASP.NET Web API Tracing see http://go.microsoft.com/fwlink/?LinkID=269874.

     

    ASP.NET Web API Help Page

    The ASP.NET Web API Help Page is now included by default in the Web API project template. The ASP.NET Web API Help Page automatically generates documentation for web APIs including the HTTP endpoints, the supported HTTP methods, parameters and example request and response message payloads. Documentation is automatically pulled from comments in your code. You can also add the ASP.NET Web API Help Page to any application using the ASP.NET Web API Help Page NuGet package (http://www.nuget.org/packages/microsoft.aspnet.webapi.helppage).

    For more information on setting up and customizing the ASP.NET Web API Help Page see http://go.microsoft.com/fwlink/?LinkId=271140.

    ASP.NET SignalR

    ASP.NET SignalR makes it simple to add real-time web capabilities to your ASP.NET application, using WebSockets if available and automatically falling back to other techniques when it isn’t.

    For more information on using ASP.NET SignalR see http://go.microsoft.com/fwlink/?LinkId=271271.

    ASP.NET Friendly URLs

    ASP.NET FriendlyURLs makes it very easy for web forms developers to generate cleaner looking URLs(without the .aspx extension). It requires little to no configuration and can be used with existing ASP.NET v4.0 applications. The FriendlyURLs feature also makes it easier for developers to add mobile support to their applications, by supporting switching between desktop and mobile views.

    For more information on installing and using ASP.NET Friendly URLs see http://www.hanselman.com/blog/IntroducingASPNETFriendlyUrlsCleanerURLsEasierRoutingAndMobileViewsForASPNETWebForms

  • The Ultimate Visual Studio Tips and Tricks Blog

    TFS 2012 Update 1: Permissions lost on attaching a collection–fix available

    • 0 Comments

    I’ve had some customers that are experiencing this issue so wanted to get it out more broadly in case you are having similar problems.  Buck Hodges has written a blog post on symptoms and resolution here:

    http://blogs.msdn.com/b/visualstudioalm/archive/2012/12/21/tfs-2012-update-1-permissions-lost-on-attaching-a-collection-fix-available-in-early-january.aspx

     

    The KB article can be found here:

    http://support.microsoft.com/kb/2803625

     

    There are several other issues fixed with this TFS Update.  Here is the list of issues that are fixed (for more detail go to the KB article):

    Issue 1: Collections that are attached to a server that is running TFS 2012 Update 1 may lose permissions

     

    Issue 2: Group scopes may incorrectly cause permission errors

     

    Issue 3: Severe decrease in performance after TFS 2012 Update 1 is installed

     

    Issue 4: Identity sync jobs may fail repeatedly

     

    Issue 5: Warehouse is not updated correctly, or fields that represent a person are not filled

     

    Issue 6: Users can see names of collections of which they are not a member

     

    Issue 7: You cannot remove a user or a group after you attach a collection to a TFS 2012 Update 1 server

     

    Issue 8: You cannot view artifacts that reference an identity that is no longer a part of a collection

Page 134 of 135 (1,345 items) «131132133134135