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

The Morning Brew #1913

AddThis Social Bookmark Button
Information RyuJIT Bug Advisory in the .NET Framework 4.6 – Rich Lander .NET Lifecycle, Roadmap, and Announcements – Joe Irizarry & Reed Robison Getting Started with Windows 10 – Scott Hanselman Differences between Windows 10 Home, Pro, Enterprise and Education Editions – Scott Ge Introducing TypeScript npm nightlies – Jonathan Turner A Complete List of […]

Rx Challenge #8 Solution

AddThis Social Bookmark Button
this post is part of series, the hole series can be found in here. this challenge was all about buffering the data on suspension period and flush it out on resume. the idea is to suspend the observable notification for a while without loosing data. the following diagram show the required functionality Marble Diagram /************************************************* […]

How to display the back button in the Windows Universal APPs title bar ?

AddThis Social Bookmark Button
Windows 10 Apps are universal apps they can be used in any device of any form factor. Normally apps running in windows tablet will be having back button on the screen. But when it comes to windows phone there is a default hardware back button. So the developer has to check what kind of device it [...]

Git Ignore to Untrack TypeScript Auto Generated Files

AddThis Social Bookmark Button
When using TypeScript you really don't want the transpiled output files created from the source .ts file to be committed to the repository. This is because the output could be looked at analogous to the /bin generated files which we all know are not to be committed. The TypeScript auto-generated files (.js and .js.map) will be built independently for each user's source, and only the single .ts file should be committed. 

The only exception I see to this process is if there is a restriction on TypeScript compiling on the server (i.e. CI build server) in which case the actual .js file might have
to be committed. As long as the TypeScript compiler is present for compilation, only the .ts file should be committed.

To ignore the auto-generated .js and .js.map files for a new project the process is quite simple. Just add some rules to the .gitignore file at the root of your project like below and these files will not be tracked.

# Typescript Auto-generated files
# Note: all files must be TS files in this directory or ordinary JS files could be removed
# Modify as needed to preserve files and be more explicit
BowlingSPAWeb/BowlingSPA/app/*.js
BowlingSPAWeb/BowlingSPA/app/*.js.map
BowlingSPAWeb/BowlingSPA/app/controllers/*.js
BowlingSPAWeb/BowlingSPA/app/controllers/*.js.map
BowlingSPAWeb/BowlingSPA/app/services/*.js

A better 404 page and redirects with GitHub Pages

AddThis Social Bookmark Button
A while back I migrated my blog to Jekyll and GitHub Pages. I worked hard to preserve my existing URLs. But the process wasn't perfect. My old blog engine was a bit forgiving about URLs. As long as the URL "slug" was correct, the URL could have any date in it. So there happened to be quite a few non-canonical URLs out in the wild. So what I did was create a 404 page that had a link to log an issue against my blog. GitHub Pages will serve up this page for any file not found errors. Here's
an example of the rendered 404 page. And the 404 issues started to roll in. Great! So what do I do with those issues now? How do I fix them? GitHub Pages fortunately supports the Jekyll Redirect From plugin. For a guide on how to set it up on your GitHub Pages site, check out this GitHub Pages help documentation. Here's an example of my first attempt at front-matter for a blog post on my blog that contains a redirect.
--- layout: post title: "Localizing ASP.NET MVC Validation" date: 2009-12-07 -0800 comments: true disqus_identifier: 18664 redirect_from: "/archive/2009/12/12/localizing-aspnetmvc-validation.aspx" categories: [aspnetmvc localization validation] ---
As you can see, my old...(Read whole news on source site)

St. Louis Office 365 User Group Kick-off Meeting

AddThis Social Bookmark Button
Body:
For those of you in the St. Louis area, we'll be hosting our first ever Office 365 User Group meeting this Thursday, July 30, at 2 p.m. at the Microsoft office at 3 CityPlace Drive, Suite 1100, Creve Coeur, MO 63141​. Anyone is welcome to attend. Please spread the word! If you are interested in becoming a part of the group and can't make it, please contact me and I'll fill you in on the details.
Category: Office 365; Training and Certification
Published: 7/28/2015 8:27 AM

Nick Craver - Why you should wait on upgrading to .Net 4.6

AddThis Social Bookmark Button
Nick Craver - Why you should wait on upgrading to .Net 4.6



We are not upgrading Stack Overflow to .Net 4.6, and you shouldn’t upgrade yet either. You can find the issue we opened on GitHub (for public awareness) here. I will update this post as soon as a fix is relased.



Update #1 (Jul 27th): A pull request has been posted by Matt Michell (Microsoft)


Home